|
@ -148,14 +148,21 @@ spec: |
|
|
name: canal-config |
|
|
name: canal-config |
|
|
key: etcd_endpoints |
|
|
key: etcd_endpoints |
|
|
# Disable Calico BGP. Calico is simply enforcing policy. |
|
|
# Disable Calico BGP. Calico is simply enforcing policy. |
|
|
- name: CALICO_NETWORKING |
|
|
|
|
|
value: "false" |
|
|
|
|
|
|
|
|
- name: CALICO_NETWORKING_BACKEND |
|
|
|
|
|
value: "none" |
|
|
# Cluster type to identify the deployment type |
|
|
# Cluster type to identify the deployment type |
|
|
- name: CLUSTER_TYPE |
|
|
- name: CLUSTER_TYPE |
|
|
value: "kubespray,canal" |
|
|
value: "kubespray,canal" |
|
|
# Disable file logging so `kubectl logs` works. |
|
|
# Disable file logging so `kubectl logs` works. |
|
|
- name: CALICO_DISABLE_FILE_LOGGING |
|
|
- name: CALICO_DISABLE_FILE_LOGGING |
|
|
value: "true" |
|
|
value: "true" |
|
|
|
|
|
# Set noderef for node controller. |
|
|
|
|
|
- name: CALICO_K8S_NODE_REF |
|
|
|
|
|
valueFrom: |
|
|
|
|
|
fieldRef: |
|
|
|
|
|
fieldPath: spec.nodeName |
|
|
|
|
|
- name: FELIX_HEALTHENABLED |
|
|
|
|
|
value: "true" |
|
|
# Etcd SSL vars |
|
|
# Etcd SSL vars |
|
|
- name: ETCD_CA_CERT_FILE |
|
|
- name: ETCD_CA_CERT_FILE |
|
|
valueFrom: |
|
|
valueFrom: |
|
@ -178,6 +185,18 @@ spec: |
|
|
fieldPath: spec.nodeName |
|
|
fieldPath: spec.nodeName |
|
|
securityContext: |
|
|
securityContext: |
|
|
privileged: true |
|
|
privileged: true |
|
|
|
|
|
livenessProbe: |
|
|
|
|
|
httpGet: |
|
|
|
|
|
path: /liveness |
|
|
|
|
|
port: 9099 |
|
|
|
|
|
periodSeconds: 10 |
|
|
|
|
|
initialDelaySeconds: 10 |
|
|
|
|
|
failureThreshold: 6 |
|
|
|
|
|
readinessProbe: |
|
|
|
|
|
httpGet: |
|
|
|
|
|
path: /readiness |
|
|
|
|
|
port: 9099 |
|
|
|
|
|
periodSeconds: 10 |
|
|
volumeMounts: |
|
|
volumeMounts: |
|
|
- mountPath: /lib/modules |
|
|
- mountPath: /lib/modules |
|
|
name: lib-modules |
|
|
name: lib-modules |
|
|