-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baf11b4
commit d9f5d39
Showing
6 changed files
with
189 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Specified cluster | ||
|
||
You can restrict the management scope of the Nebula cluster by specifying the namespace or cluster selector. | ||
This feature is applicable to scenarios such as operator grayscale release or management cluster splitting. | ||
|
||
You can specify the cluster through the flags of the controller-manager. | ||
```shell | ||
--nebula-object-selector string nebula object selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). | ||
|
||
--watch-namespaces strings Namespaces restricts the controller watches for updates to Kubernetes objects. If empty, all namespaces are watched. Multiple namespaces seperated by comma.(e.g. ns1,ns2,ns3). | ||
``` | ||
|
||
Configuration steps: | ||
Modify the parameters watchNamespaces or nebulaObjectSelector when deploying operator by helm chart. | ||
```yaml | ||
# Namespaces restricts the controller-manager watches for updates to Kubernetes objects. If empty, all namespaces are watched. | ||
# e.g. ns1,ns2,ns3 | ||
watchNamespaces: "" | ||
|
||
# nebula object selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). | ||
nebulaObjectSelector: "" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters