You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: standard-app/example.values.yaml
+43-1Lines changed: 43 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,21 @@ apps:
318
318
capabilities:
319
319
drop:
320
320
- ALL
321
+
nodeSelector:
322
+
node-label: "my-node-pool"# Optional, if not specified it defaults to the default node selector for the cluster
323
+
tolerations:
324
+
- key: purpose
325
+
operator: Equal
326
+
value: run-example-app-1a-node
327
+
effect: NoSchedule
328
+
affinity:
329
+
nodeAffinity:
330
+
requiredDuringSchedulingIgnoredDuringExecution:
331
+
nodeSelectorTerms:
332
+
- matchExpressions:
333
+
- key: cloud.google.com/gke-preemptible
334
+
operator: DoesNotExist
335
+
321
336
322
337
example-app-2:
323
338
serviceAccount: cloudkite
@@ -500,6 +515,20 @@ jobs:
500
515
items:
501
516
- key: env
502
517
path: .env
518
+
nodeSelector:
519
+
node-label: "my-node-pool"# Optional, if not specified it defaults to the default node selector for the cluster
520
+
tolerations:
521
+
- key: purpose
522
+
operator: Equal
523
+
value: run-example-app-1a-node
524
+
effect: NoSchedule
525
+
affinity:
526
+
nodeAffinity:
527
+
requiredDuringSchedulingIgnoredDuringExecution:
528
+
nodeSelectorTerms:
529
+
- matchExpressions:
530
+
- key: cloud.google.com/gke-preemptible
531
+
operator: DoesNotExist
503
532
504
533
cronjobs:
505
534
cronjobexample-1:
@@ -538,7 +567,20 @@ cronjobs:
538
567
DATE=$(date +%d_%m)
539
568
#'{{ .Files.Get "scripts/test_script.sh" | nindent 4 }}' we are currently working on making configMap script data workable from a repo that's not standard library, for now you can use it like this.
540
569
541
-
570
+
nodeSelector:
571
+
node-label: "my-node-pool"# Optional, if not specified it defaults to the default node selector for the cluster
0 commit comments