Browse Source

Add service to nginx test deployment

master
Nico Schottelius 2 years ago
parent
commit
d14489e9ee
  1. 11
      v3-calico/nginx-test-deployment.yaml

11
v3-calico/nginx-test-deployment.yaml

@ -17,3 +17,14 @@ spec:
image: nginx:1.20.0-alpine
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80

Loading…
Cancel
Save