fieldRef:
fieldPath: status.podIP
command:
- - /usr/local/bin/etcd
+ - /usr/local/bin/etcd
args:
- - --name=calico
- - --data-dir=/var/etcd/calico-data
- - --advertise-client-urls=http://$(CALICO_ETCD_IP):6666
- - --listen-client-urls=http://0.0.0.0:6666
- - --listen-peer-urls=http://0.0.0.0:6667
- - --auto-compaction-retention=1
+ - --name=calico
+ - --data-dir=/var/etcd/calico-data
+ - --advertise-client-urls=http://$(CALICO_ETCD_IP):6666
+ - --listen-client-urls=http://0.0.0.0:6666
+ - --listen-peer-urls=http://0.0.0.0:6667
+ - --auto-compaction-retention=1
volumeMounts:
- name: var-etcd
mountPath: /var/etcd