How to deploy an application with Kubernetes
If you want to deploy applications into a Kubernetes cluster, be warned — it’s not the easiest task. There are a lot of moving pieces that go into these scalable containers.
Don’t you wish you had a complete roadmap, from start to finish, to walk you through the process of deploying the Kubernetes cluster, deploying an app to the cluster, and connecting to that app from your LAN?
That’s what TechRepublic Premium’s here for, and we’re going to do just that: Walk you through the process of deploying the Kubernetes cluster and then deploying a Pod that’s reachable from your LAN.
From the guide:
HOW TO PREPARE YOUR SERVERS
The first thing we’re going to do is get our servers ready for Kubernetes. Let’s set the hostnames for each machine in our cluster. We’ll call them:
• kubecontroller
• kubenode1
• kubenode2
To set the hostname on each machine, you’ll issue the command:
sudo hostnamectl set-hostname NAME
Where NAME is the name to be used for the hostname.
Resource Details
* Sign up for a TechRepublic Premium subscription for $299.99/year, and download this content as well as any other content in our library. Cancel anytime. Details here.
* Sign up for a TechRepublic Premium subscription for $299.99/year, and download this content as well as any other content in our library. Cancel anytime. Details here.