From 52783c5a11e7b5566c3aeafd8c10c3681e283316 Mon Sep 17 00:00:00 2001 From: Ewout Prangsma Date: Thu, 17 May 2018 11:18:20 +0200 Subject: [PATCH 1/2] Use preview-3.3 for now --- examples/single-server.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/single-server.yaml b/examples/single-server.yaml index 710773b7c..b148b69b1 100644 --- a/examples/single-server.yaml +++ b/examples/single-server.yaml @@ -4,5 +4,4 @@ metadata: name: "example-simple-single" spec: mode: Single - single: - storageClassName: my-local-ssd + image: arangodb/arangodb-preview:3.3 From efe155d1368ba0d9bf6bf5b250c08c88932caead Mon Sep 17 00:00:00 2001 From: Ewout Prangsma Date: Thu, 17 May 2018 11:24:02 +0200 Subject: [PATCH 2/2] Do not set service stickyness for loadbalancer EA service, because AWS does not support it --- pkg/deployment/resources/services.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/deployment/resources/services.go b/pkg/deployment/resources/services.go index 45e3dc36d..c823e597a 100644 --- a/pkg/deployment/resources/services.go +++ b/pkg/deployment/resources/services.go @@ -170,6 +170,9 @@ func (r *Resources) ensureExternalAccessServices(eaServiceName, ns, svcRole, tit // Let's create or update the database external access service nodePort := spec.GetNodePort() loadBalancerIP := spec.GetLoadBalancerIP() + if eaServiceType == v1.ServiceTypeLoadBalancer { + sessionAffinity = v1.ServiceAffinityNone + } _, newlyCreated, err := k8sutil.CreateExternalAccessService(kubecli, eaServiceName, svcRole, apiObject, eaServiceType, port, nodePort, loadBalancerIP, sessionAffinity, apiObject.AsOwner()) if err != nil { log.Debug().Err(err).Msgf("Failed to create %s external access service", title)