apiVersion: v1
kind: Service
metadata:
  name: nginxsvc
  labels:
    name: nginxsvc
spec:
  ports:
    # the port that this service should serve on
    - port: 8000
      targetPort: 80
  selector:
    app: nginx
