Quick Start
https://docs.k3s.io/quick-start
curl -sfL https://get.k3s.io | sh -
sudo k3s kubectl get node --kubeconfig /etc/rancher/k3s/k3s.yaml
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
apiVersion: v1
kind: Pod
metadata:
name: meu-pod
spec:
containers:
- name: nginx-container
image: nginx
sudo k3s kubectl apply -f pod.yaml
k3s kubectl get pods