--- 
apiVersion: v1
kind: Service
metadata:
  name: nginx-webserver
spec:
  type: ClusterIP
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 8080
  selector:
    app: nginx-webserver