aerospike-kubernetes icon indicating copy to clipboard operation
aerospike-kubernetes copied to clipboard

Unable to deploy using helm chart

Open nitinahuja opened this issue 11 months ago • 2 comments

When deploying using helm chart

 helm install aerospike-release aerospike/aerospike -n aerospike \                                                                                                     <aws:avocet-dev>
                         --set dbReplicas=3 \
                         --set nodePortServices.enabled=true \
                         --set nodePortServices.useExternalIP=false

The pod is failing to start Here is the error from the pod

0s          Normal    Pulling            pod/aerospike-release-aerospike-0         Pulling image "aerospike/aerospike-kubernetes-init:latest"
0s          Warning   Failed             pod/aerospike-release-aerospike-0         Failed to pull image "aerospike/aerospike-kubernetes-init:latest": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/aerospike/aerospike-kubernetes-init:latest": failed to resolve reference "docker.io/aerospike/aerospike-kubernetes-init:latest": docker.io/aerospike/aerospike-kubernetes-init:latest: not found
0s          Warning   Failed             pod/aerospike-release-aerospike-0         Error: ErrImagePull
0s          Normal    BackOff            pod/aerospike-release-aerospike-0         Back-off pulling image "aerospike/aerospike-kubernetes-init:latest"

nitinahuja avatar Mar 21 '24 18:03 nitinahuja

Hi @nitinahuja, We have removed latest tag from the docker as we stopped supporting this helm chart few years ago in favour of https://aerospike.com/docs/cloud/kubernetes/operator. We were also not aware that anyone is using this. Looks like you are using this. Therefore, Can you please share following information with us?

  • Your organisation name.
  • Are you using this in production with Aerospike Enterprise cluster?
  • What is the impact?
  • Is it possible for you to migrate to new Operator?

sud82 avatar Mar 25 '24 11:03 sud82

just ran into this

I'm using helm chart version 4.9.0, obtained with:

helm repo add https://aerospike.github.io/aerospike-kubernetes

helm fetch --untar \
 --untardir aerospike \
 --version 4.9.0 \
 aerospike/aerospike

Which tag of the aerospike/aerospike-kubernetes-init should I use instead of latest?

as we stopped supporting this helm chart few years ago in favour of https://aerospike.com/docs/cloud/kubernetes/operator.

@sud82 I don't see any notice about it on this repo

EDIT: looks like the correct init image version for 4.9.0 should be 1.1.0:

https://github.com/aerospike/aerospike-kubernetes/commit/7f459dd4d7ebd07635511c03b80f8e282d47738b#diff-ab3e9fcf0ffe762ed2805586f2e116f0c38db08c3b34d6ba2cfa90e871a1d918R22 https://github.com/aerospike/aerospike-kubernetes/commit/7f459dd4d7ebd07635511c03b80f8e282d47738b#diff-81801117ec01136c8a49bfcd42af8e104f4efad1f2daccda9da9d960eaad5279R49

not sure why the pulled helm chart uses latest

adrian-gierakowski avatar Apr 02 '24 09:04 adrian-gierakowski