mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 13:08:11 +00:00
Edit section on annotating imported clusters
This commit is contained in:
@@ -153,18 +153,13 @@ This example annotation indicates that a pod security policy is enabled:
|
|||||||
"capabilities.cattle.io/pspEnabled": "true"
|
"capabilities.cattle.io/pspEnabled": "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
This annotation indicates Ingress capabilities:
|
The following annotation indicates Ingress capabilities. Note that that the values of non-primitive objects need to be JSON encoded, with quotations escaped.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
capabilities.cattle.io/ingressCapabilities": "[
|
"capabilities.cattle.io/ingressCapabilities": "[{"customDefaultBackend":true,"ingressProvider":"asdf"}]"
|
||||||
{
|
|
||||||
"customDefaultBackend":true,
|
|
||||||
"ingressProvider":"asdf"
|
|
||||||
}
|
|
||||||
]"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The following capabilities can be annotated for the cluster:
|
These capabilities can be annotated for the cluster:
|
||||||
|
|
||||||
- `ingressCapabilities`
|
- `ingressCapabilities`
|
||||||
- `loadBalancerCapabilities`
|
- `loadBalancerCapabilities`
|
||||||
@@ -173,7 +168,7 @@ The following capabilities can be annotated for the cluster:
|
|||||||
- `pspEnabled`
|
- `pspEnabled`
|
||||||
- `taintSupport`
|
- `taintSupport`
|
||||||
|
|
||||||
All the capabilities and their type defintions can be viewed in the Rancher API view, at `[Rancher Server URL]/v3/schemas/capabilities`.
|
All the capabilities and their type definitions can be viewed in the Rancher API view, at `[Rancher Server URL]/v3/schemas/capabilities`.
|
||||||
|
|
||||||
To annotate an imported cluster,
|
To annotate an imported cluster,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user