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

kubernetes: Place cni binaries in /opt/cni/bin #23

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Conversation

jepio
Copy link
Member

@jepio jepio commented Sep 4, 2023

kubernetes: Place cni binaries in /opt/cni/bin

Containerd expects cni binaries in /opt/cni/bin. We need to make sure that directory exists before running the cp, and need to run cp in a way that doesn't result in the source directory being created in target (we only want the executables).

The /opt/libexec thing was an experiment that can be removed as well, as we found another way of dealing with volume plugins.

How to use

[ describe what reviewers need to do in order to validate this PR ]

Testing done

Tested that kubeadm can create a cluster with this.

Containerd expects cni binaries in /opt/cni/bin. We need to make sure that
directory exists before running the cp, and need to run cp in a way that
doesn't result in the source directory being created in target (we only want
the executables).

The /opt/libexec thing was an experiment that can be removed as well, as we
found another way of dealing with volume plugins.

Signed-off-by: Jeremi Piotrowski <[email protected]>
@jepio jepio requested review from pothos and tormath1 September 4, 2023 15:03
@pothos
Copy link
Member

pothos commented Sep 4, 2023

We have to make a release afterwards, that's done by pushing a tag for the current date like 20230904.

@jepio jepio merged commit 2f100eb into main Sep 5, 2023
@jepio jepio deleted the k8s-improvements branch September 5, 2023 07:32
@jepio
Copy link
Member Author

jepio commented Sep 5, 2023

Lets push a tag at the end of the week in case there's any more changes.

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.

2 participants