-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docusaurus Upgrade v3.1.1 #1139
base: main
Are you sure you want to change the base?
Changes from 4 commits
5335520
16436be
ac914a8
b02b477
9fc4582
d6ab032
3d901f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line 27 needs backticks:
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,11 +51,14 @@ systemctl start rke2-server.service | |
``` | ||
1. To join the rest of the nodes, you need to configure each additional node with the same shared token or the one generated automatically. Here is an example of the configuration file: | ||
|
||
``` | ||
token: my-shared-secret | ||
server: https://<DNS-DOMAIN>:9345 | ||
tls-san: | ||
- my-kubernetes-domain.com | ||
- another-kubernetes-domain.com | ||
``` | ||
|
||
After that, you need to run the installer and enable, then start, rke2: | ||
|
||
curl -sfL https://get.rke2.io | sh - | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line needs triple backticks
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -222,15 +222,17 @@ Authorized Cluster Endpoint (ACE) support has been added for registered RKE2 and | |
``` | ||
|
||
2. Add the following to the config file (or create one if it doesn’t exist); note that the default location is `/etc/rancher/{rke2,k3s}/config.yaml`: | ||
```yaml | ||
```console | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is |
||
kube-apiserver-arg: | ||
- authentication-token-webhook-config-file=/var/lib/rancher/{rke2,k3s}/kube-api-authn-webhook.yaml | ||
``` | ||
|
||
3. Run the following commands: | ||
|
||
```console | ||
sudo systemctl stop {rke2,k3s}-server | ||
sudo systemctl start {rke2,k3s}-server | ||
``` | ||
|
||
4. Finally, you **must** go back to the Rancher UI and edit the imported cluster there to complete the ACE enablement. Click on **⋮ > Edit Config**, then click the **Networking** tab under Cluster Configuration. Finally, click the **Enabled** button for **Authorized Endpoint**. Once the ACE is enabled, you then have the option of entering a fully qualified domain name (FQDN) and certificate information. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ For private nodes or private clusters, the environment variables need to be set | |
|
||
## Required Environment Variables | ||
|
||
When adding Fleet agent environment variables for the proxy, replace <PROXY_IP> with your private proxy IP. | ||
When adding Fleet agent environment variables for the proxy, replace `<PROXY_IP>` with your private proxy IP. | ||
|
||
| Variable Name | Value | | ||
|------------------|--------| | ||
| `HTTP_PROXY` | http://<PROXY_IP>:8888 | | ||
| `HTTPS_PROXY` | http://<PROXY_IP>:8888 | ||
| `HTTP_PROXY` | `http://<PROXY_IP>:8888` | | ||
| `HTTPS_PROXY` | `http://<PROXY_IP>:8888`| | ||
| `NO_PROXY` | 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels like each of the values listed here should have backticks:
|
||
|
||
## Setting Environment Variables in the Rancher UI | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having some trouble flagging this, but the example on line 158 needs backticks: