From 76a6605d9cb07fa5bbf15b8d0fcec5e9137364a2 Mon Sep 17 00:00:00 2001 From: cengizhanR <125203906+cengizhanR@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:06:23 +0300 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d79651f..b74bb0e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # Rke2 Rke2Installation +#RKE2 Instalaltion +#The RKE2 Kubernetes API Server uses port 6443, while the Rancher server will be served via the NGINX Ingress on ports 80 and 443. +# RKE2 will generate one and place it at /var/lib/rancher/rke2/server/node-token +#The RKE2 config file needs to be created manually. You can do that by running touch /etc/rancher/rke2/config.yaml as a privileged user. +#Note that the rke2 server process listens on port 9345 for new nodes to register. +Two cleanup scripts, rke2-killall.sh and rke2-uninstall.sh, will be installed to the path at: +/usr/local/bin for regular file systems +/opt/rke2/bin for read-only and brtfs file systems +INSTALL_RKE2_TAR_PREFIX/bin if INSTALL_RKE2_TAR_PREFIX is set +A kubeconfig file will be written to /etc/rancher/rke2/rke2.yaml. +A token that can be used to register other server or agent nodes will be created at /var/lib/rancher/rke2/server/node-token +echo -e "[keyfile]\nunmanaged-devices=interface-name:cali*;interface-name:flannel*" > /etc/NetworkManager/conf.d/rke2-canal.conf +systemctl reload NetworkManager