Sie sind auf Seite 1von 3

Windows PowerShell

Copyright (C) Microsoft Corporation. Tous droits réservés.

Testez le nouveau système multiplateforme PowerShell https://aka.ms/pscore6

PS C:\Windows\system32> minikube dashboard


* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:59376/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:60223/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> ^C
PS C:\Windows\system32> ^C
PS C:\Windows\system32> ^C
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:65340/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* This control plane is not running! (state=Stopped)
! This is unusual - you may want to investigate using "minikube logs"
- To fix this, run: "minikube start"
PS C:\Windows\system32> minikube dashboard
X Unable to get control plane status: https://192.168.99.100:8443/healthz returned
error 403:
{"kind":"Status","apiVersion":"v1","metadata":
{},"status":"Failure","message":"forbidden: User \"system:anonymous\" cannot get
path \"/healthz\"","reason":"Forbidden","details":{},"code":403}

- To fix this, run: "minikube delete"


PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:49936/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> ^C
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:59495/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> ^C
PS C:\Windows\system32> minikube dashboard
* This control plane is not running! (state=Stopped)
! This is unusual - you may want to investigate using "minikube logs"
- To fix this, run: "minikube start"
PS C:\Windows\system32> minikube start
* minikube v1.14.2 sur Microsoft Windows 10 Pro 10.0.19041 Build 19041
* Utilisation du pilote virtualbox basé sur le profil existant
* Démarrage du noeud de plan de contrôle minikube dans le cluster minikube
* Mise à jour du VM virtualbox en marche "minikube" ...
* Préparation de Kubernetes v1.19.2 sur Docker 19.03.12...
* Verifying Kubernetes components...
* Verifying ingress addon...
* Enabled addons: metrics-server, helm-tiller, storage-provisioner, dashboard,
default-storageclass, ingress
* Done! kubectl is now configured to use "minikube" by default
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:61059/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> ^C
PS C:\Windows\system32> minikube start
* minikube v1.14.2 sur Microsoft Windows 10 Pro 10.0.19041 Build 19041
* Utilisation du pilote virtualbox basé sur le profil existant
* Démarrage du noeud de plan de contrôle minikube dans le cluster minikube
* Mise à jour du VM virtualbox en marche "minikube" ...
* Préparation de Kubernetes v1.19.2 sur Docker 19.03.12...
! Unable to restart cluster, will reset it: addons: /bin/bash -c "sudo env
PATH=/var/lib/minikube/binaries/v1.19.2:$PATH kubeadm init phase addon all --config
/var/tmp/minikube/kubeadm.yaml": Process exited with status 1
stdout:

stderr:
W1031 04:20:09.086809 128983 configset.go:348] WARNING: kubeadm cannot validate
component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
error execution phase addon/coredns: couldn't retrieve DNS addon deployments: Get
"https://control-plane.minikube.internal:8443/apis/apps/v1/namespaces/kube-
system/deployments?labelSelector=k8s-app%3Dkube-dns": net/http: request canceled
(Client.Timeout exceeded while awaiting headers)
To see the stack trace of this error execute with --v=5 or higher

PS C:\Windows\system32> minikube stop


* Stopping node "minikube" ...
* 1 nœud(s) arrêté(s).
PS C:\Windows\system32> minikube start
* minikube v1.14.2 sur Microsoft Windows 10 Pro 10.0.19041 Build 19041
* Utilisation du pilote virtualbox basé sur le profil existant
* Démarrage du noeud de plan de contrôle minikube dans le cluster minikube
* Restarting existing virtualbox VM for "minikube" ...
* Préparation de Kubernetes v1.19.2 sur Docker 19.03.12...
* Verifying Kubernetes components...
* Verifying ingress addon...
* Enabled addons: default-storageclass, storage-provisioner, helm-tiller, metrics-
server, ingress, dashboard
* Done! kubectl is now configured to use "minikube" by default
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:61301/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:61573/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> ^C
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:60832/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:61054/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:58900/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> minikube dashboard
* Verifying dashboard health ...
* Launching proxy ...
* Verifying proxy health ...
* Opening http://127.0.0.1:59190/api/v1/namespaces/kubernetes-
dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
PS C:\Windows\system32> Get-History

Id CommandLine
-- -----------
1 minikube dashboard
2 minikube dashboard
3 minikube dashboard
4 minikube dashboard
5 minikube dashboard
6 minikube dashboard
7 minikube dashboard
8 minikube dashboard
9 minikube start
10 minikube dashboard
11 minikube start
12 minikube stop
13 minikube start
14 minikube dashboard
15 minikube dashboard
16 minikube dashboard
17 minikube dashboard
18 minikube dashboard
19 minikube dashboard

PS C:\Windows\system32>

Das könnte Ihnen auch gefallen