mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-11 11:10:44 +00:00
Merge branch 'main' into remove-references-to-deprecated-resourceset
This commit is contained in:
21 files changed
+131
-5552
No files matched your search
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
+1
-1
@@ -7,7 +7,7 @@ title: ClusterRole Aggregation
|
||||
</head>
|
||||
|
||||
:::caution
|
||||
ClusterRole aggregation is a highly experimental feature that changes the RBAC architecture used for RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings. **It is not supported for production environments**. This feature is meant exclusively for internal testing in v2.11. It is expected to be available as a beta for users in v2.12 with a prospective GA in Rancher v2.13.
|
||||
ClusterRole aggregation is a highly experimental feature that changes the RBAC architecture used for RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings. **It is not supported for production environments**. This feature is meant exclusively for internal testing in v2.11 and v2.12. It is expected to be available as a beta for users in v2.13.
|
||||
:::
|
||||
|
||||
ClusterRole aggregation implements RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings using the Kubernetes feature [Aggregated ClusterRoles](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles). The new architecture results in a net reduction in RBAC objects (Roles, RoleBindings, ClusterRoles and ClusterRoleBindings) both in the Rancher cluster and the downstream clusters.
|
||||
|
||||
@@ -55,6 +55,37 @@ For help with configuring `Flows` and `ClusterFlows`, see [this page.](custom-re
|
||||
|
||||
For help with configuring `Outputs` and `ClusterOutputs`, see [this page.](custom-resource-configuration/outputs-and-clusteroutputs.md)
|
||||
|
||||
## Using a custom HostTailer image
|
||||
|
||||
To use a custom image for the `HostTailer` resource, you need to specify the image in the `containerOverrides` section of each `fileTailer` of the `HostTailer` resource.
|
||||
|
||||
```yaml
|
||||
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
|
||||
kind: HostTailer
|
||||
metadata:
|
||||
name: cluster-system-log
|
||||
spec:
|
||||
workloadMetaOverrides:
|
||||
annotations: {}
|
||||
labels: {}
|
||||
fileTailers:
|
||||
- disabled: false
|
||||
name: kubelet-log
|
||||
path: /var/lib/rancher/rke2/agent/logs/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- disabled: false
|
||||
name: containerd-log
|
||||
path: /var/lib/rancher/rke2/agent/containerd/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- name: kube-audit
|
||||
path: /var/log/kube-audit/audit-log.json
|
||||
disabled: false
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
```
|
||||
|
||||
## Configuring the Logging Helm Chart
|
||||
|
||||
For a list of options that can be configured when the logging application is installed or upgraded, see [this page.](logging-helm-chart-options.md)
|
||||
|
||||
+22
-7
@@ -244,8 +244,23 @@ module.exports = {
|
||||
// Plugin Options for loading OpenAPI files
|
||||
specs: [
|
||||
{
|
||||
id: 'rancher-api',
|
||||
spec: 'openapi/swagger.json',
|
||||
id: 'rancher-api-v2-11',
|
||||
spec: 'openapi/swagger-v2.11.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-10',
|
||||
spec: 'openapi/swagger-v2.10.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-9',
|
||||
spec: 'openapi/swagger-v2.9.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
{
|
||||
id: 'rancher-api-v2-8',
|
||||
spec: 'openapi/swagger-v2.8.json',
|
||||
// route: '/api/',
|
||||
},
|
||||
],
|
||||
@@ -271,7 +286,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.8/integrations-in-rancher/fleet',
|
||||
from: ['/v2.8/pages-for-subheaders/deploy-apps-across-clusters', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet', '/v2.8/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps']
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.7/integrations-in-rancher/fleet-gitops-at-scale',
|
||||
from: ['/v2.7/pages-for-subheaders/deploy-apps-across-clusters', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet', '/v2.7/how-to-guides/new-user-guides/deploy-apps-across-clusters/multi-cluster-apps']
|
||||
@@ -1679,7 +1694,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.11/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.11/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.11/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.11/monitoring-alerting',
|
||||
@@ -1691,7 +1706,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.10/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.10/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.10/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.10/monitoring-alerting',
|
||||
@@ -1703,7 +1718,7 @@ module.exports = {
|
||||
{
|
||||
to: '/v2.9/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides',
|
||||
from: '/v2.9/monitoring-alerting/configuration',
|
||||
},
|
||||
},
|
||||
{
|
||||
to: '/v2.9/integrations-in-rancher/monitoring-and-alerting',
|
||||
from: '/v2.9/monitoring-alerting',
|
||||
@@ -2056,7 +2071,7 @@ module.exports = {
|
||||
to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
from: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-to-out-of-tree-vsphere',
|
||||
},
|
||||
{ to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
{ to: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/migrate-to-an-out-of-tree-cloud-provider/migrate-to-out-of-tree-vsphere',
|
||||
from: '/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-10" />
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-8" />
|
||||
@@ -14,4 +14,4 @@ title: API 参考
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-9" />
|
||||
@@ -0,0 +1 @@
|
||||
{"swagger":"2.0","info":{"title":"Kubernetes","version":"1.31"},"paths":{"/apis/management.cattle.io/v3/clusterroletemplatebindings":{"get":{"description":"list objects of kind ClusterRoleTemplateBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3ClusterRoleTemplateBindingForAllNamespaces","responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.ClusterRoleTemplateBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"ClusterRoleTemplateBinding","version":"v3"}},"parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/pretty-tJGM1-ng"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}]},"/apis/management.cattle.io/v3/globalrolebindings":{"get":{"description":"list objects of kind GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3GlobalRoleBinding","parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"post":{"description":"create a GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"createManagementCattleIoV3GlobalRoleBinding","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},{"uniqueItems":true,"type":"string","description":"When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed","name":"dryRun","in":"query"},{"$ref":"#/parameters/fieldManager-Qy4HdaTW"},{"uniqueItems":true,"type":"string","description":"fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.","name":"fieldValidation","in":"query"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"201":{"description":"Created","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"202":{"description":"Accepted","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"post","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"delete":{"description":"delete collection of GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"deleteManagementCattleIoV3CollectionGlobalRoleBindinLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"swagger":"2.0","info":{"title":"Kubernetes","version":"1.32"},"paths":{"/apis/management.cattle.io/v3/clusterroletemplatebindings":{"get":{"description":"list objects of kind ClusterRoleTemplateBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3ClusterRoleTemplateBindingForAllNamespaces","responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.ClusterRoleTemplateBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"ClusterRoleTemplateBinding","version":"v3"}},"parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/pretty-tJGM1-ng"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}]},"/apis/management.cattle.io/v3/globalrolebindings":{"get":{"description":"list objects of kind GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3GlobalRoleBinding","parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"post":{"description":"create a GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"createManagementCattleIoV3GlobalRoleBinding","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},{"uniqueItems":true,"type":"string","description":"When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed","name":"dryRun","in":"query"},{"$ref":"#/parameters/fieldManager-Qy4HdaTW"},{"uniqueItems":true,"type":"string","description":"fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.","name":"fieldValidation","in":"query"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"201":{"description":"Created","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"202":{"description":"Accepted","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"post","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"delete":{"description":"delete collection of GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"deleteManagementCattleIoV3CollectionGlobalRoleBindinLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"swagger":"2.0","info":{"title":"Kubernetes","version":"v1.28.6+k3s2"},"paths":{"/apis/management.cattle.io/v3/clusterroletemplatebindings":{"get":{"description":"list objects of kind ClusterRoleTemplateBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3ClusterRoleTemplateBindingForAllNamespaces","responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.ClusterRoleTemplateBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"ClusterRoleTemplateBinding","version":"v3"}},"parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/pretty-nN7o5FEq"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}]},"/apis/management.cattle.io/v3/globalrolebindings":{"get":{"description":"list objects of kind GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3GlobalRoleBinding","parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"post":{"description":"create a GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"createManagementCattleIoV3GlobalRoleBinding","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},{"uniqueItems":true,"type":"string","description":"When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed","name":"dryRun","in":"query"},{"$ref":"#/parameters/fieldManager-Qy4HdaTW"},{"uniqueItems":true,"type":"string","description":"fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.","name":"fieldValidation","in":"query"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"201":{"description":"Created","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"202":{"description":"Accepted","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"post","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"delete":{"description":"delete collection of GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"deleteManagementCattleIoV3CollectionGlobalRoLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"swagger":"2.0","info":{"title":"Kubernetes","version":"v1.30.2+k3s2"},"paths":{"/apis/management.cattle.io/v3/clusterroletemplatebindings":{"get":{"description":"list objects of kind ClusterRoleTemplateBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3ClusterRoleTemplateBindingForAllNamespaces","responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.ClusterRoleTemplateBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"ClusterRoleTemplateBinding","version":"v3"}},"parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/pretty-tJGM1-ng"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}]},"/apis/management.cattle.io/v3/globalrolebindings":{"get":{"description":"list objects of kind GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"listManagementCattleIoV3GlobalRoleBinding","parameters":[{"$ref":"#/parameters/allowWatchBookmarks-HC2hJt-J"},{"$ref":"#/parameters/continue-QfD61s0i"},{"$ref":"#/parameters/fieldSelector-xIcQKXFG"},{"$ref":"#/parameters/labelSelector-5Zw57w4C"},{"$ref":"#/parameters/limit-1NfNmdNH"},{"$ref":"#/parameters/resourceVersion-5WAnf1kx"},{"$ref":"#/parameters/resourceVersionMatch-t8XhRHeC"},{"$ref":"#/parameters/sendInitialEvents-rLXlEK_k"},{"$ref":"#/parameters/timeoutSeconds-yvYezaOC"},{"$ref":"#/parameters/watch-XNNPZGbK"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBindingList"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"list","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"post":{"description":"create a GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"createManagementCattleIoV3GlobalRoleBinding","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},{"uniqueItems":true,"type":"string","description":"When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed","name":"dryRun","in":"query"},{"$ref":"#/parameters/fieldManager-Qy4HdaTW"},{"uniqueItems":true,"type":"string","description":"fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.","name":"fieldValidation","in":"query"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"201":{"description":"Created","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"202":{"description":"Accepted","schema":{"$ref":"#/definitions/io.cattle.management.v3.GlobalRoleBinding"}},"401":{"description":"Unauthorized"}},"x-kubernetes-action":"post","x-kubernetes-group-version-kind":{"group":"management.cattle.io","kind":"GlobalRoleBinding","version":"v3"}},"delete":{"description":"delete collection of GlobalRoleBinding","consumes":["application/json","application/yaml"],"produces":["application/json","application/yaml"],"schemes":["https"],"tags":["managementCattleIo_v3"],"operationId":"deleteManagementCattleIoV3CollectionGlobalRoLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-10" />
|
||||
@@ -55,6 +55,37 @@ For help with configuring `Flows` and `ClusterFlows`, see [this page.](custom-re
|
||||
|
||||
For help with configuring `Outputs` and `ClusterOutputs`, see [this page.](custom-resource-configuration/outputs-and-clusteroutputs.md)
|
||||
|
||||
## Using a custom HostTailer image
|
||||
|
||||
To use a custom image for the `HostTailer` resource, you need to specify the image in the `containerOverrides` section of each `fileTailer` of the `HostTailer` resource.
|
||||
|
||||
```yaml
|
||||
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
|
||||
kind: HostTailer
|
||||
metadata:
|
||||
name: cluster-system-log
|
||||
spec:
|
||||
workloadMetaOverrides:
|
||||
annotations: {}
|
||||
labels: {}
|
||||
fileTailers:
|
||||
- disabled: false
|
||||
name: kubelet-log
|
||||
path: /var/lib/rancher/rke2/agent/logs/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- disabled: false
|
||||
name: containerd-log
|
||||
path: /var/lib/rancher/rke2/agent/containerd/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- name: kube-audit
|
||||
path: /var/log/kube-audit/audit-log.json
|
||||
disabled: false
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
```
|
||||
|
||||
## Configuring the Logging Helm Chart
|
||||
|
||||
For a list of options that can be configured when the logging application is installed or upgraded, see [this page.](logging-helm-chart-options.md)
|
||||
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-11" />
|
||||
+1
-1
@@ -7,7 +7,7 @@ title: ClusterRole Aggregation
|
||||
</head>
|
||||
|
||||
:::caution
|
||||
ClusterRole aggregation is a highly experimental feature that changes the RBAC architecture used for RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings. **It is not supported for production environments**. This feature is meant exclusively for internal testing in v2.11. It is expected to be available as a beta for users in v2.12 with a prospective GA in Rancher v2.13.
|
||||
ClusterRole aggregation is a highly experimental feature that changes the RBAC architecture used for RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings. **It is not supported for production environments**. This feature is meant exclusively for internal testing in v2.11 and v2.12. It is expected to be available as a beta for users in v2.13.
|
||||
:::
|
||||
|
||||
ClusterRole aggregation implements RoleTemplates, ClusterRoleTemplateBindings and ProjectRoleTemplateBindings using the Kubernetes feature [Aggregated ClusterRoles](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles). The new architecture results in a net reduction in RBAC objects (Roles, RoleBindings, ClusterRoles and ClusterRoleBindings) both in the Rancher cluster and the downstream clusters.
|
||||
|
||||
@@ -55,6 +55,37 @@ For help with configuring `Flows` and `ClusterFlows`, see [this page.](custom-re
|
||||
|
||||
For help with configuring `Outputs` and `ClusterOutputs`, see [this page.](custom-resource-configuration/outputs-and-clusteroutputs.md)
|
||||
|
||||
## Using a custom HostTailer image
|
||||
|
||||
To use a custom image for the `HostTailer` resource, you need to specify the image in the `containerOverrides` section of each `fileTailer` of the `HostTailer` resource.
|
||||
|
||||
```yaml
|
||||
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
|
||||
kind: HostTailer
|
||||
metadata:
|
||||
name: cluster-system-log
|
||||
spec:
|
||||
workloadMetaOverrides:
|
||||
annotations: {}
|
||||
labels: {}
|
||||
fileTailers:
|
||||
- disabled: false
|
||||
name: kubelet-log
|
||||
path: /var/lib/rancher/rke2/agent/logs/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- disabled: false
|
||||
name: containerd-log
|
||||
path: /var/lib/rancher/rke2/agent/containerd/*.log
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
- name: kube-audit
|
||||
path: /var/log/kube-audit/audit-log.json
|
||||
disabled: false
|
||||
containerOverrides:
|
||||
image: <your_registry>/<your_image>:<your_tag>
|
||||
```
|
||||
|
||||
## Configuring the Logging Helm Chart
|
||||
|
||||
For a list of options that can be configured when the logging application is installed or upgraded, see [this page.](logging-helm-chart-options.md)
|
||||
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-8" />
|
||||
@@ -15,4 +15,4 @@ At this time, not all Rancher resources are available through the Rancher Kubern
|
||||
|
||||
import ApiDocMdx from '@theme/ApiDocMdx';
|
||||
|
||||
<ApiDocMdx id="rancher-api" />
|
||||
<ApiDocMdx id="rancher-api-v2-9" />
|
||||
Reference in new issue
Block a user