confluentinc / operator-earlyaccess

Confluent Operator Early Access docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New confluent-for-kubernetes helm chart failing to pull image

mccullya opened this issue · comments

When I run the new 'helm upgrade' command (as seen in the commit), helm upgrade --install operator confluentinc_earlyaccess/confluent-for-kubernetes --set image.registry=confluent-docker-internal-early-access-operator-2.jfrog.io the pod fails to deploy.

Describing the pod returns the following:

Normal   Scheduled  16s   default-scheduler  Successfully assigned confluent/confluent-operator-88b896cf7-8k7mw to minikube
Normal   Pulling    16s   kubelet            Pulling image "confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.0"
Warning  Failed     11s   kubelet            Failed to pull image "confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.0": rpc error: code = Unknown desc = Error response from daemon: manifest for confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.0 not found: manifest unknown: The named manifest is not known to the registry.
Warning  Failed     11s   kubelet            Error: ErrImagePull
Normal   BackOff    11s   kubelet            Back-off pulling image "confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.0"
Warning  Failed     11s   kubelet            Error: ImagePullBackOff

If I run the 'old' command

helm upgrade --install operator confluentinc_earlyaccess/confluent-operator --set image.registry=confluent-docker-internal-early-access-operator-2.jfrog.io

Everything runs OK.

It looks like the chart version and the docker image version were not kept in sync. confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.2 does exist, which is the version of the helm chart.

Hi folks - thanks for reporting this.

We fixed this. Now the helm chart points to the correct Docker image, and should install properly.

$ helm repo update

$ helm search repo confluentinc_earlyaccess
NAME                                             	CHART VERSION	APP VERSION
confluentinc_earlyaccess/confluent-for-kubernetes	0.174.2
confluentinc_earlyaccess/confluent-operator      	0.147.0      	           

$ helm upgrade --install operator confluentinc_earlyaccess/confluent-for-kubernetes \
--set image.registry=confluent-docker-internal-early-access-operator-2.jfrog.io

$ kubectl get pods
NAME                                        READY   STATUS    RESTARTS   AGE
confluent-operator-6fb5bb86c4-gw65l         1/1     Running   0          127m

$ kubectl describe pod confluent-operator-6fb5bb86c4-gw65l
...
Containers:
  confluent-operator:
    Container ID:  docker://02ba750225dbf20eec3c514a4c28ea8333122f95f1be58d3b7ac5c43ec9e73be
    Image:         confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator:v0.174.2
    Image ID:      docker-pullable://confluent-docker-internal-early-access-operator-2.jfrog.io/confluentinc/confluent-operator@sha256:9f8eaba71e6ad05751b9c4610555484389d1d28b7897eeabc2b235ddfd980dcc
...