Add private CIDR for calico
This commit is contained in:
21
templates/calico.yaml.tpl
Normal file
21
templates/calico.yaml.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
kind: DaemonSet
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: calico-node
|
||||
namespace: kube-system
|
||||
labels:
|
||||
k8s-app: calico-node
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
# Used to install Flex Volume Driver
|
||||
- name: flexvol-driver-host
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: /var/lib/kubelet/volumeplugins/nodeagent~uds
|
||||
containers:
|
||||
- name: calico-node
|
||||
env:
|
||||
- name: CALICO_IPV4POOL_CIDR
|
||||
value: "${cluster_cidr_ipv4}"
|
Reference in New Issue
Block a user