Add kustomize
This commit is contained in:
parent
5fc864c65d
commit
d021c3e63a
9 changed files with 91 additions and 3 deletions
28
nginx/k8s/01_deployment.yaml
Normal file
28
nginx/k8s/01_deployment.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
memory: "32Mi"
|
||||
cpu: 128m
|
||||
limits:
|
||||
memory: "64Mi"
|
||||
cpu: 256m
|
Loading…
Add table
Add a link
Reference in a new issue