1234567891011121314151617181920212223242526272829303132333435 |
- apiVersion: apps/v1
- kind: DaemonSet
- metadata:
- name: distccd
- spec:
- selector:
- matchLabels:
- name: distccd
- template:
- metadata:
- labels:
- name: distccd
- spec:
- containers:
- - name: distccd
- image: qdii/distccd:3.4-r7
- imagePullPolicy: "Always"
- command: ["distccd", "--daemon", "--log-stderr", "--no-detach", "--log-level", "info", "--allow", "192.168.2.0/24"]
- ports:
- - containerPort: 3632
- hostPort: 3632
- env:
- - name: ALLOW
- value: 192.168.2.0/24
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: kubernetes.io/arch
- operator: In
- values:
- - amd64
|