Skip to content

Instantly share code, notes, and snippets.

@inspire12
Created December 19, 2025 07:52
Show Gist options
  • Select an option

  • Save inspire12/bf12acfec5ba0ac0c714777a95007b9e to your computer and use it in GitHub Desktop.

Select an option

Save inspire12/bf12acfec5ba0ac0c714777a95007b9e to your computer and use it in GitHub Desktop.
# ec2
sudo cat /etc/rancher/k3s/k3s.yaml > /home/ubuntu/k3s-embedded.yaml
sudo chown ubuntu:ubuntu /home/ubuntu/k3s-embedded.yaml
# local
scp -i {key pair path} \
ubuntu@{ec2 ip}:/home/ubuntu/k3s-embedded.yaml \
~/.kube/k3s-gangwon-ec2.yaml
export KUBECONFIG=~/.kube/k3s-gangwon-ec2.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment