Skip to content

Instantly share code, notes, and snippets.

@yusufhm
Last active November 9, 2022 05:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yusufhm/39b5b7df81894eff810507ee529bbca9 to your computer and use it in GitHub Desktop.
kube commands - kubernetes | kubectl | lagoon
# Tail logs of running build of a Lagoon project's environment.
kubectl -n env-ns logs -f --selector=lagoon.sh/jobType=build
# Run a busybox image.
kubectl run -i -t busybox --image=busybox --restart=Never
# Run a curl image.
kubectl run curl --image=curlimages/curl --restart=Never -- https://google.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment