mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-11-10 18:50:45 +00:00
Compare commits
372
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f484a4eeb | ||
|
|
8e6e56c616 | ||
|
|
877d8d64a4 | ||
|
|
366203efce | ||
|
|
b3270468cb | ||
|
|
9c575f0cc9 | ||
|
|
ee9c5ac5a6 | ||
|
|
5eca2248b5 | ||
|
|
1ecf8c381a | ||
|
|
ff84491713 | ||
|
|
9df1f039ea | ||
|
|
4db036ff1e | ||
|
|
16d3a461a1 | ||
|
|
3e5b7fb089 | ||
|
|
514b4d9102 | ||
|
|
3564997b7f | ||
|
|
5bc6084ed2 | ||
|
|
73c4472b52 | ||
|
|
a90b35afe8 | ||
|
|
5d9351e1eb | ||
|
|
a6a9abfb3e | ||
|
|
9c6e164321 | ||
|
|
a5c685f9db | ||
|
|
95a630d449 | ||
|
|
b883d21513 | ||
|
|
89b9dfc428 | ||
|
|
53a863dae6 | ||
|
|
ba7049fc37 | ||
|
|
6e60486f0f | ||
|
|
41d2111def | ||
|
|
65d57a23ef | ||
|
|
edcf576121 | ||
|
|
21ae15f242 | ||
|
|
40969c63b0 | ||
|
|
02ac40aea4 | ||
|
|
ffb5103f46 | ||
|
|
ccdfbf1880 | ||
|
|
ff1fc68df2 | ||
|
|
9ee4473de4 | ||
|
|
d423b370ca | ||
|
|
369135fa0a | ||
|
|
65dd2737b9 | ||
|
|
dea969130e | ||
|
|
6a0ed47d7c | ||
|
|
5e84867d38 | ||
|
|
1b869a48eb | ||
|
|
30f11a2ed2 | ||
|
|
0a8d40db55 | ||
|
|
42a6a3d2fb | ||
|
|
5d278c77a5 | ||
|
|
5ff3581630 | ||
|
|
37b8db8823 | ||
|
|
c15221a43f | ||
|
|
768c73c66c | ||
|
|
3ba1cea2ae | ||
|
|
be9dc30647 | ||
|
|
be0202bab4 | ||
|
|
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 | ||
|
|
20fab76cfc | ||
|
|
a94f94128a | ||
|
|
5b60dca51d | ||
|
|
78f538b5c3 | ||
|
|
b6a5fcc2af | ||
|
|
5fa51c65b8 | ||
|
|
a649d9bff4 | ||
|
|
9cbbe1fe64 | ||
|
|
f68384825a | ||
|
|
ab234cc365 | ||
|
|
6dc122f0f9 | ||
|
|
2c2d1fd70c | ||
|
|
385a493e52 | ||
|
|
d870a1a12a | ||
|
|
9b6e8a64e7 | ||
|
|
3e550789b5 | ||
|
|
69e366256f | ||
|
|
3d9908ed90 | ||
|
|
be7c002fc6 | ||
|
|
c5aac3c2ea | ||
|
|
2a925479f5 | ||
|
|
3db5dcfe5b | ||
|
|
493918ef4b | ||
|
|
b9dc7cf45f | ||
|
|
50a89fceea | ||
|
|
c13e9c7023 | ||
|
|
86ce745693 | ||
|
|
ea4b542e49 | ||
|
|
5519e07a14 | ||
|
|
607605ef8c | ||
|
|
6c6d269350 | ||
|
|
4bb5fd9918 | ||
|
|
1db0a99873 | ||
|
|
613ac34951 | ||
|
|
8d0683cf27 | ||
|
|
8c8388e576 | ||
|
|
8b903fb7e6 | ||
|
|
e4ef173aef | ||
|
|
941e23dbc5 | ||
|
|
50de72dac8 | ||
|
|
bd5ce6a698 | ||
|
|
6b578c03b8 | ||
|
|
3e84995a70 | ||
|
|
73eba84c8f | ||
|
|
83169414e0 | ||
|
|
59c6d18303 | ||
|
|
cc971f12cd | ||
|
|
56217388e0 | ||
|
|
4038b6b6a0 | ||
|
|
f3ebddde6e | ||
|
|
8dc10af3d1 | ||
|
|
8a705b1d66 | ||
|
|
7aabf39e2c | ||
|
|
033a6ecb52 | ||
|
|
d5155ccdee | ||
|
|
8e43347812 | ||
|
|
d8c3493599 | ||
|
|
d69bad7fd4 | ||
|
|
cb8c124163 | ||
|
|
3eb8905153 | ||
|
|
66a6f2019d | ||
|
|
abf80148ac | ||
|
|
49fa9264c4 | ||
|
+4 |
24fc5a657c | ||
|
|
94197793cb |
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
|
||||
@@ -93,7 +93,7 @@ Subsequent executions will check for updated dependencies, if there are none, it
|
||||
|
||||
License
|
||||
=======
|
||||
Copyright (c) 2014-2025 [SUSE, LLC.](https://www.suse.com/)
|
||||
Copyright (c) 2014-2026 [SUSE, LLC.](https://www.suse.com/)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -37,8 +37,7 @@ apiVersion: management.cattle.io/v3
|
||||
kind: Project
|
||||
metadata:
|
||||
annotations:
|
||||
field.cattle.io/creatorId:
|
||||
user-id
|
||||
field.cattle.io/creatorId: user-id
|
||||
generateName: p-
|
||||
namespace: c-m-abcde
|
||||
spec:
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+25
-12
@@ -25,11 +25,15 @@ spec:
|
||||
EOF
|
||||
```
|
||||
|
||||
Use `metadata.generateName` to ensure a unique project ID, but note that `kubectl apply` does not work with `metadata.generateName`, so `kubectl create` must be used instead.
|
||||
When creating a new project, you have two primary options for setting the name:
|
||||
|
||||
- **Automatic Generation:** Use `metadata.generateName` to ensure a unique project ID. However, note that you must use `kubectl create` (instead of `kubectl apply`) with this option, as `kubectl apply` does not support it.
|
||||
- **Manual Naming:** You can explicitly set the project ID using `metadata.name`. If a project with that exact name already exists, the name request is denied.
|
||||
The display name seen in the UI is set by `spec.displayName`. If `spec.displayName` is not provided, the field `metadata.name` is used instead.
|
||||
|
||||
Set `metadata.namespace` and `spec.clusterName` to the ID for the cluster the project belongs to.
|
||||
|
||||
If you create a project through a cluster member account, you must include the annotation, `field.cattle.io/creatorId`, and set it to the cluster member account's user ID.
|
||||
If you create a project through a cluster member account and want that account to be able to access the project, you must include the annotation `field.cattle.io/creatorId`, and set it to the cluster member account's user ID.
|
||||
|
||||
```bash
|
||||
kubectl create -f - <<EOF
|
||||
@@ -37,8 +41,7 @@ apiVersion: management.cattle.io/v3
|
||||
kind: Project
|
||||
metadata:
|
||||
annotations:
|
||||
field.cattle.io/creatorId:
|
||||
user-id
|
||||
field.cattle.io/creatorId: user-id
|
||||
generateName: p-
|
||||
namespace: c-m-abcde
|
||||
spec:
|
||||
@@ -47,7 +50,11 @@ spec:
|
||||
EOF
|
||||
```
|
||||
|
||||
Setting the `field.cattle.io/creatorId` field allows the cluster member account to see project resources with the `get` command and view the project in the Rancher UI. Cluster owner and admin accounts don't need to set this annotation to perform these tasks.
|
||||
Setting the `field.cattle.io/creatorId` field creates a `ProjectRoleTemplateBinding` that grants the specified user the ability to see project resources with the `get` command and view the project in the Rancher UI. Cluster owner and admin accounts don't need to set this annotation to perform these tasks.
|
||||
|
||||
Setting the `field.cattle.io/creator-principal-name` annotation to the user's principal preserves it in a projectroletemplatebinding automatically created for the project owner.
|
||||
|
||||
If you don't want the creator to be added as the owner member (e.g. if the creator is a cluster administrator) to the project you may set the `field.cattle.io/no-creator-rbac` annotation to `true`, which will prevent the corresponding projectroletemplatebinding from being created.
|
||||
|
||||
### Creating a Project With a Resource Quota
|
||||
|
||||
@@ -94,9 +101,13 @@ spec:
|
||||
EOF
|
||||
```
|
||||
|
||||
### Backing Namespace
|
||||
|
||||
After creating the project, the field `status.backingNamespace` gets populated. This represents the namespace in the management cluster that is created to manage project related resources. Examples of resources stored in the backing namespace are [project scoped secrets](../../how-to-guides/new-user-guides/kubernetes-resources-setup/secrets.md#creating-secrets-in-projects) and [project role template bindings](../../how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac/cluster-and-project-roles.md#project-roles).
|
||||
|
||||
## Adding a Member to a Project
|
||||
|
||||
Look up the project ID to specify the `metadata.namespace` field and `projectName` field values.
|
||||
Look up the project's [backing namespace](#backing-namespace) to specify the `metadata.namespace` field value and look up the project's ID to specify the `projectName` field value.
|
||||
|
||||
```bash
|
||||
kubectl --namespace c-m-abcde get projects
|
||||
@@ -116,7 +127,7 @@ apiVersion: management.cattle.io/v3
|
||||
kind: ProjectRoleTemplateBinding
|
||||
metadata:
|
||||
generateName: prtb-
|
||||
namespace: p-vwxyz
|
||||
namespace: c-m-abcde-p-vwxyz
|
||||
projectName: c-m-abcde:p-vwxyz
|
||||
roleTemplateName: project-member
|
||||
userPrincipalName: keycloak_user://user
|
||||
@@ -142,16 +153,16 @@ Create a projectroletemplatebinding for each role you want to assign to the proj
|
||||
|
||||
## Listing Project Members
|
||||
|
||||
Look up the project ID:
|
||||
Look up the project backing namespace:
|
||||
|
||||
```bash
|
||||
kubectl --namespace c-m-abcde get projects
|
||||
```
|
||||
|
||||
to list projectroletemplatebindings in the project's namespace:
|
||||
To list projectroletemplatebindings in the project's backing namespace:
|
||||
|
||||
```bash
|
||||
kubectl --namespace p-vwxyz get projectroletemplatebindings
|
||||
kubectl --namespace c-m-abcde-p-vwxyz get projectroletemplatebindings
|
||||
```
|
||||
|
||||
## Deleting a Member From a Project
|
||||
@@ -161,14 +172,14 @@ Lookup the projectroletemplatebinding IDs containing the member in the project's
|
||||
Delete the projectroletemplatebinding from the project's namespace:
|
||||
|
||||
```bash
|
||||
kubectl --namespace p-vwxyz delete projectroletemplatebindings prtb-qx874 prtb-7zw7s
|
||||
kubectl --namespace c-m-abcde-p-vwxyz delete projectroletemplatebindings prtb-qx874 prtb-7zw7s
|
||||
```
|
||||
|
||||
## Creating a Namespace in a Project
|
||||
|
||||
The Project resource resides in the management cluster, even if the Project is for a managed cluster. The namespaces under the project reside in the managed cluster.
|
||||
|
||||
On the management cluster, look up the project ID for the cluster you are administrating since it generated using `metadata.generateName`:
|
||||
On the management cluster, look up the project ID for the cluster you are administrating if generated using `metadata.generateName`:
|
||||
|
||||
```bash
|
||||
kubectl --namespace c-m-abcde get projects
|
||||
@@ -204,3 +215,5 @@ kubectl --namespace c-m-abcde delete project p-vwxyz
|
||||
```
|
||||
|
||||
Note that this command doesn't delete the namespaces and resources that formerly belonged to the project.
|
||||
|
||||
It does delete all project role template bindings for the projects, so recreating the project will not restore members added to the project, and you have to add users as members again.
|
||||
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?
|
||||
|
||||
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.
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.
+17
-1
@@ -42,8 +42,24 @@ kubectl -n cattle-system create secret generic tls-ca \
|
||||
|
||||
The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
|
||||
|
||||
The certificate chain must be properly formatted, or components may fail to download resources from the Rancher server.
|
||||
|
||||
:::
|
||||
|
||||
## Adding Additional CA Certificates
|
||||
|
||||
If you are using a node driver that makes API requests with a different CA than the one configured for Rancher, you can add additional root certificates and certificate chains.
|
||||
|
||||
Create a unique file ending in `.pem` for each certificate that is required, and use kubectl to create the
|
||||
`tls-additional` secret in the `cattle-system` namespace.
|
||||
|
||||
```console
|
||||
kubectl -n cattle-system create secret generic tls-additional \
|
||||
--from-file=cacerts1.pem=cacerts1.pem --from-file=cacerts2.pem=cacerts2.pem
|
||||
```
|
||||
|
||||
Rancher mounts these CA root certificates and certificate chains into the node driver pod during provisioning.
|
||||
|
||||
## Updating a Private CA Certificate
|
||||
|
||||
Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
|
||||
Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
|
||||
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.
Loaded 100 of 2498 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user