added nginx app
This commit is contained in:
20
nginx-test/deployment.yml
Normal file
20
nginx-test/deployment.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-test
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx-test
|
||||
replicas: 2
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx-test
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx-test
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
Reference in New Issue
Block a user