initial commit
This commit is contained in:
23
kustom-webapp/base/deployment.yaml
Normal file
23
kustom-webapp/base/deployment.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mywebapp
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
spec: # Pod spec
|
||||
containers:
|
||||
- name: mycontainer
|
||||
image: "devopsjourney1/mywebapp:latest"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: mykustom-map
|
||||
resources:
|
||||
requests:
|
||||
memory: "16Mi"
|
||||
cpu: "50m" # 500milliCPUs (1/2 CPU)
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
Reference in New Issue
Block a user