p2: app1
This commit is contained in:
parent
b5fbeeb53b
commit
dd0f534811
21
p2/confs/app1.yaml
Normal file
21
p2/confs/app1.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: app1-deployment
|
||||||
|
labels:
|
||||||
|
app: app1
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: app1
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: app1
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: app1
|
||||||
|
image: nginx:1.14.2
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
Loading…
Reference in New Issue
Block a user