Hello everyone. I recently did the "Dive into Kube...
# academy
g
Hello everyone. I recently did the "Dive into Kubernetes" interactive course on Docker Desktop (can be installed as an extension). It helped me wrap my head around kubernetes. What I really enjoyed in that course is that the cluster was configured in such a way that you could easily extract the service IP addresses and curl them directly, for example:
Copy code
kubectl run hello-world --image=spurin/hello-app:1.0 --port 8080
HELLO_IP=$(kubectl get pods -o wide | grep hello-world | awk {'print $6'})
curl $HELLO_IP:8080
And it would simply work. I found this to be a really enjoyable aspect of learning. I am missing it both in Docker-Desktop-kubernetes and on k3d (which I just now started using). Is there a way to achieve this using any of the available learning options for kuberenetes?