-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CKS: update cloud.kubernetes.cluster.network.offering to dynamic #11847
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
CKS: update cloud.kubernetes.cluster.network.offering to dynamic #11847
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11847 +/- ##
============================================
- Coverage 16.19% 16.18% -0.01%
+ Complexity 13306 13302 -4
============================================
Files 5657 5657
Lines 498467 498467
Branches 60491 60491
============================================
- Hits 80702 80669 -33
- Misses 408783 408823 +40
+ Partials 8982 8975 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DaanHoogland
left a comment
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.
😁 clgtm
|
anymore testing or discussions needed on this @weizhouapache ? |
I think no. marked as |
|
@blueorangutan package |
|
@kiranchavala a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15633 |
kiranchavala
left a comment
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
Tested manually
Changed the global setting "cloud.kubernetes.cluster.network.offering" to a new value and created a cks cluster .
The cks cluster created a network with the specified offering
2025-11-05 10:27:37,911 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f]) (logid:7c626044) ===START=== 10.0.3.251 -- GET name=cloud.kubernetes.cluster.network.offering&value=test-cks-networkoffering&command=updateConfiguration&response=json&sessionkey=tb7YtPglMmm31eyggpz2VG1Pkks
2025-11-05 10:27:37,911 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f]) (logid:7c626044) Two factor authentication is already verified for the user 2, so skipping
2025-11-05 10:27:37,913 DEBUG [c.c.a.ApiServer] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"1d2e5598-ba13-11f0-b11b-1e002f00043c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
2025-11-05 10:27:37,914 INFO [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Account for user id 1d2fa88c-ba13-11f0-b11b-1e002f00043c is Root Admin or Domain Admin, all APIs are allowed.
2025-11-05 10:27:37,914 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
2025-11-05 10:27:37,914 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) API rate limiting is disabled. We will not use ApiRateLimitService.
2025-11-05 10:27:37,916 WARN [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,916 WARN [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,916 DEBUG [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Not proceeding with configuration [cloud.kubernetes.cluster.network.offering]'s range validation, as it uses ConfigKey instead of Config.
2025-11-05 10:27:37,929 WARN [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,929 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) ===END=== 10.0.3.251 -- GET name=cloud.kubernetes.cluster.network.offering&value=test-cks-networkoffering&command=updateConfiguration&response=json&sessionkey=tb7YtPglMmm31eyggpz2VG1Pkks
Description
This PR updates global setting cloud.kubernetes.cluster.network.offering to dynamic so that restartin mgmt server is not required.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?