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

Docs - Method 5 of deploying Cilium CNI is outdated #9494

Open
SystemZ opened this issue Oct 12, 2024 · 0 comments · May be fixed by #9495
Open

Docs - Method 5 of deploying Cilium CNI is outdated #9494

SystemZ opened this issue Oct 12, 2024 · 0 comments · May be fixed by #9495

Comments

@SystemZ
Copy link

SystemZ commented Oct 12, 2024

Bug Report

Description

I tried deploying Cilium with "Method 5" but I got 3 problems, each probably related to Cilium CLI changes.

First, in cilium-install pod there was an error unknown flag: --set ipam.mode.
After debugging, I fixed it with replacing it from like this

- --set ipam.mode=kubernetes

to this

- --set
- ipam.mode=kubernetes

Next problems with cilium-install still was involving syntax errors. This time it was about not accepting ,.
I escaped each one with \ and it was fixed too.

When cilium-install pod started working correctly and deploying other pods, I got error from cilium-agent pod:

unable to set memory resource limits" error="failed to set memlock rlimit: operation not permitted" subsys=daemon

Thanks to issues #5948 cilium/cilium#17883 I fixed it with adding another argument

- --set
- securityContext.privileged=true

and then it magically worked 🪄

Environment

talosctl version --nodes REDACTED_IP
Client:
        Tag:         v1.8.0
        SHA:         5cc935f7
        Built:
        Go version:  go1.22.7
        OS/Arch:     darwin/arm64
Server:
        NODE:        REDACTED_IP
        Tag:         v1.8.1
        SHA:         477752fe
        Built:
        Go version:  go1.22.8
        OS/Arch:     linux/amd64
        Enabled:     RBAC
@SystemZ SystemZ linked a pull request Oct 12, 2024 that will close this issue
7 tasks
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

Successfully merging a pull request may close this issue.

1 participant