03bcfa7ff5
Kubernetes makes this namespace automatically, so there is no need for kubespray to manage it.
31 lines
828 B
Django/Jinja
31 lines
828 B
Django/Jinja
---
|
|
kind: DaemonSet
|
|
apiVersion: extensions/v1beta1
|
|
metadata:
|
|
name: contiv-etcd-proxy
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: contiv-etcd-proxy
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: contiv-etcd-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
k8s-app: contiv-etcd-proxy
|
|
annotations:
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
spec:
|
|
hostNetwork: true
|
|
hostPID: true
|
|
containers:
|
|
- name: contiv-etcd-proxy
|
|
image: {{ contiv_etcd_image_repo }}:{{ contiv_etcd_image_tag }}
|
|
env:
|
|
- name: ETCD_LISTEN_CLIENT_URLS
|
|
value: 'http://127.0.0.1:{{ contiv_etcd_listen_port }}'
|
|
- name: ETCD_PROXY
|
|
value: "on"
|
|
- name: ETCD_INITIAL_CLUSTER
|
|
value: '{{ contiv_etcd_endpoints }}'
|