pixie icon indicating copy to clipboard operation
pixie copied to clipboard

Failed Deploy Pixie using YAML

Open yang-maple opened this issue 2 years ago • 8 comments

Describe the bug I used self-hosted pixie. when i get to the third step “Deploy Pixie”

i deploy Pixie using YAML

when i Excuting an order

kubectl apply -f pixie_yamls/ 图片

the job 5ff7d47213a8875e3f1827d728b149498a0fdef08ba74499866d7d51a4b0147 in px-operator is not ready 图片

The reason I found this error was ImagePullBackOff。

图片

how can i modify this job yaml??

I tried to modify the job batch but got an error

图片

I just want to modify imagePullPolicy or image. how can i modify this job yaml??

yang-maple avatar Jan 03 '23 09:01 yang-maple

Hi @yang-maple , if I understand correctly, you want to use a version of the vizier-operator image from your own image registry. We use OLM to deploy/manage the vizier-operator, so you would have to push a new OLM bundle. That process is documented here: https://docs.px.dev/reference/admin/deploy-options/#custom-image-registry-collect-the-olm-images

Let us know if that works for you!

aimichelle avatar Jan 03 '23 19:01 aimichelle

Hi @aimichelle . I tried using the link method you gave。but I can not push a new OLM bundle.

图片

opm index export --index gcr.io/pixie-oss/pixie-prod/operator/bundle_index:0.0.1 is invalid。

then what should I do?

yang-maple avatar Jan 05 '23 08:01 yang-maple

Hi @yang-maple , do you have access to pull from external registries from your host machine? (This does not to be run inside one of your K8s nodes).

aimichelle avatar Jan 06 '23 00:01 aimichelle

No I can not. My cluster is an offline environment. So i can not access to pull from external registries.

yang-maple avatar Jan 06 '23 01:01 yang-maple

@aimichelle

yang-maple avatar Jan 06 '23 01:01 yang-maple

Hi @yang-maple , do you have access to pull from external registries from your host machine? (This does not to be run inside one of your K8s nodes).

I also encountered this problem 。imagePullPolicy not modified 。

Follow the CRD description. If the image tag is not latest, then the imagePullPolicy is IfNotPresent, but the result is not like this

jinnery avatar Jun 16 '23 03:06 jinnery

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

yang-maple avatar Jun 16 '23 03:06 yang-maple

I also encountered this problem 。imagePullPolicy not modified 。

Follow the CRD description. If the image tag is not latest, then the imagePullPolicy is IfNotPresent, but the result is not like this

jinnery avatar Jun 16 '23 03:06 jinnery