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.

38 lines
1.1 KiB

  1. ---
  2. kind: DaemonSet
  3. apiVersion: apps/v1
  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. priorityClassName: system-node-critical
  19. hostNetwork: true
  20. dnsPolicy: ClusterFirstWithHostNet
  21. hostPID: true
  22. affinity:
  23. nodeAffinity:
  24. requiredDuringSchedulingIgnoredDuringExecution:
  25. nodeSelectorTerms:
  26. - matchExpressions:
  27. - key: node-role.kubernetes.io/master
  28. operator: DoesNotExist
  29. containers:
  30. - name: contiv-etcd-proxy
  31. image: {{ contiv_etcd_image_repo }}:{{ contiv_etcd_image_tag }}
  32. env:
  33. - name: ETCD_LISTEN_CLIENT_URLS
  34. value: 'http://127.0.0.1:{{ contiv_etcd_listen_port }}'
  35. - name: ETCD_PROXY
  36. value: "on"
  37. - name: ETCD_INITIAL_CLUSTER
  38. value: '{{ contiv_etcd_endpoints }}'