termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Run an nginx pod and expose port 80
kubectl run
Run pods in Kubernetes. Specifies pod generator to avoid deprecation error in some K8S versions.
More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#run>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
kubectl run --generator=run-pod/v1 nginx --image=nginx --port 80
click the source code to copy
install
kubectl run
on any operating system with
command-not-found.com