kubectl run -it ubuntu --image=ubuntu -- bash
Jump to navigation
Jump to search
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 docker run ubuntu apt update
See also[edit]
Advertising: