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
85 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
• 51,890 points
766 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
• 55,750 points
103 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
• 55,750 points
126 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, 2019 in Others by anonymous
7,665 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 11, 2019 in Kubernetes by Kalgi
• 51,890 points

reshown Apr 12, 2019 by Kalgi 2,263 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
44 views