Last active
November 9, 2022 05:22
-
-
Save yusufhm/39b5b7df81894eff810507ee529bbca9 to your computer and use it in GitHub Desktop.
kube commands - kubernetes | kubectl | lagoon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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