k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
694 B
30 lines
694 B
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: nginx-proxy
|
|
namespace: {{system_namespace}}
|
|
labels:
|
|
k8s-app: kube-nginx
|
|
spec:
|
|
hostNetwork: true
|
|
containers:
|
|
- name: nginx-proxy
|
|
image: {{ nginx_image_repo }}:{{ nginx_image_tag }}
|
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
|
resources:
|
|
limits:
|
|
cpu: {{ nginx_cpu_limit }}
|
|
memory: {{ nginx_memory_limit }}
|
|
requests:
|
|
cpu: {{ nginx_cpu_requests }}
|
|
memory: {{ nginx_memory_requests }}
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- mountPath: /etc/nginx
|
|
name: etc-nginx
|
|
readOnly: true
|
|
volumes:
|
|
- name: etc-nginx
|
|
hostPath:
|
|
path: /etc/nginx
|