Skip to content

Commit

Permalink
kubernets: assign all pods to nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk committed Oct 2, 2024
1 parent 7eeef42 commit 7098620
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion charts/adminer/values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ volumeMounts: []
# mountPath: "/etc/foo"
# readOnly: true

nodeSelector: {}
nodeSelector:
ops: "true"

tolerations: []
3 changes: 3 additions & 0 deletions charts/cert-manager/values.common.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
crds:
enabled: true
keep: true

nodeSelector:
ops: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ volumeMounts: []
# mountPath: "/etc/foo"
# readOnly: true

nodeSelector: {}
nodeSelector:
simcore: "true"

tolerations: []

Expand Down
15 changes: 15 additions & 0 deletions charts/traefik/values.common.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
additionalArguments:
- "--api.insecure=true"

deployment:
kind: DaemonSet

ingressRoute:
dashboard:
enabled: false
Expand All @@ -19,3 +22,15 @@ ports:
nodePort: 32080
websecure:
nodePort: 32443

nodeSelector:
node-role.kubernetes.io/control-plane: "" # in some cases may require tolerations

affinity: # https://github.com/traefik/traefik-helm-chart/blob/v28.2.0/traefik/values.yaml#L838
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: '{{`{{ template "traefik.name" . }}`}}'
app.kubernetes.io/instance: '{{ .Release.Name }}'
topologyKey: kubernetes.io/hostname

0 comments on commit 7098620

Please sign in to comment.