Skip to content
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

Install Cilium community with OKD #101

Open
balioune opened this issue Jan 24, 2025 · 3 comments
Open

Install Cilium community with OKD #101

balioune opened this issue Jan 24, 2025 · 3 comments

Comments

@balioune
Copy link

Hi,
I would like to deploy OKD v17 with Cilium as CNI plugin v1.15.1.
I follow the guide [1] to install and apply patch [2] to get cilium-olm image from quay.io.
But the deployment of the pod cilium-olm-******* fail due to ErrImagePull.

Failed to pull the image "[quay.io/cilium/cilium-olm@sha256:9ab6be29447125e886300e9258b9a06bedf0a9d87405832aa8b6565ed1ba4215](http://quay.io/cilium/cilium-olm@sha256:9ab6be29447125e886300e9258b9a06bedf0a9d87405832aa8b6565ed1ba4215)":

Someone knows how to solve thus error ?

Is the official install docs explaining how to deploy cilium cummunity with OKD ?

BR,
[1] https://isovalent.com/blog/post/deploying-red-hat-openshift-with-cilium/
[2] Patches

sed -i 's|image:\ [registry.connect.redhat.com/isovalent/|image](http://registry.connect.redhat.com/isovalent/%7Cimage):\ [quay.io/cilium/|g](http://quay.io/cilium/%7Cg)'   "${CLUSTER_NAME}/manifests/cluster-network-06-cilium-00002-cilium-olm-deployment.yaml"
sed -i 's|image:\ [registry.connect.redhat.com/isovalent/|image](http://registry.connect.redhat.com/isovalent/%7Cimage):\ [quay.io/cilium/|g](http://quay.io/cilium/%7Cg)'  ${CLUSTER_NAME}/manifests/cluster-network-06-cilium-00014-cilium.v1.15.1-x7095b76-clusterserviceversion.yaml
@stianfro
Copy link

From what I can see in Quay: https://quay.io/repository/cilium/cilium-olm?tab=tags&tag=latest

It does not seem like there are any 1.15.1 images available, i.e they are only available on registry.connect.redhat.com

So you can either try to build the cilium-olm image by using this repo or you can install using the cilium cli or helm instead (I am working on a guide for this, I will link it here when it is ready).

@balioune
Copy link
Author

@stianfro thanks for your reply.

In my understand I have to build an image from this Dockerfile [1] and use it during the install of cilium-olm ?

BR,

[1] https://github.com/isovalent/olm-for-cilium/blob/107c2b0c779de85cf6631c3c9e983b508f665da7/operator/cilium.v1.15.1/Dockerfile

@stianfro
Copy link

@balioune yes I believe that would be the one athough I haven't actually tried to use it myself, but judging by the github action it seems right:

- name: Push to Quay.io
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 #v5.0.0
with:
provenance: false
context: ./operator/cilium.v${{ github.event.inputs.version }}/
push: true
tags: quay.io/redhat-isv-containers/5fbe31ec8b7d4976604cbde0:${{ env.OLM_TAG }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants