How do I set up a k8s cluster on windows

0 votes
How do I set up a k8s cluster on windows?
Feb 25, 2019 in Kubernetes by Nadia
608 views

1 answer to this question.

0 votes

Hey @Nadia, follow these steps to create a kubernetes cluster on windows:

Open PowerShell

Install package minikube with the following command

choco install minikube

Install Kubernetes command line interface using the following command

choco install kubernetes-cli

Change Hyper-V settings. Open Hyper-V and go to Virtual SwitchClick on New virtual network switch on the right-hand side, select External for the network type, and then click the Create Virtual Switch button.

Name the network Minikube v switch and then set it as an external network

Start minikube with this command:

minikube start --vm-driver hyperv --hyperv-virtual-switch "minikube v switch"

Open a new command window, this time as a normal user and run the following command

kubectl get pods -n kube-system
answered Feb 25, 2019 by Roshan

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

How do you set-up Mongo replica set on Kubernetes?

Follow these steps To create a Kubernetes 1.5 ...READ MORE

answered Aug 30, 2018 in Kubernetes by Kalgi
• 52,360 points
1,940 views
0 votes
1 answer

How do I expose a service to a host outside the cluster?

There are two ways by which we ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
722 views
0 votes
1 answer

How do i tie a service to a pod or a set of pods?

By declaring pods with the label(s) and ...READ MORE

answered Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
1,699 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,331 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,945 views
0 votes
1 answer
0 votes
1 answer

How do I deploy Rancher on a Linux system?

Step 1: Prepare a Linux host and install ...READ MORE

answered Mar 28, 2019 in Kubernetes by Shlok
486 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP