github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/glusterfs-k8s/templates/gluster-healthz-daemonset.yaml (about) 1 kind: DaemonSet 2 apiVersion: apps/v1 3 metadata: 4 name: gluster-healthz 5 namespace: kube-system 6 labels: 7 app: gluster-healthz 8 spec: 9 selector: 10 matchLabels: 11 app: gluster-healthz 12 template: 13 metadata: 14 labels: 15 app: gluster-healthz 16 annotations: 17 kismatic/version: "{{ kismatic_short_version }}" 18 spec: 19 containers: 20 - name: tcp-healthz 21 image: "{{ images.apprenda_tcp_healthz }}" 22 command: ["/exechealthz"] 23 args: 24 - -port=8081 25 - -cmd=/tcp-healthz-amd64 --ports 111,2049,38465,38466,38468,38469 26 ports: 27 - containerPort: 8081 28 protocol: TCP 29 readinessProbe: 30 httpGet: 31 path: /healthz 32 port: 8081 33 initialDelaySeconds: 5 34 timeoutSeconds: 2 35 hostNetwork: true 36 nodeSelector: 37 kismatic/storage: "true"