@ -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
- protocol: TCP
port: 80