apiVersion: v1 kind: Service metadata: name: dashboard spec: selector: app: dashboard ports: - port: 8080 targetPort: 8080