apiVersion: v1
kind: Service
metadata:
name: k8s-poc-nginx-service
spec:
type: LoadBalancer
selector:
app: k8s-poc-nginx
ports:
- port: 80
targetPort: 80
name: http
protocol: TCP