blob: 0c8f04f52f707d2ab727830b76661bbcca7ae3fc [file] [log] [blame]
Mohammed Naser336caf42022-03-11 17:56:45 -05001apiVersion: v1
2kind: Pod
3metadata:
4 name: haproxy
5 namespace: kube-system
6spec:
7 containers:
8 - image: haproxy:2.5
9 name: haproxy
10 livenessProbe:
11 failureThreshold: 8
12 httpGet:
13 host: localhost
14 path: /healthz
15 port: 6443
16 scheme: HTTPS
17 volumeMounts:
18 - mountPath: /usr/local/etc/haproxy/haproxy.cfg
19 name: haproxyconf
20 readOnly: true
21 hostNetwork: true
22 volumes:
23 - hostPath:
24 path: /etc/haproxy/haproxy.cfg
25 type: FileOrCreate
26 name: haproxyconf
27status: {}