Setup - Linode
Setting up a Kubernetes Cluster with Linode (linode)
Last updated
Setting up a Kubernetes Cluster with Linode (linode)
Last updated
a Linode account
linode-cli
and linode credentials configured
kubectl
LINUX/MAC is the preferred method of setup.
Windows should choose either:
Deploy a THORNode from a Linux VPS.
Use Windows Subsystem for Linux - ****
To install the linode-cli (Linode CLI), follow .
You need to have pip (python) on your system.
Create a Linode API token for your account with read and write access from your . The token string is only displayed once, so save it in a safe place.
Use the API token to grant linode-cli access to your Linode account. Pass in the token string when prompted by linode-cli.
MacOS:
Windows:
MacOS:
Windows:
Use the commands below to deploy a Kubernetes cluster.
You can run the make command that automates those command for you like this:
Or manually run each commands:
Now that you've provisioned your Kubernetes cluster, you need to configure kubectl.
To configure authentication from the command line, use the following command, substituting the ID of your cluster.
This replaces the existing configuration at ~/.kube/config.
Once done, you can check your cluster is responding correctly by running the command:
To destroy and remove previously created resources, you can run the command below.
Or run the commands manually:
To install the kubectl (Kubernetes CLI), follow or choose a package manager based on your operating system.
Use the package manager to install kubectl.
Use the package manager to install kubectl.
To install the wget, follow or choose a package manager based on your operating system.
Use the package manager to install wget.
Use the package manager to install wget.
Note: If the above linode-cli
command is broken you can download the file from the web for the respective cluster.