Add app/test-deployment2.yaml
This commit is contained in:
parent
8ff2159bb1
commit
8ac905a976
1 changed files with 22 additions and 0 deletions
22
app/test-deployment2.yaml
Normal file
22
app/test-deployment2.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: test-deployment2
|
||||
namespace: pu-user1-pa-app2
|
||||
labels:
|
||||
app: test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: test-nginx2
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: test-nginx2
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:1.14.2
|
||||
ports:
|
||||
- containerPort: 80
|
Loading…
Reference in a new issue