Kuberenetes in minutes (strikethrough - should be hours)

  • I installed a Kubernetes Cluster (a few of them actually, due to trial and error)
  • I tried following this tutorial;
  • However…
  • The tutorial includes a step to SSH into the Master node
  • QUESTION 1: How do I know what is the Master node? By default it creates 3 droplets, and none is denoted as the Master.
  • QUESTION 2: Why doesn’t the tutorial say that the default firewall rules block Port 22? This leads to SSH timeouts. It’s easily fixed if you just know to go to the Firewall for the Cluster and add a rule to allow SSH.
  • QUESTION 3: Why doesn’t the tutorial say how to deal with the localhost error that comes next (after establishing SSH)?
  • QUESTION 4: What is the correct Public IP for the cluster? Given that I have 3 Droplets in the Cluster, and none is marked as the Master, how do I know which Public IP to use?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

I think that the guide is specifically for unmanaged Kubernetes cluster that you’ve setup by yourself on a few droplets. That way you would know your master node IP address and you will be able to SSH to it.

With the managed Kubernetes you don’t have direct SSH access but you could use the kubectl command to interact with the API, so the guide would work in the same way but you would be executing those deployment yaml files from another node using the Kubernetes API.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel