added nginx app

This commit is contained in:
2024-11-22 18:31:35 -06:00
parent 8b996e57fa
commit 5aaaa83b4d
3 changed files with 57 additions and 0 deletions

20
nginx-test/deployment.yml Normal file
View 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