-
Notifications
You must be signed in to change notification settings - Fork 260
revert: [NPM] Remove hostUsers Configuration #3612
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
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.
Pull Request Overview
This pull request reverts a previous change that removed the hostUsers configuration in the NPM daemonset, thereby restoring compatibility with user namespace restrictions when using hostNetwork.
- Reverts removal of "hostUsers: false" in both azure-npm-lite.yaml and azure-npm.yaml
- Restores original daemonset settings to comply with Kubernetes pod user namespace requirements
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| npm/examples/azure-npm-lite.yaml | Re-added "hostUsers: false" to revert previous changes |
| npm/azure-npm.yaml | Re-added "hostUsers: false" to revert previous changes |
|
/azp run Azure Container Networking PR |
|
No pipelines are associated with this pull request. |
|
/azp run Azure Container Networking PR |
|
/azp run NPM Conformance Tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run NPM Scale Test |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
* removed hostusers misconfigruation * added public ip and service tag to compile to SFI rules * test * fixed errors in bash * added --load-balancer-sku standard * added profile to public ip name * found issue removing unused config * updated name so that it has a unique public ip
Reason for Change:
Removes the
hostUsers: falsesetting in the NPM daemonset. Reverts from changes #2589Also adds a public-ip and service tag to NPM scale and conformance tests to comply with SFI rules (failing with
RequestDisallowedByPolicyotherwise).Issue Fixed:
From https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/#limitations
When using a user namespace for the pod, it is disallowed to use other host namespaces. In particular, if you set
hostUsers: falsethen you are not allowed to set any of:Requirements:
Notes: