2017-12-06 01:06:52 +00:00
|
|
|
---
|
|
|
|
kind: DaemonSet
|
2019-09-10 19:06:55 +00:00
|
|
|
apiVersion: apps/v1
|
2017-12-06 01:06:52 +00:00
|
|
|
metadata:
|
|
|
|
name: contiv-etcd-proxy
|
2018-03-30 11:29:13 +00:00
|
|
|
namespace: kube-system
|
2017-12-06 01:06:52 +00:00
|
|
|
labels:
|
|
|
|
k8s-app: contiv-etcd-proxy
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
k8s-app: contiv-etcd-proxy
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: contiv-etcd-proxy
|
|
|
|
spec:
|
2018-09-25 14:50:22 +00:00
|
|
|
priorityClassName: system-node-critical
|
2017-12-06 01:06:52 +00:00
|
|
|
hostNetwork: true
|
2019-06-05 10:17:56 +00:00
|
|
|
dnsPolicy: ClusterFirstWithHostNet
|
2017-12-06 01:06:52 +00:00
|
|
|
hostPID: true
|
2019-04-29 06:36:19 +00:00
|
|
|
affinity:
|
2020-06-29 19:39:59 +00:00
|
|
|
nodeAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
nodeSelectorTerms:
|
|
|
|
- matchExpressions:
|
|
|
|
- key: node-role.kubernetes.io/master
|
|
|
|
operator: DoesNotExist
|
2017-12-06 01:06:52 +00:00
|
|
|
containers:
|
|
|
|
- name: contiv-etcd-proxy
|
|
|
|
image: {{ contiv_etcd_image_repo }}:{{ contiv_etcd_image_tag }}
|
|
|
|
env:
|
|
|
|
- name: ETCD_LISTEN_CLIENT_URLS
|
2017-12-14 02:35:12 +00:00
|
|
|
value: 'http://127.0.0.1:{{ contiv_etcd_listen_port }}'
|
2017-12-06 01:06:52 +00:00
|
|
|
- name: ETCD_PROXY
|
|
|
|
value: "on"
|
|
|
|
- name: ETCD_INITIAL_CLUSTER
|
2017-12-14 02:35:12 +00:00
|
|
|
value: '{{ contiv_etcd_endpoints }}'
|