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.

34 lines
923 B

6 years ago
  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. spec:
  18. {% if kube_version is version('v1.11.1', '>=') %}
  19. priorityClassName: system-node-critical
  20. {% endif %}
  21. hostNetwork: true
  22. hostPID: true
  23. nodeSelector:
  24. node-role.kubernetes.io/node: ""
  25. containers:
  26. - name: contiv-etcd-proxy
  27. image: {{ contiv_etcd_image_repo }}:{{ contiv_etcd_image_tag }}
  28. env:
  29. - name: ETCD_LISTEN_CLIENT_URLS
  30. value: 'http://127.0.0.1:{{ contiv_etcd_listen_port }}'
  31. - name: ETCD_PROXY
  32. value: "on"
  33. - name: ETCD_INITIAL_CLUSTER
  34. value: '{{ contiv_etcd_endpoints }}'