Skip to content

Instantly share code, notes, and snippets.

@arosales
Created November 14, 2019 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arosales/67776c9458683d5e79b2d2a0ba82f51a to your computer and use it in GitHub Desktop.
Save arosales/67776c9458683d5e79b2d2a0ba82f51a to your computer and use it in GitHub Desktop.
NAME: click
LAST DEPLOYED: Thu Nov 14 00:41:31 2019
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get the WordPress URL:
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
Watch the status with: 'kubectl get svc --namespace default -w click-wordpress'
export SERVICE_IP=$(kubectl get svc --namespace default click-wordpress --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}")
echo "WordPress URL: http://$SERVICE_IP/"
echo "WordPress Admin URL: http://$SERVICE_IP/admin"
2. Login with the following credentials to see your blog
echo Username: user
echo Password: $(kubectl get secret --namespace default click-wordpress -o jsonpath="{.data.wordpress-password}" | base64 --decode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment