distcc.yaml 865 B

1234567891011121314151617181920212223242526272829303132333435
  1. apiVersion: apps/v1
  2. kind: DaemonSet
  3. metadata:
  4. name: distccd
  5. spec:
  6. selector:
  7. matchLabels:
  8. name: distccd
  9. template:
  10. metadata:
  11. labels:
  12. name: distccd
  13. spec:
  14. containers:
  15. - name: distccd
  16. image: qdii/distccd:3.4-r7
  17. imagePullPolicy: "Always"
  18. command: ["distccd", "--daemon", "--log-stderr", "--no-detach", "--log-level", "info", "--allow", "192.168.2.0/24"]
  19. ports:
  20. - containerPort: 3632
  21. hostPort: 3632
  22. env:
  23. - name: ALLOW
  24. value: 192.168.2.0/24
  25. affinity:
  26. nodeAffinity:
  27. requiredDuringSchedulingIgnoredDuringExecution:
  28. nodeSelectorTerms:
  29. - matchExpressions:
  30. - key: kubernetes.io/arch
  31. operator: In
  32. values:
  33. - amd64