It took me about 4 minutes to create a Kubernetes cluster with a single node using doctl, is there a faster way to do it? Because I want to create a new Kubernetes cluster every time I run gitlab ci.
$ time doctl kubernetes cluster create integrating-test-cluster --region=sfo3 --size=s-2vcpu-4gb --count=1 Notice: Cluster is provisioning, waiting for cluster to be running ...................................................... Notice: Cluster created, fetching credentials Notice: Adding cluster credentials to kubeconfig file found in Notice: Setting current-context to do-sfo3-integrating-test-cluster ID Name Region Version Auto Upgrade Status Node Pools 791f4e7e-8cd9-4939-af8e-a300e68fa460 integrating-test-cluster sfo3 1.28.2-do.0 false running integrating-test-cluster-default-pool doctl kubernetes cluster create integrating-test-cluster --region=sfo3 0.17s user 0.07s system 0% cpu 4:58.89 total
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.