-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to connect to the Aerospike cluster using k8s ingress #31
Comments
Hi @mmazek In case of AWS ELBs, the load balancer ingress points are typically DNS based (unlike GCP or Openstack load balancers which usually has IP address as ingress points). The init container was expecting an IP address instead of a hostname when querying the service resource and hence failed. This has been addressed in the latest helm chart release. Can you try with the latest release. You can simply run https://artifacthub.io/packages/helm/aerospike/aerospike If you don't want to pull the latest charts, you can also simply just select the
|
I updated my installation to the newest Helm Chart version and still ending up with the same issue. The log from the
|
After it finishes we end up with |
@mmazek Can you share the output of the following command? (Please redact things like public IPs etc. or add a dummy string)
|
@mmazek Oh! I just noticed that your pod name is |
I think that could be it. The init container uses pod name to identify which service to query. |
Hi, your recommendation doesn't work unfortunately... I changed the release name to
and I see in the init container's logs the following info:
Of course I don't see the LB's info in the conf at the end. |
OK, I got it now - the release name can't contain the chart name, so I went with ReleaseName = |
What's the AQL command that you are using to connect? Use
|
OK, I managed to make this work, but now I ended up with the last remaining issue - The Service is creating public Load Balancers by default (I'm running AWS EKS here) and it's not an option for us. For now, I'll simply hack your Helm chart and I'll add |
Hi, I'm using Aerospike Community installed using the Helm Chart from this repo. I'm deploying to AWS EKS and I'm not able to make it work.
The relevant part of the
values.yaml
:This way I end up with the following errors printed by the
aerospike-init
container:WARN Error getting loadbalancer IP, port and node port: json: cannot unmarshal string into Go struct field ServiceRequest.status of type main.Stat. Retrying.
After some time the init script finished with Exit status 0 and the pod runs. It's not advertising the external IPs though, so it's not possible to connect from outside of the cluster.
Can you please check this out? Installing Aerospike directly on EC2 is not an option in my case.
Helm Chart version: 5.3.0
values.yaml
:The text was updated successfully, but these errors were encountered: