Hi, trying to install ignite on k8s running on ec2.  K8s cluster is running on 
EC2 in AWS (not using EKS.)

Following the guide at https://apacheignite.readme.io/docs/stateless-deployment

Getting the following error when trying to create the k8s service:  
"unsupported load balancer affinity: ClientIP"

What is a valid value for sessionAffinity that works with Ignite?  Is 
sessionAffinity required?

Thanks.



// Service spec (from https://apacheignite.readme.io/docs/ignite-service)
// This is supposed to be a guide for k8s, but it doesn't work.
// Could be that there's an issue with creating service on AWS?

apiVersion: v1
kind: Service
metadata:
  # The name must be equal to TcpDiscoveryKubernetesIpFinder.serviceName
  name: ignite
  # 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
  sessionAffinity: ClientIP
  selector:
    # Must be equal to the label set for Ignite pods.
    app: ignite

This email and any files transmitted with it are confidential, proprietary and 
intended solely for the individual or entity to whom they are addressed. If you 
have received this email in error please delete it immediately.

Reply via email to