Created
December 17, 2024 10:18
-
-
Save peschmae/15c9937b98b5d92286094755994b3a34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@data/values | |
--- | |
topologySpreadConstraints: | |
- maxSkew: 1 | |
topologyKey: "" | |
whenUnsatisfiable: "ScheduleAnyway" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:data", "data") | |
#@ def labels(): | |
app: echo | |
org: test | |
#@ end | |
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: echo-app | |
labels: #@ labels() | |
spec: | |
topologySpreadConstraints: #@ data.values.topologySpreadConstraints | |
containers: | |
- name: blub | |
image: hashicorp/http-echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment