Difference between revisions of "Kubectl run -it ubuntu --image=ubuntu -- bash"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
[[kubectl attach ubuntu -c ubuntu -i -t]] | [[kubectl attach ubuntu -c ubuntu -i -t]] | ||
+ | [[kubectl run ubuntu]] | ||
== See also == | == See also == |
Revision as of 13:39, 7 February 2024
kubectl run -it ubuntu --image=ubuntu -- bash
root@ubuntu:/# df -kh Filesystem Size Used Avail Use% Mounted on overlay 59G 39G 17G 71% / tmpfs 64M 0 64M 0% /dev /dev/vda1 59G 39G 17G 71% /etc/hosts shm 64M 0 64M 0% /dev/shm tmpfs 7.7G 12K 7.7G 1% /run/secrets/kubernetes.io/serviceaccount tmpfs 3.9G 0 3.9G 0% /sys/firmware
kubectl attach ubuntu -c ubuntu -i -t
kubectl run ubuntu
See also
Advertising: