kubectl run

Run pods in Kubernetes. Specifies pod generator to avoid deprecation error in some K8S versions.

=> More information.

kubectl run --generator=run-pod/v1 nginx --image=nginx --port 80
kubectl run --generator=run-pod/v1 nginx --image=nginx --env="TEST_VAR=testing"
kubectl run --generator=run-pod/v1 nginx --image=nginx --dry-run
kubectl run --generator=run-pod/v1 -it temp-ubuntu --image=ubuntu:20.04 --restart=Never --rm -- /bin/bash
kubectl run --generator=run-pod/v1 temp-ubuntu --image=ubuntu:20.04 --command -- echo arg1 arg2 arg3
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/kubectl-run.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
105.443633 milliseconds
Gemini-to-HTML Time
0.389173 milliseconds

This content has been proxied by September (ba2dc).