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

[Feature request] Option to deploy the control plane as a DaemonSet #154

Open
sdaberdaku opened this issue Aug 31, 2024 · 1 comment
Open

Comments

@sdaberdaku
Copy link

I was able to deploy STUNner as a STUN service as described in this article, with the dataplane as DaemonSet (I manually converted the Deployment created by the operator). It would be great if you could support this mode of deployment automatically with some annotation in the Gateway CRD (i.e. stunner.l7mp.io/dataplane-deployment-mode: daemonset). The podAntiAffinity approach is doable but you would still need to manually set the number of replicas equal to the number of nodes so that each node gets a stunnerd Pod, which is not ideal if you provision them dynamically with Cluster Autoscaler or Karpenter.

@rg0now rg0now added the type: enhancement Feature request label Sep 2, 2024
@rg0now
Copy link
Member

rg0now commented Sep 2, 2024

Full ack. Unfortunately currently there's no resource to automate this, so you'll have to do the manual Deployment-DaemonSet swap. On the long run, we should definitely support this.

I'll leave this one open, maybe someone will jump in and catch it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants