Kubernetes: Porovnání verzí
Z Poznámkový blok
(Založena nová stránka s textem „== Instalace == K3S server: sudo su - curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" sh - K3S server token: cat /var/lib/rancher/k3s/server/…“) |
|||
Řádka 11: | Řádka 11: | ||
sudo su - | sudo su - | ||
curl -sfL https://get.k3s.io | K3S_URL=https://IP_K3S_SERVERU:6443 K3S_TOKEN=TOKEN_K3S_SERVERU sh - | curl -sfL https://get.k3s.io | K3S_URL=https://IP_K3S_SERVERU:6443 K3S_TOKEN=TOKEN_K3S_SERVERU sh - | ||
+ | |||
+ | == Konfigurace == | ||
+ | kubernetes proxy: | ||
+ | kubectl proxy --disable-filter=true --address IP_ADDRESA |
Verze z 29. 7. 2023, 02:25
Instalace
K3S server:
sudo su - curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" sh -
K3S server token:
cat /var/lib/rancher/k3s/server/node-token
K3S Agent:
sudo su - curl -sfL https://get.k3s.io | K3S_URL=https://IP_K3S_SERVERU:6443 K3S_TOKEN=TOKEN_K3S_SERVERU sh -
Konfigurace
kubernetes proxy:
kubectl proxy --disable-filter=true --address IP_ADDRESA