metrics server: it collects resource metrics from kubelets and exposes them in k8s api server through metrics api. tcp port 10250
curl -sfL https://get.k3s.io | sh -
sudo groupadd k3s sudo usermod -aG k3s $USER sudo chown root:k3s /etc/rancher/k3s/k3s.yaml sudo chmod 740 /etc/rancher/k3s/k3s.yaml
curl -sfL https://get.k3s.io | K3S_URL=https://k3sserver:6443 K3S_TOKEN=mynodetoken sh -
cat < podtemplate.yaml apiVersion: v1 kind: Pod metadata: name: cowfortune spec: containers: - name: funbox-cow image: wernight/funbox command: ["fortune | cowsay"] EOF