22 lines
515 B
Smarty
22 lines
515 B
Smarty
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}"
|