diff --git a/4.prueba_k8s.sh b/4.prueba_k8s.sh index 8fe3cf7..9d92591 100755 --- a/4.prueba_k8s.sh +++ b/4.prueba_k8s.sh @@ -8,6 +8,16 @@ kubectl get deployment -n demo-app kubectl get pods -n demo-app +kubectl expose deployment nginx-app -n demo-app --type NodePort --port 80 +kubectl get svc -n demo-app + +# poner la IP obtenida +#### curl http://: + +curl http://localhost:30336 + + + kubectl run test-pod2 --image=busybox -- sleep 3600 diff --git a/README.md b/README.md index e314064..4abffc3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ https://pabpereza.notion.site/Install-kubernetes-1-28-on-Ubuntu-Server-20-04-LTS-6f8d28eadb6242f0a78c40eaa0211167 +https://medium.com/@pabloperezaradros/install-kubernetes-1-28-e42ad9194d4f + https://www.linuxtechi.com/install-kubernetes-on-ubuntu-24-04/