Kubernetes is harder to pronounce than it is to use. If you've never used it before, you'll be comfortable deploying your Docker containers on CoreWeave Cloud in no time. We've put the following command reference together to help you perform simple tasks as you get better acquainted.
SIMPLE STATUS COMMANDSkubectl get [resource_type]kubectl get deployments # Shows a list of all running deploymentskubectl get pods # Shows a list of all running podskubectl get services # Shows a list of all running serviceskubectl get pvc # Show a list of all active Persistent Volume Claims
DESCRIBE PODS AND GET LOGSkubectl describe [resource_type] [resource_name/id]kubectl describe pod [pod_id] # Shows detailed information about the status of a podkubectl logs -f [pod_id] # Gets streaming logs of a pod
DELETE RESOURCESkubectl delete [resource_type] [resource_name/id]kubectl delete pod [pod_id] # Deletes a pod, deployment will start a new onekubectl delete deployment [deployment_name] # Deletes a deployment, will not restart
SCALE DEPLOYMENTSkubectl scale --replicas=[number] [resource_type]/[resource_name/id]## Scale a deployment to [number] of replicaskubectl scale --replicas=[number] deployments/[deployment_name]
INTERACT WITH RUNNING PODSkubectl exec -it [pod_id] /bin/bash # Opens a bash shell in your pod