You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai-prompts/Import-Rancher-docs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,4 @@ Convert `xref:` calls that point to a relative path into external `link:` calls.
22
22
23
23
* Derive the new URL by appending the relative path to the base URL found in the file's top comment.
24
24
* Replace the `.adoc` file extension with `.html`.
25
-
* Match cross references that start with underline such as '_features_for_all_registered_clusters' with the right section by its name and prepend the section with corresponding ID such as [#_features_for_all_registered_clusters]
25
+
* Match cross references that start with underline such as 'features-for-all-registered-clusters' with the right section by its name and prepend the section with corresponding ID such as [#features-for-all-registered-clusters]
Copy file name to clipboardExpand all lines: tasks/NVIDIA-Operator-installation.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ endif::[]
28
28
:override-abstract!:
29
29
:override-title!:
30
30
31
-
[#_host_os_requirements]
31
+
[#host-os-requirements]
32
32
== Host OS requirements
33
33
34
34
To expose the GPU to the pod correctly, the NVIDIA kernel drivers and the `libnvidia-ml` library must be correctly installed in the host OS. The NVIDIA Operator can automatically install drivers and libraries on some operating systems. Refer to the NVIDIA documentation for information on https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/platform-support.html#supported-operating-systems-and-kubernetes-platforms[supported operating system releases]. The installation of the NVIDIA components on your host OS is out of the scope of this documentation, refer to the NVIDIA documentation for instructions.
@@ -119,7 +119,7 @@ After one minute approximately, you can perform the following checks to verify t
119
119
kubectl get node $NODENAME -o jsonpath='{.metadata.labels}' | grep "nvidia.com/gpu.deploy.driver"
120
120
----
121
121
+
122
-
You should see the value `pre-installed`. If you see `true`, the drivers were not correctly installed. If the <<_host_os_requirements,pre-requirements>> were correct, it is possible that you forgot to reboot the node after installing all packages.
122
+
You should see the value `pre-installed`. If you see `true`, the drivers were not correctly installed. If the <<host-os-requirements,pre-requirements>> were correct, it is possible that you forgot to reboot the node after installing all packages.
Copy file name to clipboardExpand all lines: tasks/Rancher-installation-airgapped-kubernetes.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The steps to set up an air-gapped Kubernetes cluster on RKE2 or K3s are shown be
37
37
--
38
38
In this guide, we are assuming you have created your nodes in your air-gapped environment and have a secure Docker private registry on your bastion server.
39
39
40
-
[#_1_create_rke2_configuration]
40
+
[#create-rke2-configuration]
41
41
== 1. Create RKE2 configuration
42
42
43
43
Create the `config.yaml` file at `/etc/rancher/rke2/config.yaml`. This will contain all the configuration options necessary to create a highly available RKE2 cluster.
@@ -67,7 +67,7 @@ For more information, refer to the https://documentation.suse.com/cloudnative/rk
67
67
RKE2 additionally provides a `resolv-conf` option for kubelets, which may help with configuring DNS in air-gap networks.
68
68
====
69
69
70
-
[[_2_create_registry_yaml]]
70
+
[[create-registry-yaml]]
71
71
== 2. Create Registry YAML
72
72
73
73
Create the `registries.yaml` file at `/etc/rancher/rke2/registries.yaml`. This will tell RKE2 the necessary details to connect to your private registry.
@@ -94,7 +94,7 @@ configs:
94
94
For more information on private registries configuration file for RKE2, refer to the https://documentation.suse.com/cloudnative/rke2/latest/en/install/containerd_registry_configuration.html[RKE2 documentation.]
95
95
96
96
97
-
[[_3_install_rke2]]
97
+
[[install-rke2]]
98
98
== 3. Install RKE2
99
99
100
100
Rancher needs to be installed on a supported Kubernetes version. To find out which versions of Kubernetes are supported for your Rancher version, refer to the link:https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/[SUSE Rancher Support Matrix].
For more information, refer to the https://documentation.suse.com/cloudnative/rke2/latest/en/install/airgap.html[RKE2 documentation].
126
126
127
-
[[_4_save_and_start_using_the_kubeconfig_file]]
127
+
[[save-and-start-using-the-kubeconfig-file]]
128
128
== 4. Save and Start Using the kubeconfig File
129
129
130
130
When you installed RKE2 on each Rancher server node, a `kubeconfig` file was created on the node at `/etc/rancher/rke2/rke2.yaml`. This file contains credentials for full access to the cluster, and you should save this file in a secure location.
@@ -165,7 +165,7 @@ kubectl --kubeconfig ~/.kube/config/rke2.yaml get pods --all-namespaces
165
165
166
166
For more information about the `kubeconfig` file, refer to the https://documentation.suse.com/cloudnative/rke2/latest/en/cluster_access.html[RKE2 documentation] or the https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/[official Kubernetes documentation] about organizing cluster access using `kubeconfig` files.
167
167
168
-
[#_note_on_upgrading]
168
+
[#note-on-upgrading]
169
169
== Note on Upgrading
170
170
171
171
Upgrading an air-gap environment can be accomplished in the following manner:
Copy file name to clipboardExpand all lines: tasks/Rancher-register-clusters.adoc
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ endif::[]
27
27
28
28
The cluster registration feature replaced the feature to import clusters.
29
29
30
-
The control that Rancher has to manage a registered cluster depends on the type of cluster. For details, see <<_management_capabilities_for_registered_clusters,Management Capabilities for Registered Clusters.>>
30
+
The control that Rancher has to manage a registered cluster depends on the type of cluster. For details, see <<management-capabilities-for-registered-clusters,Management Capabilities for Registered Clusters.>>
31
31
32
32
== Prerequisites
33
33
@@ -81,7 +81,7 @@ endif::[]
81
81
. If you are importing a generic Kubernetes cluster in Rancher, perform the following steps for setup:
82
82
.. Click **Agent Environment Variables** under **Cluster Options** to set environment variables for link:https://documentation.suse.com/cloudnative/rancher-manager/v2.13/en/cluster-deployment/about-rancher-agents.html[rancher cluster agent]. The environment variables can be set using key value pairs. If rancher agent requires use of proxy to communicate with Rancher server, `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` environment variables can be set using agent environment variables.
83
83
.. Enable Project Network Isolation to ensure the cluster supports Kubernetes `NetworkPolicy` resources. Users can select the **Project Network Isolation** option under the **Advanced Options** dropdown to do so.
84
-
.. <<_configuring_version_management_for_suse_rancher_prime_rke2_and_suse_rancher_prime_k3s_clusters,Configure the version management feature for imported RKE2 and K3s clusters>>.
84
+
.. <<configuring-version-management-for-suse-rancher-prime-rke2-and-suse-rancher-prime-k3s-clusters,Configure the version management feature for imported RKE2 and K3s clusters>>.
85
85
. Click *Create*.
86
86
. The prerequisite for `cluster-admin` privileges is shown (see *Prerequisites* above), including an example command to fulfil the prerequisite.
87
87
. Copy the `kubectl` command to your clipboard and run it on a node where kubeconfig is configured to point to the cluster you want to import. If you are unsure it is configured correctly, run `kubectl get nodes` to verify before running the command shown in Rancher.
You can find additional examples for other cloud providers in the https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster[Rancher2 Terraform Provider documentation].
=== Additional Features for Registered {rke2} and {k3s} Clusters
179
179
180
180
https://documentation.suse.com/cloudnative/k3s/latest/en/introduction.html[K3s] is a lightweight, fully compliant Kubernetes distribution for edge installations.
181
181
182
182
https://documentation.suse.com/cloudnative/rke2/latest/en/introduction.html[RKE2] is Rancher's next-generation Kubernetes distribution for datacenter and cloud installations.
183
183
184
184
When an RKE2 or K3s cluster is registered in Rancher, Rancher will recognize it.
185
-
The Rancher UI will expose features available to <<_features_for_all_registered_clusters,all registered clusters>>, along with the following options for editing and upgrading the cluster:
185
+
The Rancher UI will expose features available to <<features-for-all-registered-clusters,all registered clusters>>, along with the following options for editing and upgrading the cluster:
186
186
187
-
* Enable or disable <<_configuring_version_management_for_suse_rancher_prime_rke2_and_suse_rancher_prime_k3s_clusters,version management>>
187
+
* Enable or disable <<configuring-version-management-for-suse-rancher-prime-rke2-and-suse-rancher-prime-k3s-clusters,version management>>
188
188
* link:https://documentation.suse.com/cloudnative/rancher-manager/v2.13/en/cluster-admin/backups-and-restore/backups-and-restore.html[Upgrade the Kubernetes version] when version management is enabled
189
-
* Configure the <<_configuring_suse_rancher_prime_rke2_and_suse_rancher_prime_k3s_cluster_upgrades,upgrade strategy>> when version management is enabled
189
+
* Configure the <<configuring-suse-rancher-prime-rke2-and-suse-rancher-prime-k3s-cluster-upgrades,upgrade strategy>> when version management is enabled
190
190
* View a read-only version of the cluster’s configuration arguments and environment variables used to launch each node
=== Additional Features for Registered EKS, AKS, and GKE Clusters
195
195
196
196
Rancher handles registered EKS, AKS, or GKE clusters similarly to clusters created in Rancher. However, Rancher doesn't destroy registered clusters when you delete them through the Rancher UI.
@@ -209,7 +209,7 @@ endif::[]
209
209
210
210
See link:https://documentation.suse.com/cloudnative/rancher-manager/v2.13/en/cluster-deployment/cluster-deployment.html[Cluster Management Capabilities by Cluster Type] for more information about what features are available for managing registered clusters.
0 commit comments