mirror of https://github.com/kubernetes/kops.git
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
apiVersion: extensions/v1beta1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: kopeio-networking-agent
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-addon: networking.kope.io
|
|
role.kubernetes.io/networking: "1"
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: kopeio-networking-agent
|
|
role.kubernetes.io/networking: "1"
|
|
annotations:
|
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
|
|
spec:
|
|
hostPID: true
|
|
hostIPC: true
|
|
hostNetwork: true
|
|
containers:
|
|
- resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
limits:
|
|
memory: 100Mi
|
|
securityContext:
|
|
privileged: true
|
|
image: kopeio/networking-agent:1.0.20180319
|
|
name: networking-agent
|
|
volumeMounts:
|
|
- name: lib-modules
|
|
mountPath: /lib/modules
|
|
readOnly: true
|
|
volumes:
|
|
- name: lib-modules
|
|
hostPath:
|
|
path: /lib/modules
|