Importance of DUI Lawyer in the Thug Compensation System

Drunk driving and intoxicated driving charges are very serious, and the law uses such cases to set an example. The charges and laws surrounding such charges differ from one state to another, as do…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Running kubectl from outside your kubernetes home lab cluster

Kubectl is a command line interface that communicates with the kubernetes API server to interact with the cluster. Everything on k8s is, practically, done by using this cli command. So, it is extremely important for you to master it! It is a good practice to have it running outside the cluster, so that you can exercise your skills without the need to running it from inside one of your control plane servers. Let’s begin!

kubectl from the outside

When you install a kubernetes cluster using kubeadm you’re instructed to make some configurations in your order to run kubectl. In this tutorial, I explain how you can configure the kubectl to run from “outside” the kubernetes home lab cluster that you’ve created by following up one of my other tutorials:

Please, before moving forward, create your cluster using one of the methods above. As these methods of building, from the ground up, a k8s cluster does a lot of automatic stuff, I have also made some customizations in the process to make it easier go grab the files needed bye kubectl to connect to your home lab cluster.

To run this tutorial you will need to have pre-installed on your computer the latest version of the following components:

hosts.out output
kubectl get nodes output from outside

As you can see, the result is the same as the last step of the previous tutorials. The difference here is that you don't need to go inside one of the control plane servers to execute the kubectl.

Stay tunned. In the next tutorial I will explain how to to use kubectl from outside the cluster on another computer in the same “home lab’s network”.

Add a comment

Related posts:

Profound Benefits of Massage Therapy for Your Health

Did you know that massage therapy offers incredible benefits for both your mind and body? It’s time to prioritize your self-care and experience the transformative power of massage. 🌺✨ Massage…

5 Steps to Get Hired as an AI Product Manager

AI PMs are expected to have more than just tech and business chops. They need to be strategic. They need to be aware of the general industry trends. In my career, I have seen situations where…

Online Marketplace Optimization Tools Market Business Strategies and Massive Demand by 2031

The report titled Online Marketplace Optimization Tools has recently been published by Absolute Markets Insights which provide readers with a perceptive and cogent business outlook. The data also…