This is Part 2 Article for Kubernetes Administration Course. In this Part will go through some basic command to run on kubernetes and Minikube
Help on MiniKube command:
minikube <command> --help
Minikube config view
minikube config view
Above Command will return nothing as we have not set any config for minikube. We can start doing from below command
minikube config set memory 16384
Befor Setting config make sure to check your ram size and set value accordingly. Also above changes will take after recreating the cluster as its development server it’s okay to recreate.
To check the minikube addons enable list run below command
minikube addons list
This courses is created for bigneers in kubernetes installation and Administation
Firt we need to start installation from local, So it can be done easily and have better opproach toward learning kubernetes, No one want to burn their bucks for nothing!!.
This course is designed for ubuntu or linux based OS. I am assuming you have famirality with linux command , docker , git, package installation, linux security , CI/CD Tool line Jenkins , virtualbox .
Ubuntu — V18.04
Follow below command to to install minikube in ubuntu
sudo apt-get update -y
Today i gonna so you how to install Nginx in ubuntu.
It’s just take some time to install and ready with nginx installation.
Why i have chosen system with linux because it’s great OS that gives you flexibility to run all the opensource application that’s been heavily used in industry. If you are windows user then its good run VM.
So fist boot up Ubuntu or any linux machine.
$ sudo apt-get update -y
then install nginx
$sudo apt-get install nginx
If you are setup with nginx then we will setup the firewall as well.
To check the firewall status…
Generally when we are building docker image from windows system and using entry.sh or any shell file generally it may give error as — no such file or directory, standard_init_linux.go 207 no such file or directory
So above are the error which will cause not run shell script inside docker environment
So whenever we run below command on windows docker build we can encounter below scenario
first we have entery.sh point declare on the docker file
Docker build -t demo/tutorial1:latest .
When build is completed and try to run the command
docker run demo/tutorial1:latest
We can get —…