mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-10 18:50:45 +00:00
Compare commits
260
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ff3581630 | ||
|
|
37b8db8823 | ||
|
|
c15221a43f | ||
|
|
67c0f1c3c4 | ||
|
|
75c792d297 | ||
|
|
64369895cb | ||
|
|
28130a9cd3 | ||
|
|
84b151ba01 | ||
|
|
9f2239b355 | ||
|
|
e348d8ae96 | ||
|
|
f2b53f0297 | ||
|
|
b15636ea3b | ||
|
|
18facc20dc | ||
|
|
0ba3bf937e | ||
|
|
4537a4fe0b | ||
|
|
01bfd00de6 | ||
|
|
97c7ee878e | ||
|
|
24f3481a30 | ||
|
|
76d839d8d9 | ||
|
|
fa45b2448c | ||
|
|
e9f87ecbd6 | ||
|
|
45bd2e660b | ||
|
|
7a818a8616 | ||
|
|
5b880d38b1 | ||
|
|
e5adc9708d | ||
|
|
9ae475be33 | ||
|
|
0e72872376 | ||
|
|
99d72ac6e0 | ||
|
|
184053bc1a | ||
|
|
9d5ae85d8d | ||
|
|
82ea5770cc | ||
|
|
68c68e5715 | ||
|
|
71f3b829d6 | ||
|
|
46c874f466 | ||
|
|
5493a494d8 | ||
|
|
2360f9a7b9 | ||
|
|
8798ed2016 | ||
|
|
7cc72a01c8 | ||
|
|
f25f4a4040 | ||
|
|
9381d6f714 | ||
|
|
78f2f5160e | ||
|
|
2b8743287d | ||
|
|
c5bc0a85a8 | ||
|
|
457d9d8114 | ||
|
|
7bece923f8 | ||
|
|
9858b7a3e5 | ||
|
|
6230e57cae | ||
|
|
0476c4aebe | ||
|
|
bac3129453 | ||
|
|
ed0b4be092 | ||
|
|
5bb0484e29 | ||
|
|
a4bf2e1aea | ||
|
|
897ff93fd6 | ||
|
|
e913bab46b | ||
|
|
a1aab226d2 | ||
|
|
b2be054e7a | ||
|
|
b65bedd4e8 | ||
|
|
b86c4eaedb | ||
|
|
d3cc52f288 | ||
|
|
b15041642a | ||
|
|
d2815b8707 | ||
|
|
f62e904391 | ||
|
|
a19ff57088 | ||
|
|
449014cbd9 | ||
|
|
37d85a3833 | ||
|
|
e730f390d8 | ||
|
|
d8fd870142 | ||
|
|
9fa2d8e5aa | ||
|
|
f83dd9585d | ||
|
|
a9d5652d7b | ||
|
|
87d72bff15 | ||
|
|
3266d18193 | ||
|
|
164438c8a4 | ||
|
|
234dc42242 | ||
|
|
9fa8554e5d | ||
|
|
dc28a2d032 | ||
|
|
1449954b54 | ||
|
|
42a424060c | ||
|
|
c2931d5353 | ||
|
|
8310097e5c | ||
|
|
4f9cce33e8 | ||
|
|
74c45ead36 | ||
|
|
855e2b749c | ||
|
|
63266f0e6b | ||
|
|
a54277e3a1 | ||
|
|
e74c66f9a9 | ||
|
|
a6ce99063e | ||
|
|
94a9530424 | ||
|
|
a00a96eae4 | ||
|
|
72aefdd9ae | ||
|
|
eb7abf42ed | ||
|
|
f2e5e87f9f | ||
|
|
bf5c4290da | ||
|
|
2a9662b409 | ||
|
|
ba1e7dd446 | ||
|
|
2abf1b019c | ||
|
|
618e58539b | ||
|
|
4f42e8680f | ||
|
|
8aaf57db5c | ||
|
|
291c9c82c0 | ||
|
|
c1b06ca71f | ||
|
|
679f03f57f | ||
|
|
3d89ebed1d | ||
|
|
470885f2cf | ||
|
|
07acfb962e | ||
|
|
34f757d4e4 | ||
|
|
e7b048f0f5 | ||
|
|
de46f6451d | ||
|
|
73323f3bfe | ||
|
|
0538aa7158 | ||
|
|
902a97c3d7 | ||
|
|
7d11c5dfb7 | ||
|
|
0c0d5992e0 | ||
|
|
dc25596ac3 | ||
|
|
3b0e2fc79e | ||
|
|
cac472d581 | ||
|
|
7a2543aa79 | ||
|
|
5522fd59fc | ||
|
|
3532fe7017 | ||
|
|
9f6c99c6ba | ||
|
|
a321c9fa41 | ||
|
|
4bf3d6e8ae | ||
|
|
37beb2b6f0 | ||
|
|
01ccbc20d6 | ||
|
|
7832687c63 | ||
|
|
f9c3f936c4 | ||
|
|
9c5b4fa914 | ||
|
|
5015ab7494 | ||
|
|
84980417f2 | ||
|
|
3af18a49d6 | ||
|
|
f81f06a044 | ||
|
|
0bdbf14c90 | ||
|
|
165624ffe2 | ||
|
|
45c072d017 | ||
|
|
e359906eab | ||
|
|
d7c979be62 | ||
|
|
2e6316d9ec | ||
|
|
9bf5faf731 | ||
|
|
1c3d1e539d | ||
|
|
28f46f2304 | ||
|
|
9883901f1b | ||
|
|
f934437788 | ||
|
|
161c534071 | ||
|
|
8a5dda6521 | ||
|
|
57567c5e99 | ||
|
|
b5da180fc9 | ||
|
|
7cca9e7574 | ||
|
|
b25d27891d | ||
|
|
0012664266 | ||
|
|
569182d3b9 | ||
|
|
3a373c0fa3 | ||
|
|
87f969991c | ||
|
|
a429153ede | ||
|
|
fdf78e919f | ||
|
|
51bfd1f8f9 | ||
|
|
9090fcb2ab | ||
|
|
d2226322cf | ||
|
|
e30e3a4d18 | ||
|
|
ebcf5ee71f | ||
|
|
3bb734d303 | ||
|
|
7fafc61e6a | ||
|
|
21348fdb7b | ||
|
|
4eb2a3abb8 | ||
|
|
6913cccd17 | ||
|
|
5b6f57ebb6 | ||
|
|
7e0ceeffd5 | ||
|
|
a82a5207c8 | ||
|
|
e33daa65dd | ||
|
|
715c942c1b | ||
|
|
85a32cd276 | ||
|
|
2f4b822cb3 | ||
|
|
877b9cbf9d | ||
|
|
f58c1ea9e7 | ||
|
|
1ea3682342 | ||
|
|
4c23b0dd50 | ||
|
|
44d690d4cc | ||
|
|
1870b57b6e | ||
|
|
64269bea22 | ||
|
|
333dcfe06c | ||
|
|
5be76d49c9 | ||
|
|
cdd40292a4 | ||
|
|
f614319214 | ||
|
|
5076ce5f0a | ||
|
|
8485d73025 | ||
|
|
d6460bbf45 | ||
|
|
ceff92f1fa | ||
|
|
56ca46001c | ||
|
|
591188c891 | ||
|
|
f5b155469b | ||
|
|
8390518777 | ||
|
|
f21c904c75 | ||
|
|
2b7f6179cd | ||
|
|
8c8f8a5f2e | ||
|
|
50c0b2901e | ||
|
|
ff518c995c | ||
|
|
b124e543ab | ||
|
|
00e60c489c | ||
|
|
5856a33216 | ||
|
|
8abdff2e16 | ||
|
|
27c40e5b37 | ||
|
|
0a206c2a71 | ||
|
|
0035f604cf | ||
|
|
b6192dee43 | ||
|
|
a572532618 | ||
|
|
4ed8b39eca | ||
|
|
ab794679b1 | ||
|
|
4174efc9b6 | ||
|
|
eef73d106d | ||
|
|
946b9fc10a | ||
|
|
8fbc785b2c | ||
|
|
5053c7a5be | ||
|
|
2386faad52 | ||
|
|
20d9e00055 | ||
|
|
a91e98aeed | ||
|
|
dd90555a64 | ||
|
|
fc747f457a | ||
|
|
e88572c810 | ||
|
|
50736e012a | ||
|
|
85021d6a4d | ||
|
|
b336f5f47c | ||
|
|
94c60502ea | ||
|
|
feca2e63ec | ||
|
|
cc2e26e03e | ||
|
|
473eea4b41 | ||
|
|
a5e6676adb | ||
|
|
a7a0a05827 | ||
|
|
b531d54872 | ||
|
|
860d55373c | ||
|
|
ad82b388e9 | ||
|
|
4d915c71c7 | ||
|
|
2dcfa6f6b8 | ||
|
|
4a0d71b3f3 | ||
|
|
917fb71cc6 | ||
|
|
968b17b439 | ||
|
|
837642ac0a | ||
|
|
ce8a2066c6 | ||
|
|
dd56eb8dfa | ||
|
|
55eaa901b9 | ||
|
|
f8442a4de8 | ||
|
|
ba36e5a3cc | ||
|
|
1d573ebad8 | ||
|
|
6d1b2bfaa1 | ||
|
|
fb61897f02 | ||
|
|
ec6ca0421f | ||
|
|
3850db7f7a | ||
|
|
a71cd82b3b | ||
|
|
10c050251f | ||
|
|
0ee6a3b95a | ||
|
|
aab097c91f | ||
|
|
ce270291b4 | ||
|
|
7302475fb7 | ||
|
|
0c4649c273 | ||
|
|
ee021062c6 | ||
|
|
5fa51c65b8 | ||
|
|
a649d9bff4 | ||
|
|
9cbbe1fe64 | ||
|
|
f68384825a | ||
|
|
9b6e8a64e7 | ||
|
|
3e550789b5 | ||
|
|
69e366256f |
No files matched your search
@@ -1,29 +0,0 @@
|
||||
name: Create issue to track porting between Community and Product docs
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
paths-ignore:
|
||||
- '**/README.md'
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
create_issue:
|
||||
if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create issue
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
REPO_TYPE: ${{ contains( github.repository, 'product-docs') && 'Product' || 'Community' }}
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
gh issue create \
|
||||
--repo ${{ github.repository }} \
|
||||
--title "Port $REPO_TYPE docs PR #${{ github.event.pull_request.number }}: $PR_TITLE" \
|
||||
--body "Reference: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}" \
|
||||
--label port/community-product
|
||||
@@ -13,10 +13,10 @@ jobs:
|
||||
name: Build Docusaurus
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: yarn
|
||||
@@ -25,11 +25,11 @@ jobs:
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Build website
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=8192"
|
||||
NODE_OPTIONS: "--max_old_space_size=10240"
|
||||
run: yarn build --no-minify
|
||||
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
|
||||
with:
|
||||
path: build
|
||||
|
||||
@@ -49,4 +49,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
|
||||
@@ -11,10 +11,10 @@ jobs:
|
||||
name: Test deployment
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: yarn
|
||||
@@ -27,5 +27,5 @@ jobs:
|
||||
run: yarn run remark --quiet --use remark-lint-no-dead-urls ./docs
|
||||
- name: Test build website
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=7168"
|
||||
run: yarn build --no-minify
|
||||
NODE_OPTIONS: "--max_old_space_size=10240"
|
||||
run: yarn build --no-minify
|
||||
@@ -6,10 +6,6 @@ title: Deprecated Features in Rancher
|
||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/faq/deprecated-features"/>
|
||||
</head>
|
||||
|
||||
## What is Rancher's deprecation policy?
|
||||
|
||||
We have published our official deprecation policy in the support [terms of service](https://rancher.com/support-maintenance-terms).
|
||||
|
||||
## Where can I find out which features have been deprecated in Rancher?
|
||||
|
||||
Rancher will publish deprecated features as part of the [release notes](https://github.com/rancher/rancher/releases) for Rancher found on GitHub. Please consult the following patch releases for deprecated features:
|
||||
|
||||
@@ -6,10 +6,6 @@ title: Deprecated Features in Rancher
|
||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/faq/deprecated-features"/>
|
||||
</head>
|
||||
|
||||
## What is Rancher's deprecation policy?
|
||||
|
||||
We have published our official deprecation policy in the support [terms of service](https://rancher.com/support-maintenance-terms).
|
||||
|
||||
## Where can I find out which features have been deprecated in Rancher?
|
||||
|
||||
Rancher will publish deprecated features as part of the [release notes](https://github.com/rancher/rancher/releases) for Rancher found on GitHub. Please consult the following patch releases for deprecated features:
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -65,7 +65,7 @@ Kubernetes workers should open UDP port `8472` (VXLAN) and TCP port `9099` (heal
|
||||
|
||||

|
||||
|
||||
For more information, see the [Canal GitHub Page.](https://github.com/projectcalico/canal)
|
||||
For more information, refer to the [Rancher maintained Canal source](https://github.com/rancher/rke2-charts/tree/main-source/packages/rke2-canal) and the [Canal GitHub Page](https://github.com/projectcalico/canal).
|
||||
|
||||
#### Flannel
|
||||
|
||||
-4
@@ -6,10 +6,6 @@ title: Deprecated Features in Rancher
|
||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/faq/deprecated-features"/>
|
||||
</head>
|
||||
|
||||
## What is Rancher's deprecation policy?
|
||||
|
||||
The community version of Rancher follows the same deprecation policy as Rancher Prime. The official deprecation policy is documented in the [Rancher Prime Deprecation Policy](https://www.suse.com/support/rancher-prime/#Rancher-Prime-Deprecation-Policy).
|
||||
|
||||
## Where can I find out which features have been deprecated in Rancher?
|
||||
|
||||
Rancher will publish deprecated features as part of the [release notes](https://github.com/rancher/rancher/releases) for Rancher found on GitHub. Please consult the following patch releases for deprecated features:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
-1
@@ -96,7 +96,8 @@ To enable draining each node during a cluster upgrade,
|
||||
|
||||
:::note
|
||||
|
||||
There is a [known issue](https://github.com/rancher/rancher/issues/25478) in which the Rancher UI doesn't show the state of etcd and controlplane as drained, even though they are being drained.
|
||||
- There is a [known issue](https://github.com/rancher/rancher/issues/25478) in which the Rancher UI doesn't show the state of etcd and controlplane as drained, even though they are being drained.
|
||||
- During an upgrade, nodes may be drained even when no user-visible YAML changes are present. This can occur if non-dynamic configuration files are updated or if a new `system-agent-installer` image is introduced. In such cases, Rancher generates a new upgrade plan, resulting in a new plan hash. When `Upgrade Strategy` is set to `Drain nodes`, this plan change can trigger node draining.
|
||||
|
||||
:::
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+29
-15
@@ -16,11 +16,15 @@ For configuration details, refer to the [official Kubernetes documentation](http
|
||||
<Tabs groupId="k8s-distro">
|
||||
<TabItem value="RKE2" default>
|
||||
|
||||
### Method 1 (Recommended): Set `audit-policy-file` in `machineGlobalConfig`
|
||||
### Method 1 (Recommended): Set `audit-policy-file` in `machineGlobalConfig` or `machineSelectorConfig`
|
||||
|
||||
You can set `audit-policy-file` in the configuration file. Rancher delivers the file to the path `/var/lib/rancher/rke2/etc/config-files/audit-policy-file` in control plane nodes, and sets the proper options in the RKE2 server.
|
||||
You can set `audit-policy-file` in the configuration file using either `machineGlobalConfig` or `machineSelectorConfig`.
|
||||
|
||||
Example:
|
||||
When using `machineGlobalConfig`, Rancher delivers the file to the path `/var/lib/rancher/rke2/etc/config-files/audit-policy-file` on **all nodes** (both control plane and worker nodes), and sets the proper options in the RKE2 server. This may cause unwanted worker node reconciliation when the audit policy is modified.
|
||||
|
||||
To avoid worker node reconciliation, use `machineSelectorConfig` with a label selector to target only control plane nodes. This ensures that the audit policy file is only delivered to control plane nodes.
|
||||
|
||||
Example using `machineGlobalConfig`:
|
||||
```yaml
|
||||
apiVersion: provisioning.cattle.io/v1
|
||||
kind: Cluster
|
||||
@@ -38,6 +42,28 @@ spec:
|
||||
- pods
|
||||
```
|
||||
|
||||
Example using `machineSelectorConfig` (recommended to avoid worker node reconciliation):
|
||||
```yaml
|
||||
apiVersion: provisioning.cattle.io/v1
|
||||
kind: Cluster
|
||||
spec:
|
||||
rkeConfig:
|
||||
machineSelectorConfig:
|
||||
- config:
|
||||
audit-policy-file: |
|
||||
apiVersion: audit.k8s.io/v1
|
||||
kind: Policy
|
||||
rules:
|
||||
- level: RequestResponse
|
||||
resources:
|
||||
- group: ""
|
||||
resources:
|
||||
- pods
|
||||
machineLabelSelector:
|
||||
matchLabels:
|
||||
rke.cattle.io/control-plane-role: 'true'
|
||||
```
|
||||
|
||||
### Method 2: Use the Directives, `machineSelectorFiles` and `machineGlobalConfig`
|
||||
|
||||
:::note
|
||||
@@ -103,12 +129,6 @@ spec:
|
||||
rke.cattle.io/control-plane-role: 'true'
|
||||
```
|
||||
|
||||
:::tip
|
||||
|
||||
You can also use the directive `machineSelectorConfig` with proper machineLabelSelectors to achieve the same effect.
|
||||
|
||||
:::
|
||||
|
||||
For more information about cluster configuration, refer to the [RKE2 cluster configuration reference](../../reference-guides/cluster-configuration/rancher-server-configuration/rke2-cluster-configuration.md) pages.
|
||||
|
||||
</TabItem>
|
||||
@@ -178,12 +198,6 @@ spec:
|
||||
rke.cattle.io/control-plane-role: 'true'
|
||||
```
|
||||
|
||||
:::tip
|
||||
|
||||
You can also use the directive `machineSelectorConfig` with proper machineLabelSelectors to achieve the same effect.
|
||||
|
||||
:::
|
||||
|
||||
For more information about cluster configuration, refer to the [K3s cluster configuration reference](../../reference-guides/cluster-configuration/rancher-server-configuration/k3s-cluster-configuration.md) pages.
|
||||
|
||||
</TabItem>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 2394 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user