Skip to content

Instantly share code, notes, and snippets.

@mattmattox
Created September 28, 2022 15:18
Show Gist options
  • Save mattmattox/2a5aadb30c457f08e067e8b597f085c6 to your computer and use it in GitHub Desktop.
Save mattmattox/2a5aadb30c457f08e067e8b597f085c6 to your computer and use it in GitHub Desktop.

Revisions

  1. mattmattox created this gist Sep 28, 2022.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #!/bin/bash
    ln -s /var/lib/rancher/rke2/bin/kubectl /usr/local/bin/kubectl
    mkdir -p ~/.kube/
    ln -s /var/lib/rancher/rke2/server/cred/admin.kubeconfig ~/.kube/config