User Tools

Site Tools


k3s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
k3s [2025/11/14 13:25]
ian created
k3s [2025/11/14 15:48] (current)
ian
Line 2: Line 2:
  
 <code> <code>
-curl -sfL https://get.k3s.io | sh -s - server --cluster-init+curl -sfL https://get.k3s.io | sudo sh -s - server --cluster-init --write-kubeconfig-mode "0644"
 [INFO]  Finding release for channel stable [INFO]  Finding release for channel stable
 [INFO]  Using v1.33.5+k3s1 as release [INFO]  Using v1.33.5+k3s1 as release
Line 10: Line 10:
 [INFO]  Installing k3s to /usr/local/bin/k3s [INFO]  Installing k3s to /usr/local/bin/k3s
 [INFO]  Skipping installation of SELinux RPM [INFO]  Skipping installation of SELinux RPM
-[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists+[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
 [INFO]  Creating /usr/local/bin/crictl symlink to k3s [INFO]  Creating /usr/local/bin/crictl symlink to k3s
 [INFO]  Creating /usr/local/bin/ctr symlink to k3s [INFO]  Creating /usr/local/bin/ctr symlink to k3s
Line 21: Line 21:
 [INFO]  systemd: Starting k3s [INFO]  systemd: Starting k3s
 </code> </code>
 +
 +<code>
 +$ export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
 +
 +$ kubectl config get-contexts
 +CURRENT   NAME      CLUSTER   AUTHINFO   NAMESPACE
 +*         default   default   default
 +
 +$ kubectl get no
 +NAME    STATUS   ROLES                       AGE    VERSION
 +nuc10   Ready    control-plane,etcd,master   131m   v1.33.5+k3s1
 +</code>
 +
 +===== Automatic Upgrades =====
 +
 +https://docs.k3s.io/upgrades/automated
 +
k3s.1763144704.txt.gz ยท Last modified: 2025/11/14 13:25 by ian

free spam filter