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.

31 lines
828 B

  1. ---
  2. kind: DaemonSet
  3. apiVersion: extensions/v1beta1
  4. metadata:
  5. name: contiv-etcd-proxy
  6. namespace: kube-system
  7. labels:
  8. k8s-app: contiv-etcd-proxy
  9. spec:
  10. selector:
  11. matchLabels:
  12. k8s-app: contiv-etcd-proxy
  13. template:
  14. metadata:
  15. labels:
  16. k8s-app: contiv-etcd-proxy
  17. annotations:
  18. scheduler.alpha.kubernetes.io/critical-pod: ''
  19. spec:
  20. hostNetwork: true
  21. hostPID: true
  22. containers:
  23. - name: contiv-etcd-proxy
  24. image: {{ contiv_etcd_image_repo }}:{{ contiv_etcd_image_tag }}
  25. env:
  26. - name: ETCD_LISTEN_CLIENT_URLS
  27. value: 'http://127.0.0.1:{{ contiv_etcd_listen_port }}'
  28. - name: ETCD_PROXY
  29. value: "on"
  30. - name: ETCD_INITIAL_CLUSTER
  31. value: '{{ contiv_etcd_endpoints }}'