Added kustomize overlays
This commit is contained in:
parent
53e28ff20c
commit
a1ab088eae
|
@ -0,0 +1,18 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
bases:
|
||||
- ../../kustomize-guestbook
|
||||
|
||||
tst-konfig:
|
||||
- target:
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: guestbook-ui
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 4
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/name
|
||||
value: guestbook-ui-tprodst
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
bases:
|
||||
- ../../kustomize-guestbook
|
||||
|
||||
tst-konfig:
|
||||
- target:
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: guestbook-ui
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 2
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/name
|
||||
value: guestbook-ui-tst
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
bases:
|
||||
- ../../kustomize-guestbook
|
||||
|
||||
tst-konfig:
|
||||
- target:
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: guestbook-ui
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/replicas
|
||||
value: 3
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/name
|
||||
value: guestbook-ui-uat
|
Loading…
Reference in New Issue