--- apiVersion: apps/v1 kind: Deployment metadata: name: auto-pause namespace: kube-system labels: app: auto-pause spec: replicas: 1 selector: matchLabels: app: auto-pause template: metadata: creationTimestamp: null labels: app: auto-pause spec: volumes: - name: ha-cfg hostPath: path: /var/lib/minikube/haproxy.cfg type: File - name: lua-script hostPath: path: /var/lib/minikube/unpause.lua type: File containers: - name: auto-pause image: "haproxy:2.3.5" ports: - name: https containerPort: 6443 hostPort: 32443 protocol: TCP volumeMounts: - name: ha-cfg mountPath: /usr/local/etc/haproxy/haproxy.cfg readOnly: true - name: lua-script mountPath: /etc/haproxy/unpause.lua ---