HarrisKirk / blue-green-dreams

2 stars 1 forks source link

Create LKE cluster with linode-cli #16

Closed HarrisKirk closed 1 year ago

HarrisKirk commented 1 year ago

Since I have not been able to find a way to create a linode with docker using the linode-cli tool, I will try stepping up to kubernetes.

HarrisKirk commented 1 year ago

linode-cli lke cluster-create --label gwa --region us-east --node_pools.type g6-standard-1 --k8s_version 1.21.5 Request failed: 400 ┌errors───────┬──────────────────────────┐ │ field │ reason │ ├─────────────┼──────────────────────────┤ │ k8s_version │ k8s_version is not valid │ └─────────────┴──────────────────────────┘

I have tried these versions: 1.25, 1.21, 1.21.0, 1.21.5 without success

HarrisKirk commented 1 year ago

1.24 was needed.

HarrisKirk commented 1 year ago

To create the k8s cluster: linode-cli lke cluster-create --label gwa --region us-east --node_pools.type g6-standard-1 --k8s_version 1.24 --node_pools.count 2

To delete the cluster: linode-cli lke cluster-delete xxxx To get the status of each node: linode-cli lke pools-list 86813