apiVersion: v1 kind: Service metadata: labels: app: centraldashboard name: centraldashboard spec: ports: - port: 80 protocol: TCP targetPort: 8082 selector: app: centraldashboard sessionAffinity: None type: ClusterIP