With new solutions like Packet, bare metal environments in the cloud are gaining new momentum. Hosted cloud solutions like AWS were previously preferable to developers over bare metal because of the automation advantages they offer.
Packet’s strength is faster application development due to:
- Fast deployment (roughly 8 minutes)
- Dedicated servers
- The ability to create production-ready environments
What is Bare Metal and What Does It Mean?
A bare metal environment is a dedicated server without any virtualization, eliminating any shared resources usually required on hosted clouds.
Running your app on bare metal in the cloud introduces its own unique benefits that include cost, transparency, and performance.
Pairing Weave Cloud with Packet allows you to implement troubleshooting, continuous delivery, Prometheus monitoring, container networking, and security all on bare metal. This is thanks to the features that encompass Weave Cloud: Weave Cortex, Weave Flux, Weave Net, and Weave Scope.
How To Run Kubernetes on Bare Metal
By creating Weave Cloud and Packet accounts, you can set up your own Kubernetes cluster on bare metal by doing the following:
- First, create three Ubuntu servers from the Packet setup console.
- Next, create a Kubernetes cluster using kubeadm for installation:
- Of the three Ubuntu hosts, define which node is the master. This master node is where you’ll run your Kubernetes commands using kubectl.
- Use Weave Net to install a pod network. From the Packet console, you will be able to manage IP blocks.
- Ensure kube-dns is running before joining the nodes.
- Create a cluster by joining all nodes to the master.
- Begin DaemonSets, and launch all the Weave Cloud probes.
Once you follow those steps, you’ll be able to set up continuous delivery and monitoring your app using Weave Cortex’s Prometheus monitoring as a service. This will allow you to view Kubernetes in Weave Cloud. You can then deploy our sample sock shop app and drill down to explore Kubernetes in this bare metal, cloud environment.
Interested in trying out Kubernetes with Weave Cloud and Packet on your own? Check out the full guide on Packet’s website.
Additional step-by-step instructions for setting up your environment can be found here.