That it’s possible to attach a shell to a running container via the DevContainer Visual Studio Code extension
How to run a local Kubernetes cluster in a Lima VM with Colima
- Install colima
- Start a Kubernetes cluster with
bash colima start --kubernetes
- Switch to the created Kubernetes context
bash kubectl config set-context colima
- Check that you have access to the Kubernetes cluster running in Colima
kubectl get all --all-namespaces
$ NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/local-path-provisioner-84db5d44d9-qwwtn 1/1 Running 0 26m
kube-system pod/coredns-6799fbcd5-g2w2b 1/1 Running 0 26m
kube-system pod/metrics-server-67c658944b-4lzc7 1/1 Running 0 26m
devspace pod/app-devspace-74d8f4bc8-dttp9 1/1 Running 0 22m
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 10.43.0.1 <none> 443/TCP 26m
kube-system service/kube-dns ClusterIP 10.43.0.10 <none> 53/UDP,53/TCP,9153/TCP 26m
kube-system service/metrics-server ClusterIP 10.43.3.234 <none> 443/TCP 26m
# ...