-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add Cilium dev workflow to readme #86
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ I haven't tried the cilium dev workflow yet, but it's mostly using the kind scripts from the upstream cilium repo.
|
||
```bash | ||
./scripts/pull_image.sh quay.io/lvh-images/kind:bpf-next-main | ||
lvh run --image $(ls -Art images/*.qcow2 | tail -n 1) --host-mount /path/to/cilium | ||
``` | ||
|
||
Then, log into the VM as root and setup some dependencies: | ||
|
||
```bash | ||
# DNS | ||
echo "nameserver 1.1.1.1" > /etc/resolv.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These steps line up with the steps I had written down based on my local testing.
Probably this PR should be superseded or merged with cilium/cilium#25217 . I think that cilium/cilium is the right place for most of these instructions. |
./scripts/pull_image.sh quay.io/lvh-images/kind:bpf-next-main | ||
lvh run --image $(ls -Art images/*.qcow2 | tail -n 1) --host-mount /path/to/cilium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now you can just do lvh run --image quay.io/lvh-images/kind:bpf-next-main --host-mount /path/to/cilium
. No need to separately pull.
This should probably be documented under Cilium documentation, but someone
asked about it so I figured I'd post it.