Often usefull for in-cluster debugging.
$ kubectl run --generator=run-pod/v1 --image=alpine:3.5 -it alpine-shell -- /bin/sh
detach (without killing the container):
| # Configuration for /etc/init.d/klipper | |
| KLIPPY_USER=android | |
| KLIPPY_CONFIG=/home/$KLIPPY_USER/klipper_config/printer.cfg | |
| KLIPPY_LOG=/home/$KLIPPY_USER/klipper_logs/klippy.log | |
| KLIPPY_SOCKET=/tmp/klippy_uds | |
| KLIPPY_PRINTER=/tmp/printer | |
| KLIPPY_EXEC=/home/$KLIPPY_USER/klippy-env/bin/python | |
| KLIPPY_ARGS="/home/$KLIPPY_USER/klipper/klippy/klippy.py $KLIPPY_CONFIG -l $KLIPPY_LOG -a $KLIPPY_SOCKET" |
| knowledge dump on container runtimes | |
| KataContainers | |
| - image coupled with kernel | |
| - light vm layer | |
| - can run in nested virturalization environments if hardware supports and you can enable it in bios (ex. only bare metal EC2 instances, limits many cloud providers) | |
| - slower startup time | |
| - OCI compliant | |
| - previously known as ClearContainers by Intel |