Quickstart
This section helps you to quickly install Edge on a Lightweight Kubernetes (K3s) cluster with default options. For detailed instructions, see Installing Edge on Kubernetes.
-
Verify that your hardware meets the requirements specified in Prerequisites.
-
Run the command below to install K3s.
USER_NAME=$(whoami) sudo sh -c ' echo "vm.panic_on_oom=0\nvm.overcommit_memory=1\nkernel.panic=10\nkernel.panic_on_oops=1" >> /etc/sysctl.d/90-kubelet.conf && \ sysctl -p /etc/sysctl.d/90-kubelet.conf && \ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.25.13+k3s1 sh -s - \ --disable=traefik \ --write-kubeconfig-mode 644 \ --protect-kernel-defaults true \ --kube-apiserver-arg=admission-control=ValidatingAdmissionWebhook,MutatingAdmissionWebhook && \ mkdir -p '"$HOME"'/.kube && \ cp /etc/rancher/k3s/k3s.yaml '"$HOME"'/.kube/config && \ chown '"$USER_NAME:"' '"$HOME"'/.kube/config && \ chmod 600 '"$HOME"'/.kube/config && \ echo -e "\e[32mSuccessfully installed k3s!\e[0m" '
-
Run the command below to install Helm v3.
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
-
Run the command below to install the Edge Operator and provide the repository credentials when prompted.
curl -sfL //files/edge-k8s/c8yedge-operator-install.sh -O && bash ./c8yedge-operator-install.sh
-
Run the command below to apply Edge CR (c8yedge-sample.yaml) for installing Edge version 1018.0.0 named c8yedge with the domain yourtenant.ram.m2m.telekom.com.
kubectl apply -f //files/edge-k8s/c8yedge-sample.yaml
-
See Verifying the Edge installation and Accessing Edge to sign into Edge.