kilo-kubeadm.yaml 832 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apiVersion: extensions/v1beta1
  2. kind: DaemonSet
  3. metadata:
  4. name: kilo
  5. namespace: kube-system
  6. labels:
  7. app.kubernetes.io/name: kilo
  8. spec:
  9. template:
  10. metadata:
  11. labels:
  12. app.kubernetes.io/name: kilo
  13. spec:
  14. hostNetwork: true
  15. containers:
  16. - name: kilo
  17. image: squat/kilo
  18. args:
  19. - --kubeconfig=/etc/kubernetes/kubeconfig
  20. securityContext:
  21. privileged: true
  22. volumeMounts:
  23. - name: kubeconfig
  24. mountPath: /etc/kubernetes
  25. readOnly: true
  26. tolerations:
  27. - effect: NoSchedule
  28. operator: Exists
  29. - effect: NoExecute
  30. operator: Exists
  31. volumes:
  32. - name: kubeconfig
  33. configMap:
  34. name: kube-proxy
  35. items:
  36. - key: kubeconfig.conf
  37. path: kubeconfig