Skip to content

Instantly share code, notes, and snippets.

@microwaves
Created December 19, 2017 14:34
Show Gist options
  • Save microwaves/4a93e2e77d07c2773f249a78c84aef2a to your computer and use it in GitHub Desktop.
Save microwaves/4a93e2e77d07c2773f249a78c84aef2a to your computer and use it in GitHub Desktop.
# To create a k8s configuration description out of whatever command you issue to kubectl, without executing the operation.
kubectl create service externalname --external-name=foo foo -o yaml --dry-run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment