add kustomize
This commit is contained in:
19
6.Addons/kustomize/overlays/prod/deployment.yaml
Normal file
19
6.Addons/kustomize/overlays/prod/deployment.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: guestbook
|
||||
spec:
|
||||
replicas: 4
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
type: RollingUpdate
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: guestbook-app
|
||||
resources:
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 200Mi
|
Reference in New Issue
Block a user