How do I set up a k8s cluster on windows?

0 votes
How do I set up a k8s cluster on windows?
Feb 25 in Kubernetes by Nadia
45 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 by Roshan

Related Questions In Kubernetes

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
• 46,320 points
350 views
0 votes
1 answer
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 in Kubernetes by Sirajul
• 41,000 points
47 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17 in Others by anonymous
3,533 views
+3 votes
1 answer
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 in Kubernetes by Shlok
23 views