1. Download kubectl, minikube, minishift and store at the following location
C:\Program Files\Kubernetes\minikube
2. Add this path to environment variable
Start -> Type env -> Click on system environment variable
and click on environment varilable and double click on PATH from System Variables section
Click on New and paste your path.
3. Open your command prompt and type minukube
if you get out put rather than error message, it is set up correctly. If you get error, fix it.
4. Download and install virtualbox from virtualbox.org
5. Open your DOS prompt and run the command below,
> minikube start --driver=virtualbox
This command basically downloads all required packages to install and setup kubernetes.
6. I basically rename kubectl command to kc only so I will have shortcut
https://cloud.redhat.com/openshift/install
7. Verify the configuration
C:\Users\Admin>cd .kube
C:\Users\Admin\.kube>dir
C:\Users\Admin\.kube>notepad config
C:\Users\Admin\.kube>kc cluster-info
Kubernetes master is running at https://192.168.99.100:8443
KubeDNS is running at https://192.168.99.100:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
C:\Users\Admin>kc get all
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 42m
8. Install following tools
- Visual Studio Code
- Node.js
- git
- OpenShift CLI (oc)
Reference Documents
https://kubernetes.io/docs/tasks/tools/install-kubectl/
https://github.com/kubernetes/minikube/releases/tag/v1.12.0
https://cloud.redhat.com/openshift/install
https://code.visualstudio.com/docs/?dv=win
https://nodejs.org/en/download/
https://cloud.redhat.com/openshift/install/crc/installer-provisioned
C:\Program Files\Kubernetes\minikube
2. Add this path to environment variable
Start -> Type env -> Click on system environment variable
and click on environment varilable and double click on PATH from System Variables section
Click on New and paste your path.
3. Open your command prompt and type minukube
if you get out put rather than error message, it is set up correctly. If you get error, fix it.
4. Download and install virtualbox from virtualbox.org
5. Open your DOS prompt and run the command below,
> minikube start --driver=virtualbox
This command basically downloads all required packages to install and setup kubernetes.
6. I basically rename kubectl command to kc only so I will have shortcut
https://cloud.redhat.com/openshift/install
7. Verify the configuration
C:\Users\Admin>cd .kube
C:\Users\Admin\.kube>dir
C:\Users\Admin\.kube>notepad config
C:\Users\Admin\.kube>kc cluster-info
Kubernetes master is running at https://192.168.99.100:8443
KubeDNS is running at https://192.168.99.100:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
C:\Users\Admin>kc get all
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 42m
8. Install following tools
- Visual Studio Code
- Node.js
- git
- OpenShift CLI (oc)
Reference Documents
https://kubernetes.io/docs/tasks/tools/install-kubectl/
https://github.com/kubernetes/minikube/releases/tag/v1.12.0
https://cloud.redhat.com/openshift/install
https://code.visualstudio.com/docs/?dv=win
https://nodejs.org/en/download/
https://cloud.redhat.com/openshift/install/crc/installer-provisioned
No comments:
Post a Comment