Skip to content

Instantly share code, notes, and snippets.

@adam-stokes
Created August 26, 2017 03:47
Show Gist options
  • Select an option

  • Save adam-stokes/727c6c550457864fd3212f867ee706f5 to your computer and use it in GitHub Desktop.

Select an option

Save adam-stokes/727c6c550457864fd3212f867ee706f5 to your computer and use it in GitHub Desktop.
$ kubectl get svc --namespace default ghosty-ghost -o json|jq -r '.status.loadBalancer.ingress[0]["hostname"]'
ae05a6a678a0c11e7bc240626b5106b1-1310603334.us-east-1.elb.amazonaws.com
$ export APP_HOST=ae05a6a678a0c11e7bc240626b5106b1-1310603334.us-east-1.elb.amazonaws.com
$ export APP_PORT=80
$ helm upgrade ghosty --set ghostHost=$APP_HOST,ghostPort=$APP_PORT,persistence.storageClass=ebs-1,persistence.existingClaim=my-test-claim-ebs stable/ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment