You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(venv-metal) michaelobrien@mbp8 src % kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
docker-desktop docker-desktop docker-desktop
* minikube minikube minikube default
(venv-metal) michaelobrien@mbp8 src % kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready control-plane 47s v1.31.0
(venv-metal) michaelobrien@mbp8 src % kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0
deployment.apps/hello-minikube created
(venv-metal) michaelobrien@mbp8 src % kubectl expose deployment hello-minikube --type=NodePort --port=8080
service/hello-minikube exposed
(venv-metal) michaelobrien@mbp8 src % kubectl get services hello-minikube
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
hello-minikube NodePort 10.100.248.95 <none> 8080:32602/TCP 8s
(venv-metal) michaelobrien@mbp8 src % minikube service hello-minikube
|-----------|----------------|-------------|---------------------------|
| NAMESPACE | NAME | TARGET PORT | URL |
|-----------|----------------|-------------|---------------------------|
| default | hello-minikube | 8080 | http://192.168.49.2:32602 |
|-----------|----------------|-------------|---------------------------|
🏃 Starting tunnel for service hello-minikube.
|-----------|----------------|-------------|------------------------|
| NAMESPACE | NAME | TARGET PORT | URL |
|-----------|----------------|-------------|------------------------|
| default | hello-minikube | | http://127.0.0.1:61703 |
|-----------|----------------|-------------|------------------------|
🎉 Opening service default/hello-minikube in default browser...
❗ Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
^C✋ Stopping tunnel for service hello-minikube.
better natively served
(venv-metal) michaelobrien@mbp8 src % kubectl port-forward service/hello-minikube 7080:8080
Forwarding from 127.0.0.1:7080 -> 8080
Forwarding from [::1]:7080 -> 8080
Handling connection for 7080
(venv-metal) michaelobrien@Michaels-MBP pipeline % curl http://127.0.0.1:7080
Request served by hello-minikube-7d48979fd6-w6zvd
HTTP/1.1 GET /
Host: 127.0.0.1:7080
Accept: */*
User-Agent: curl/8.7.1
The text was updated successfully, but these errors were encountered: