OT-CONTAINER-KIT / redis-operator

A golang based redis operator that will make/oversee Redis standalone/cluster/replication/sentinel mode setup on top of the Kubernetes.
https://ot-redis-operator.netlify.app/
Apache License 2.0
731 stars 207 forks source link

Unable to instell Redis Operator on EKS via Helm Chart - Getting ErrImagePull Error #937

Open amalic opened 1 month ago

amalic commented 1 month ago

I tried to install the operator via following script (based on this documentation -> https://github.com/OT-CONTAINER-KIT/helm-charts/tree/main/charts/redis-operator).

helm repo add ot-helm https://ot-container-kit.github.io/helm-charts/

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.4/cert-manager.crds.yaml
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.crt
kubectl create secret tls redis-operator-webhook-tls --key tls.key --cert tls.crt -n redis

helm upgrade --install redis-operator ot-helm/redis-operator \
  --version=0.16.0 \
  --namespace redis --create-namespace \
  --set redisOperator.webhook=true \
  --set certmanager.enabled=true \
  --set certificate.secretName=redis-operator-webhook-tls

On Kubernetes I am seeing this error ImagePullBackOff. Looking into Event Logs

Failed to pull image "quay.io/opstree/redis-operator:v0.16.0": 
rpc error: code = NotFound desc = failed to pull and unpack image "quay.io/opstree/redis-operator:v0.16.0": 
failed to resolve reference "quay.io/opstree/redis-operator:v0.16.0": 
quay.io/opstree/redis-operator:v0.16.0: not found

When using the --appVersion command line switch I get following error from Helm Error: unknown flag: --appVersion

Not sure how to make the installation work.

Looking at https://quay.io/repository/opstree/redis-operator?tab=tags I don't see a version 0.16.0

amalic commented 1 month ago

Your Helm Chart values.yaml says that there's another option to select the image tag

---
redisOperator:
  name: redis-operator
  imageName: quay.io/opstree/redis-operator
  # Overrides the image tag whose default is the chart appVersion.
  imageTag: ""

This needs to be fixed in the documentation!

voarsh2 commented 1 month ago

Latest version has no published image, getting this too.

wkd-woo commented 1 month ago

Because of the networks. EKS subnets are private. Not a public.

Tag&Push images that needs use the operator to ECR

alfredomagallon commented 1 month ago

I can't pull anything > 0.15.1 from quay.io/opstree/redis-operator Has the image moved to somewhere else? Thanks

drivebyer commented 1 month ago

the quay.io/opstree/redis-operator:v0.16.0 is not be pushed, try chart version redis-operator-0.15.10

ktzsolt commented 1 month ago

quay.io/opstree/redis-operator:v0.15.1 is the latest published image to quay