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

Optional Daemonset deployment #87

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Optional Daemonset deployment #87

wants to merge 2 commits into from

Conversation

ganey
Copy link

@ganey ganey commented Jan 7, 2025

I noticed it isn't currently possible to deploy this as a kube Daemonset.

The changes needed are quite small, and obviously we default to the current behaviour.

Using a replica count higher than the number of nodes seems counter productive based on documentation here: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/deploy-tunnels/system-requirements/#recommendations

Multiple pods per node would then be fighting for the same ephemeral ports, so using a daemonset we can cap the cloudflared at 1 per node.

ganey added 2 commits January 7, 2025 16:51
Add daemonset:false into values
Enable daemonset instead of deployment
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.

1 participant