HOW TO INSTALL KUBECTL AND MINIKUBE ON LINUX


Kubernetes is an excellent way to implement your applications, which is very popular among teams working in technology. However, before you start, you must install the cli kubectl tool and you can also install the minikube so you can experiment with things. Minikube is a limited environment that is not produced and you can use it to test kubernetes.

This article will show you how to install the latest versions of both, and we'll see how to use it in another article in the future. There are lots of useful YouTube videos that can start as soon as you install them.

Install kubectl on Linux

Now, this will not matter if you are running Fedora, Ubuntu, CentOS or any other Linux distribution when you install the Curl.

To install the latest version of kubectl in Linux, just open the device and download the latest version using curl. You can do this as a regular user.

curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

Once downloaded, you'll need to make it executable.
chmod +x ./kubectl

Then simply move it somewhere in your $ PATH so you can write your name without typing the full path. You will need sudo for this if you move it to / usr / local / bin /.

sudo mv ./kubectl /usr/local/bin/

You can also move it to another PATH $ site, probably from your main directory. For a complete list of your PATH $ sites, just type echo $ PATH into your device.

After you move it, you can now test whether it works.
kubectl

You should see the help file appear because it does not give you any arguments.

Here's a quick overview of the process:

VirtualBox

To install the minikube, you must make sure that Virtualbox is installed. If you do not have it, you can download it for distribution here:
https://www.virtualbox.org/wiki/Linux_Downloads
www.virtualbox.org

Install minikube in Linux

This is very similar to installing kubectl. Again, it does not matter what flavor Linux you are using.

Now that you have installed Virtualbox, you can use Curl to download the latest version of the minikube.

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64


Then, make it executable with Chmod.

chmod +x ./minikube

Finally, take it somewhere in PATH $

sudo mv ./minikube /usr/local/bin/

To start minikube, type minikube start.

Once it's started (it may take some time, but it will be updated all the way), type kubectl, and get everything, and you might see something similar to this output:

[[email protected] ~]$ kubectl get all
NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
service/kubernetes   ClusterIP   10.96.0.1    <none>        443/TCP   88s

To turn off the minikube, simply type minikube stop.

I hope this is useful. We will continue with some basics of kubernetes (k8s) to get started!

Source and thanks : Linux.org

  • [message]
    • ##laptop## Support
      • Support Us by Disable your ad block.
      • thank you

COMMENTS

Name

7zip,1,Android,8,Android Emulator,1,APK,2,AppImage,1,Apple,3,APT,3,Arch,5,ASUS,1,Black Shark,1,BlueStack,1,Calculator,1,Cinnamon,1,Client,3,Code,3,Comic,1,Compression Tool,1,Debian,6,DELL,1,Desktop,2,Developers,3,Elementary OS,1,Encryption,1,FACEBOOK,1,Fedora,4,fix,2,Fortnite,1,Gadgets,4,Gamer,4,Gaming,1,geeks,11,GNOME,3,GNOME TWEAK TOOL,1,Google,2,Google Go,1,Hacking Tools,1,How To,19,IBM,1,IDE,1,Intel,1,iOS,4,iPads,1,Javascript,1,Kali Linux,1,KDE,2,Laptop,1,linux,24,Linux Mint,6,LXDE,1,Mac,2,MacOS,4,Manjaro,2,MATE,1,MX Linux,1,Network,3,NEWS,9,Open Source,16,OpenSuse,3,ParrotSec,1,Password,2,Programming,2,Programs,6,Repository,1,Review,2,ROG Phone,1,Security,4,Server,1,SmartPhone,3,SNAP,1,Snapd,1,Software,3,SONY,1,TECH,13,Text Editor,2,Torrent,1,tutorial,16,Ubuntu,10,Ubuntu Kylin,2,vim,1,VMware,1,VPN,1,Web Master,1,Whatsapp,1,Windows,5,Windows Phone,1,XFCE,1,Xiaomi,1,XPS,1,Zorin OS,1,
ltr
item
Linuxer Geeks: HOW TO INSTALL KUBECTL AND MINIKUBE ON LINUX
HOW TO INSTALL KUBECTL AND MINIKUBE ON LINUX
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL_a6om2ApWnf-1J62a08gJvQPdx-YMqdmKWdYt2kIxnK38EzY3r79E1k2RR8X-u5DTb6kPTPTaTjiHig3VN3K1EW_YS23UXquvAjwNfhP39XjKmerPk2fi7PlHT3-OFNUfpF9l-_i0wQ/s640/carbon+%25289%2529.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL_a6om2ApWnf-1J62a08gJvQPdx-YMqdmKWdYt2kIxnK38EzY3r79E1k2RR8X-u5DTb6kPTPTaTjiHig3VN3K1EW_YS23UXquvAjwNfhP39XjKmerPk2fi7PlHT3-OFNUfpF9l-_i0wQ/s72-c/carbon+%25289%2529.png
Linuxer Geeks
https://linuxergeeks.blogspot.com/2019/06/how-to-install-kubectl-and-minikube-on.html
https://linuxergeeks.blogspot.com/
https://linuxergeeks.blogspot.com/
https://linuxergeeks.blogspot.com/2019/06/how-to-install-kubectl-and-minikube-on.html
true
7822317774280320736
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy