Initial commit with basic Molecule
Change-Id: If55c8b62cb219e575857ba5395a48ddac5973e01
diff --git a/roles/kubernetes/files/haproxy.yaml b/roles/kubernetes/files/haproxy.yaml
new file mode 100644
index 0000000..0c8f04f
--- /dev/null
+++ b/roles/kubernetes/files/haproxy.yaml
@@ -0,0 +1,27 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: haproxy
+ namespace: kube-system
+spec:
+ containers:
+ - image: haproxy:2.5
+ name: haproxy
+ livenessProbe:
+ failureThreshold: 8
+ httpGet:
+ host: localhost
+ path: /healthz
+ port: 6443
+ scheme: HTTPS
+ volumeMounts:
+ - mountPath: /usr/local/etc/haproxy/haproxy.cfg
+ name: haproxyconf
+ readOnly: true
+ hostNetwork: true
+ volumes:
+ - hostPath:
+ path: /etc/haproxy/haproxy.cfg
+ type: FileOrCreate
+ name: haproxyconf
+status: {}