mirror of https://github.com/k3s-io/k3s
1.7 KiB
1.7 KiB
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/docs/getting-started-guides/aws/kubectl.md).Documentation for other releases can be found at releases.k8s.io.
Install and configure kubectl
Download the kubectl CLI tool
### Darwin
wget https://storage.googleapis.com/kubernetes-release/release/v0.19.3/bin/darwin/amd64/kubectl
### Linux
wget https://storage.googleapis.com/kubernetes-release/release/v0.19.3/bin/linux/amd64/kubectl
Copy kubectl to your path
chmod +x kubectl
mv kubectl /usr/local/bin/
Create a secure tunnel for API communication
ssh -f -nNT -L 8080:127.0.0.1:8080 core@<master-public-ip>