1 / 7

Beginner’s Guide to Setup Kubernetes

In this blog, we are going to provide you with how to make a connection between Local Systems and Kubernetes(k8s).

Download Presentation

Beginner’s Guide to Setup Kubernetes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Beginner’s Guide to Setup Kubernetes we are going to provide you with how to make a connection between Local Systems and Kubernetes(k8s). Besides connection, our major focus would be on how to Install Kuberneteson the Linux system.

  2. Steps to install Kubernetes The below steps mentioned to be executed on both the master and node machines. Let’s call the master as ‘kmaster‘ and node as ‘knode‘. 1.1 Change to root: Here, the changing root has been applied because the sudo provides permission to set up Kubernetes, and to avoid the permission process we have changed the root.‌ $ sudosu # apt-get update This command used to update a system.

  3. Install Kubernetes 1.2 Turn Off Swap Space: Kubernetes doesn't support "swap". So we have to apply the below command to turn off the swap space. # swapoff -a1.3 Fstab action After that, you need to open the ‘fstab’ file and comment out the line which has mention of swap partition. # nano /etc/fstab

  4. Installing the Kubernetes Dashboard 1.4 Update The Hostnames To change the hostname of both machines, run the below command to open the file and subsequently rename the master machine to ‘kmaster’ and your node machine to ‘knode’. # nano /etc/hostnamePress ‘Ctrl+X’, after that press ‘Y’ and then press ‘Enter’ to Save the file.

  5. Kubernetes Dashboard Token Now open the below Kubernetes dashboard URL in a browser. http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/. The given link will direct you to the Kubernetes dashboard. Here, to build a connection we need a token (key). And the key will be explained to you by the below commands.

  6. Kubernetes Dashboard Token As mentioned in the below screenshot, that shows you to opt from those 2 options, i.e. Kubeconfig & Token. We prefer you to select token, and insert the key and proceed with the sign-in process. After the sign-in, it will show you the dashboard main page. On that page, we can see the node’s running stage, replicas, clusters, etc. and every action that we perform on a created object. It helps us to visualize every action of master and node.

  7. Edge detection tutorial for beginners CONTACT US We serve in an industry built on trust and it takes years to build this trust. Trust can be achieved through proper communication, support, availability, experience and many more. Address: #D-258, FIFTH FLOOR, PHASE-8 A INDUSTRIAL AREA, MOHALI Tel:(+91) 8968488244 Site: https://blog.paradisetechsoft.com/installing-the-kubernetes-dashboard/

More Related