Editing Kubectl run
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | {{Draft}} | ||
{{lc}} | {{lc}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
Line 30: | Line 11: | ||
kubectl run -it --rm --image=mysql:5.6 --restart=Never mysql-client -- mysql -h mysql -ppassword | kubectl run -it --rm --image=mysql:5.6 --restart=Never mysql-client -- mysql -h mysql -ppassword | ||
− | |||
[[kubectl run]] my-mariadb-client --rm --tty -i --restart='Never' --image docker.io/bitnami/mariadb:10.6.8-debian-10-r0 --namespace default --command -- bash | [[kubectl run]] my-mariadb-client --rm --tty -i --restart='Never' --image docker.io/bitnami/mariadb:10.6.8-debian-10-r0 --namespace default --command -- bash | ||
== Changelog == | == Changelog == | ||
− | * [[v1.18]] | + | * [[v1.18]] kubectl run now only creates [[pods]] |
+ | |||
− | == Related == | + | == Related commands == |
* <code>[[kubectl apply]]</code> | * <code>[[kubectl apply]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{kubectl}} | * {{kubectl}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: