From 6b66856dc4a22bbe4c674f7642752d07c6fb3128 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sun, 5 Dec 2021 00:22:46 +0100 Subject: [PATCH] DOC: add INSTALL.md --- INSTALL.md | 12 ++++++++++++ README.md | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 INSTALL.md diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..e11c20c --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,12 @@ +# Install k3s single master node + +``` +curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik,metrics-server" sh -s - +``` + +Copy `/etc/rancher/k3s/k3s.yaml` on your machine located outside the cluster as +`~/.kube/config`. + +Then: +* replace "127.0.0.1" with the IP or name of your K3s server. +* rename cluster/context/auth (Hint: `s/default/myserver/g`) diff --git a/README.md b/README.md index a8582bb..16cf7ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Kubernetes Baseline -Install: * [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/) * [cert-manager](https://cert-manager.io/) * [metrics-server](https://github.com/bitnami/charts/tree/master/bitnami/metrics-server)