Skip to content

Instantly share code, notes, and snippets.

@arosales
Created November 12, 2019 21:24
Show Gist options
  • Save arosales/e722252a77461108575b1437375d62e6 to your computer and use it in GitHub Desktop.
Save arosales/e722252a77461108575b1437375d62e6 to your computer and use it in GitHub Desktop.
# Verify Nginx Ingress was installed correctly:
kubectl get pods --all-namespaces -l app.kubernetes.io/name=ingress-nginx ⏎
# example output:
NAMESPACE NAME READY STATUS RESTARTS AGE
ingress-nginx nginx-ingress-controller-7fb85bc8bb-4s2sl 1/1 Running 0 152m
# Get IP of the Nginx Ingress LoadBalancer:
kubectl get svc ingress-nginx -n ingress-nginx -o jsonpath='{.status.loadBalancer.ingress[*].ip}' ⏎
# example out
134.209.142.6%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment