apiVersion: v1 kind: Service metadata: name: {{.FEDERATION_APISERVER_DEPLOYMENT_NAME}} namespace: {{.FEDERATION_NAMESPACE}} labels: app: federated-cluster spec: type: NodePort selector: app: federated-cluster module: federation-apiserver ports: - name: https protocol: TCP nodePort: {{.FEDERATION_API_NODEPORT}} port: 443