27
loading...
This website collects cookies to deliver better user experience
systeminfo
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
Install kubectl if not installed already. Link
Install a hypervisor if not installed already. Hyper-V or VirtualBox
minikube start --driver=<DriverName>
Example
minikube start --driver=hyperv
minikube status
minikube stop
minikube delete
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
deployment.apps/hello-minikube created
kubectl expose deployment hello-minikube --type=NodePort --port=8080
service/hello-minikube exposed
kubectl get pod
NAME READY STATUS RESTARTS AGE
hello-minikube 0/1 ContainerCreating 0 3s
NAME READY STATUS RESTARTS AGE
hello-minikube 1/1 Running 0 11m
minikube service hello-minikube --url
[http://172.24.160.91:30599](http://172.24.160.91:30599)
Hostname: hello-minikube
Pod Information:
-no pod information available-
Server values:
server_version=nginx: 1.13.3 - lua: 10008
Request Information:
client_address=172.17.0.1
method=GET
real path=/
query=
request_version=1.1
request_scheme=http
request_uri=http://172.24.160.91:8080/
Request Headers:
accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
accept-encoding=gzip, deflate
accept-language=en-US,en;q=0.9
cache-control=max-age=0
connection=keep-alive
host=172.24.160.91:30599
upgrade-insecure-requests=1
user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Request Body:
-no body in request-