18 lines
349 B
YAML
18 lines
349 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{.FEDERATION_APISERVER_DEPLOYMENT_NAME}}
|
||
|
namespace: {{.FEDERATION_NAMESPACE}}
|
||
|
labels:
|
||
|
app: federated-cluster
|
||
|
spec:
|
||
|
type: LoadBalancer
|
||
|
selector:
|
||
|
app: federated-cluster
|
||
|
module: federation-apiserver
|
||
|
ports:
|
||
|
- name: https
|
||
|
protocol: TCP
|
||
|
port: 443
|
||
|
targetPort: 443
|