Kubernetes & Containers

191 commands

kubectl versionkubectl cluster-infokubectl cluster-info dumpkubectl get nodeskubectl get nodes -o widekubectl get podskubectl get pods -o widekubectl get pods --watchkubectl get pods --field-selector=status.phase=Runningkubectl get deploykubectl get svckubectl get ingresskubectl get nskubectl get pvckubectl get secretskubectl get configmapskubectl get events --sort-by=.lastTimestampkubectl get all -n stagingkubectl get pod web-7d8f9c -o jsonpath={.status.podIP}kubectl get crdskubectl describe node node-akubectl describe pod web-7d8f9ckubectl api-resourceskubectl explain podskubectl explain deploy.spec.template.spec.containerskubectl create ns stagingkubectl create deployment web --image=nginx:1.25kubectl run web --image=nginx:1.25kubectl run web --image=nginx:1.25 --dry-run=client -o yamlkubectl apply -f deploy.yamlkubectl apply -k ./kustomize-dirkubectl diff -f deploy.yamlkubectl apply --server-side -f deploy.yamlkubectl delete -f deploy.yamlkubectl delete pod web-7d8f9ckubectl delete pod web-7d8f9c --force --grace-period=0kubectl delete ns stagingkubectl logs web-7d8f9ckubectl logs -f deploy/webkubectl logs deploy/web --tail=100kubectl exec -it web-7d8f9c -- /bin/shkubectl cp web-7d8f9c:/app/config.json ./config.jsonkubectl port-forward svc/web 8080:80kubectl debug node/node-a -it --image=busyboxkubectl debug web-7d8f9c -it --image=busyboxkubectl rollout status deploy/web --timeout=120skubectl rollout restart deploy/webkubectl rollout undo deploy/webkubectl rollout undo deploy/web --to-revision=2kubectl rollout history deploy/webkubectl rollout pause deploy/webkubectl rollout resume deploy/webkubectl scale deploy/web --replicas 3kubectl set image deploy/web web=nginx:1.26kubectl edit deploy/webkubectl patch deploy/web -p '{"spec":{"replicas":5}}'kubectl autoscale deploy/web --min=2 --max=10 --cpu-percent=70kubectl expose deployment web --type=NodePort --port=80kubectl config get-contextskubectl config current-contextkubectl config use-context prodkubectl config set-context --current --namespace=stagingkubectl config viewkubectl config delete-context stagingkubectl top nodeskubectl top podskubectl cordon node-akubectl uncordon node-akubectl drain node-a --ignore-daemonsetskubectl label node-a disktype=ssdkubectl taint node-a key=value:NoSchedulekubectl auth can-i create podskubectl auth can-i --list -n stagingkubectl auth whoamikubectl create secret generic db-pass --from-literal=password=secretkubectl create secret generic creds --from-file=creds.jsonkubectl create secret docker-registry regcred --docker-server=ghcr.io --docker-username=barry --docker-password=ch4nge-mekubectl create configmap app-config --from-file=config.yamlkubectl get secret db-pass -o yamlkubectl completion bash > ~/.kube/completion.bashkubectl proxykubectl wait --for=condition=Ready pod/web-7d8f9c --timeout=60shelm versionhelm search hub nginxhelm search repo bitnami/nginxhelm repo add bitnami https://charts.bitnami.com/bitnamihelm repo updatehelm repo listhelm repo remove bitnamihelm install my-web bitnami/nginxhelm install my-web bitnami/nginx --values values.yamlhelm upgrade my-web bitnami/nginx --set replicaCount=3helm rollback my-web 2helm history my-webhelm listhelm list -n monitoringhelm status my-webhelm uninstall my-webhelm template my-web bitnami/nginxhelm lint ./charthelm pull bitnami/nginx --untarhelm dependency build ./charthelm create mycharthelm show values bitnami/nginxhelm get manifest my-webk9sk9s -n stagingk9s -c podk9s --context prodk9s --readonlyk9s infopodman ps -apodman imagespodman search nginxpodman pull nginx:1.25podman run -d --name web -p 8080:80 nginxpodman run -it --rm alpine shpodman exec -it web shpodman logs -f webpodman stop webpodman start webpodman restart webpodman rm webpodman rmi nginxpodman build -t myapp .podman system dfpodman system prune -apodman volume create datapodman volume lspodman network create web-netpodman statspodman inspect webpodman login ghcr.iobuildah build -t myapp .buildah from alpinebuildah run alpine-working-container shbuildah commit alpine-working-container myappbuildah push myapp docker://registry.example.com/myapp:latestbuildah imagesbuildah containersbuildah inspect myappbuildah tag myapp myapp:1.0skopeo inspect docker://nginx:1.25skopeo inspect --config docker://nginx:1.25skopeo list-tags docker://nginxskopeo copy docker://nginx:1.25 docker://registry.example.com/nginx:1.25skopeo delete docker://registry.example.com/nginx:canarycrictl pscrictl ps -acrictl imagescrictl podscrictl pull nginx:1.25crictl logs 3f8d9c2a1b4ecrictl exec -it 3f8d9c2a1b4e shcrictl statscrictl rmi nginx:1.25crictl versionlxc list --format jsonlxc launch ubuntu:24.04 web01lxc launch ubuntu:24.04 db01 --vm -c limits.memory=2GiBlxc exec web01 -- systemctl status nginxlxc info web01lxc restart web01lxc delete web01lxc snapshot web01 snap1lxc restore web01 snap1lxc file push ./config.yaml web01/etc/config.yamllxc file pull web01/etc/nginx/nginx.conf ./nginx.conflxc image listlxc config set web01 limits.memory 512MBlxc config device add web01 www proxy listen=tcp:0.0.0.0:8080 connect=tcp:127.0.0.1:80lxc network listlxc config show web01minikube startminikube statusminikube stopminikube dashboardminikube tunnelminikube deleteminikube addons listminikube addons enable ingressminikube addons enable metrics-serverminikube ipminikube service webkind create clusterkind create cluster --name devkind create cluster --config kind-config.yamlkind get clusterskind delete clusterkind load docker-image myapp:latestkind export kubeconfig --name dev
Search all 7,657 commands instead.