Last active
February 28, 2021 05:22
-
-
Save making/49e5c5110b98f2dc682733a7186a0203 to your computer and use it in GitHub Desktop.
Replica数を変えたい
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: demo | |
name: demo | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: demo | |
template: | |
metadata: | |
labels: | |
app: demo | |
spec: | |
containers: | |
- image: ghcr.io/making/hello-tanzu | |
name: hello-tanzu |
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:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind":"Deployment", "metadata": {"name": "demo"}}) | |
--- | |
spec: | |
replicas: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment