Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

adding deployment file #178

Merged
merged 1 commit into from
Sep 29, 2023
Merged

adding deployment file #178

merged 1 commit into from
Sep 29, 2023

Conversation

johnoloughlin
Copy link
Contributor

No description provided.

Makefile Outdated
@@ -13,6 +13,7 @@ help:
@echo "make build - Build UserSpace CNI container."
@echo "make deploy - Copy binary from container to host: /opt/cni/bin."
@echo "make all - build and deploy"
@echo "make rollout - kubectl apply daemonset"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of calling it rollout, I would prefer make deploy for something like this...

can we rename to deploy and choose another name for the other command?
"make copy" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

- name: cnibin
hostPath:
path: /opt/cni/bin
containers:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the init container copies the binary, and then it goes into the main container, which is a pause container, thus releasing resources.
correct?

Signed-off-by: John O'Loughlin <[email protected]>
@Eoghan1232 Eoghan1232 merged commit 70ea136 into master Sep 29, 2023
@johnoloughlin johnoloughlin deleted the deployment branch October 4, 2023 10:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants