Command-line interface for Neterial services.
Linux, macOS(brew), and Windows WSL:
curl -sSL https://get.neterial.io/cli.sh | bash
Read INSTALL.md for details and alternative ways to install.
Run for login/signup and discover clouds:
neterial init
Check your connected clouds:
neterial provider list
You need to have a Hetzner Cloud account. If you don't have one yet, you can register with our referral link and receive €20 in Hetzner Cloud credits.
Read how to create API token in Hetzner Cloud
Connect your cloud by adding a Hetzner Cloud API token:
neterial provider init hcloud
Read how to add AWS credentials
Connect your cloud by adding AWS credentials:
neterial provider init aws
neterial kube create cluster
Get access to the cluster:
kubectl config use-context default-neterial-admin@default-neterial
kubectl get nodes
If you see the nodes, your cluster is ready for work.
The --cloud
parameter accepts either hcloud
or aws
.
neterial kube create cluster --name [CLUSTER_NAME] --cloud [CLOUD]
neterial kube create cluster --worker-vm-type [VM_TYPE] --worker-count [COUNT]
neterial kube create cluster --cloud [CLOUD] --location [LOCATION]
AWS:
neterial kube create cluster --cloud aws --location us-east-1
Hetzner cloud:
neterial kube create cluster --cloud hcloud --location ash
You can choose the VM used for the worker. This is how you can control the compute capacity of your cluster.
neterial kube create node --cluster [CLUSTER_NAME] --vm-type [VM_TYPE]
neterial kube create cluster --name thename --worker-vm-type [VM_TYPE]
neterial kube create node --cluster [CLUSTER_NAME]
List all nodes:
neterial kube get nodes --cluster [CLUSTER_NAME]
Remove a specific node:
neterial kube delete node --cluster [CLUSTER_NAME] --node [NODE_NAME]
⚠️ Warning: This operation will permanently remove your Neterial account. You will still have access to your clusters, but you will no longer be able to manage them using the Neterial platform.
neterial account delete