You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
942 B
39 lines
942 B
--- |
|
apiVersion: apps/v1 |
|
kind: DaemonSet |
|
metadata: |
|
name: {{ include "node-labeler.fullname" . }} |
|
namespace: {{ .Release.Namespace }} |
|
labels: |
|
{{ include "node-labeler.labels" . | indent 4 }} |
|
spec: |
|
selector: |
|
matchLabels: |
|
{{ include "node-labeler.labels" . | indent 6 }} |
|
template: |
|
metadata: |
|
labels: |
|
{{ include "node-labeler.labels" . | indent 8 }} |
|
spec: |
|
tolerations: |
|
- operator: Exists |
|
effect: NoSchedule |
|
serviceAccountName: {{ include "node-labeler.fullname" . }} |
|
containers: |
|
- name: node-labeler |
|
image: vexxhost/node-labeler:latest |
|
resources: |
|
requests: |
|
cpu: "100m" |
|
memory: "50Mi" |
|
limits: |
|
cpu: "100m" |
|
memory: "50Mi" |
|
env: |
|
- name: NODE |
|
valueFrom: |
|
fieldRef: |
|
fieldPath: spec.nodeName |
|
updateStrategy: |
|
rollingUpdate: |
|
maxUnavailable: 10%
|
|
|