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

Add Cilium dev workflow to readme #86

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joestringer
Copy link
Member

This should probably be documented under Cilium documentation, but someone
asked about it so I figured I'd post it.

Copy link
Member

@aditighag aditighag left a 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.

Comment on lines +154 to +164

```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
Copy link
Member

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.

@joestringer
Copy link
Member Author

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.

Comment on lines +156 to +157
./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
Copy link
Member Author

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.

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 this pull request may close these issues.

None yet

2 participants