Skip to content

Commit cbacadd

Browse files
Update number of replicas.
1 parent 8cdc4a1 commit cbacadd

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

goof-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
metadata:
2424
name: goof
2525
spec:
26-
replicas: 3
26+
replicas: 1
2727
strategy: {}
2828
template:
2929
metadata:

goof-mongo-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
metadata:
1818
name: goof-mongo
1919
spec:
20-
replicas: 3
20+
replicas: 1
2121
strategy: {}
2222
template:
2323
metadata:

kubestart.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
kubectl config set-context --current --namespace=test01
4+
kubectl create -f goof-deployment.yaml,goof-mongo-deployment.yaml

0 commit comments

Comments
 (0)