Skip to content

Instantly share code, notes, and snippets.

@dora-gt
Created November 5, 2018 16:52
Show Gist options
  • Save dora-gt/bd3da6831d735162ab1d3c39c9f71082 to your computer and use it in GitHub Desktop.
Save dora-gt/bd3da6831d735162ab1d3c39c9f71082 to your computer and use it in GitHub Desktop.
export POD_NAME=$(kubectl get pods --namespace default -l "app=ethereum-geth-tx,release=ethereum" -o jsonpath="{.items[0].metadata.name}")

The above doesn't work, at least at the current version.
It should be like this:

export POD_NAME=$(kubectl get pods --namespace default -l "app=ethereum,component=geth-tx" -o jsonpath="{.items[0].metadata.name}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment