loft create vcluster dev-anna
Creating namespace 'vcluster-dev-anna'
Applying security templates to namespace
Starting virtual cluster inside namespace
Virtual cluster 'dev-anna' successfully started.
Loft has created a kube-context on your local machine to access this virtual cluster. It is your current kube-context now.
kubectl get namespaces
NAME STATUS AGE
default Active 5s
kube-system Active 5s
kube-public Active 5s
kube-node-lease Active 5s
kubectl create deployment nginx-deployment --image=nginx
deployment.apps/nginx-deployment created
kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-deployment-84cd76b964-mnvzz 1/1 Running 0 3s