зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 04:44:18 +02:00
54 строки
1.7 KiB
Plaintext
54 строки
1.7 KiB
Plaintext
https://rancher.com/docs/k3s/latest/en/installation/install-options/
|
|
#installing-k3s-from-the-binary
|
|
|
|
https://docs.k3s.io/advanced
|
|
cri-dockerd by default
|
|
https://github.com/Mirantis/cri-dockerd
|
|
curl -sfL https://get.k3s.io | sh -s - --docker
|
|
|
|
|
|
https://www.rancher.co.jp/docs/k3s/latest/en/running/
|
|
|
|
curl -sfL https://get.k3s.io | sh -
|
|
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v0.3.0 INSTALL_K3S_EXEC="--write-kubeconfig-mode 644" sh -
|
|
|
|
INSTALL_K3S_EXEC=
|
|
"--write-kubeconfig-mode 644"
|
|
--disable-agent
|
|
|
|
# Check for Ready node, takes maybe 30 seconds
|
|
k3s kubectl get node
|
|
|
|
k3s.service
|
|
k3s --version
|
|
|
|
sudo k3s server &
|
|
# Kubeconfig is written to /etc/rancher/k3s/k3s.yaml
|
|
sudo k3s kubectl get node
|
|
|
|
# On a different node run the below. NODE_TOKEN comes from /var/lib/rancher/k3s/server/node-token
|
|
# on your server
|
|
sudo k3s agent --server https://myserver:6443 --token ${NODE_TOKEN}
|
|
|
|
k3s
|
|
|
|
/usr/local/bin/
|
|
k3s-kilall.sh
|
|
k3s-uninstall.sh
|
|
k3s
|
|
crictl
|
|
kubectl
|
|
|
|
echo "export node_token=$(sudo cat /var/lib/rancher/k3s/server/node-token)"
|
|
sudo /usr/local/bin/k3s agent --server https://<ip:port> --token "$node_token" >&k3s-agent.log &
|
|
|
|
2020
|
|
https://www.liquidweb.com/kb/how-to-install-and-configure-rancher-k3s/
|
|
2019
|
|
https://okteto.com/blog/lightweight-kubernetes-development-with-k3s-and-okteto/
|
|
https://raw.githubusercontent.com/rancher/k3s/master/docker-compose.yml
|
|
????
|
|
https://collabnix.com/multi-node-k3s-cluster-on-nvidia-jetson-nano-in-5-minutes/
|
|
https://tutorials.keptn.sh/tutorials/keptn-installation-k3s-07/index.html?index=..%2F..keptn07x#2
|
|
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.18.3+k3s1 K3S_KUBECONFIG_MODE="644" sh -s - --no-deploy=traefik
|