-
Notifications
You must be signed in to change notification settings - Fork 118
Allow for provisioning NGINX as DaemonSet #3397
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3397 +/- ##
=======================================
Coverage 86.78% 86.78%
=======================================
Files 129 129
Lines 14928 15011 +83
Branches 62 62
=======================================
+ Hits 12955 13028 +73
- Misses 1823 1832 +9
- Partials 150 151 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I noticed you have tested for deploying NGINX as daemonSet but have you tested for the migration from daemonSet to deployment ? and vice versa? |
@salonichf5 Yes, it does work. Though when migrating, the previous object is left behind without being cleaned up. Let me actually look into how best we can clean that up, it wasn't apparently obvious to me at first. Though I'm not sure how common of a use case this would be. |
Problem: With the initial provisioner implementation, the NGINX gateway could only be installed as a Deployment. Users may want to install NGINX as a DaemonSet. Solution: Allow for provisioning the NGINX gateway as a DaemonSet.
99ca3ec
to
524bec1
Compare
yeah could be an edge case. Do you think it could lead network issues if we have two NGINX one of type deployment and daemonSet? If not, we can ignore this. I haven't manually tested this so I am not sure about the impact. |
@salonichf5 I pushed a change that fixes this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Problem: With the initial provisioner implementation, the NGINX gateway could only be installed as a Deployment. Users may want to install NGINX as a DaemonSet.
Solution: Allow for provisioning the NGINX gateway as a DaemonSet.
Testing: Deployed NGINX as a DaemonSet
Closes #3120
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.