Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Service
- metadata:
- # The name must be equal to TcpDiscoveryKubernetesIpFinder.serviceName
- name: ignite
- annotations:
- service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
- # The name must be equal to TcpDiscoveryKubernetesIpFinder.namespaceName
- namespace: ignite
- spec:
- type: LoadBalancer
- ports:
- - name: rest
- port: 8080
- targetPort: 8080
- - name: sql
- port: 10800
- targetPort: 10800
- - name: thinclients
- port: 10900
- targetPort: 10900
- # Optional - remove 'sessionAffinity' property if the Ignite cluster
- # and applications deployed within Kubernetes
- sessionAffinity: ClientIP
- selector:
- # Must be equal to the label set for Ignite pods.
- app: ignite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement