chowmean/k8s_Qwen2.5-0.5B-Instruct
Text Generation • 0.5B • Updated
• 10 • 1
eng stringlengths 9 112 | command stringlengths 14 163 | description stringlengths 21 105 |
|---|---|---|
list all pods in namespace default | kubectl get pods -n default | Listing all pods in the namespace default |
tell me all pods from namespace system | kubectl get pods -n system | Listing all pods in the namespace system |
what are the pods running in namespace testing | kubectl get pods -n testing | Listing all pods in the namespace testing |
what are the pods running in namespace production | kubectl get pods -n production | Listing all pods in the namespace production |
what are the pods running in namespace development | kubectl get pods -n development | Listing all pods in the namespace development |
what are the pods running in namespace stage | kubectl get pods -n stage | Listing all pods in the namespace stage |
what are the pods running in namespace stage | kubectl get pods -n stage | Listing all pods in the namespace stage |
what are the pods running in namespace testing-dev | kubectl get pods -n testing-dev | Listing all pods in the namespace testing-dev |
what are the pods running in namespace stage | kubectl get pods -n stage | Listing all pods in the namespace stage |
what are the pods running in namespace production | kubectl get pods -n production | Listing all pods in the namespace production |
get all services in all namespaces | kubectl get svc --all-namespaces | Listing all services in all namespaces |
what is the command to create a deployment named 'test-deployment' with image 'test-image' in namespace 'dev-ns' | kubectl create deployment test-deployment --image=test-image -n dev-ns | Creating a deployment named 'test-deployment' with image 'test-image' in namespace 'dev-ns' |
what are the pods running in namespace stage | kubectl get pods -n stage | Listing all pods in the namespace stage |
what is the command to create a new namespace named 'dev-ns' | kubectl create namespace dev-ns | Creating a new namespace named 'dev-ns' |
what are the pods running in namespace testing-dev | kubectl get pods -n testing-dev | Listing all pods in the namespace testing-dev |
what are the services running in namespace staging | kubectl get svc -n staging | Listing all services in the namespace staging |
get logs of pod pod1 in namespace prod
kubectl logs pod1 -n prod
Getting logs of pod pod1 in namespace prod | kubectl logs pod1 -n prod | Getting logs of pod pod1 in namespace prod |
list all services in namespace dev | kubectl get svc -n dev | Listing all services in namespace dev |
rollback deployment backend to revision 1 in namespace prod | kubectl rollout undo deployment backend --to-revision=1 -n prod | Rolling back deployment backend to revision 1 in namespace prod |
what is the command to create a service named 'my-service' for deployment 'my-deployment' with port 80 | kubectl expose deployment my-deployment --name=my-service --port=80 | Exposing deployment 'my-deployment' as a service named 'my-service' on port 80. |
list all secrets in namespace default | kubectl get secrets -n default | Listing all secrets in namespace default |
list all deployments in namespace default | kubectl get deployments -n default | Listing all deployments in namespace default |
what are the services running in namespace test-ns | kubectl get services -n test-ns | kubectl get services -n test-ns |
get logs of pod my-app in namespace production | kubectl logs my-app -n production | Getting logs of pod my-app in namespace production |
what are the services running in namespace production | kubectl get svc -n production | Listing all services in the namespace production |
what is the command to create a new namespace named 'dev-namespace' | kubectl create namespace dev-namespace | Creating a new namespace named 'dev-namespace' |
what are the pods running in namespace stage | kubectl get pods -n stage | Listing all pods in the namespace stage |
list all services in namespace dev | kubectl get svc -n dev | Listing all services in namespace dev |
describe pod pod2 in namespace kube-system | kubectl describe pod pod2 -n kube-system | Describing pod pod2 in namespace kube-system |
get logs of pod pod3 in namespace dev | kubectl logs pod3 -n dev | Getting logs of pod pod3 in namespace dev |
delete pod nginx-pod in namespace prod | kubectl delete pod nginx-pod -n prod | Deleting pod nginx-pod from namespace prod |
list all services in namespace default | kubectl get svc -n default | Listing all services in namespace default |
list all deployments in namespace kube-system | kubectl get deployments -n kube-system | Listing all deployments in namespace kube-system |
scale deployment nginx-deploy to 3 replicas in namespace dev | kubectl scale deployment nginx-deploy --replicas=3 -n dev | Scaling deployment nginx-deploy to 3 replicas in namespace dev |
get logs of pod my-database in namespace staging | kubectl logs my-database -n staging | Listing all my-database in the namespace staging |
What are the secrets running in namespace production | kubectl get secrets -n production | Listing all secrets in the namespace production |
list all deployments in namespace staging | kubectl get deployments -n staging | Listing all deployments in the namespace staging |
get logs of pod my-api in namespace production | kubectl logs my-api -n production | Listing all my-api in the namespace production |
what are the deployments running in namespace staging-backend | kubectl get deployments -n staging-backend | Listing all deployments in the namespace staging-backend |
list all secrets in namespace dev | kubectl get secrets -n dev | Listing all secrets in the namespace dev |
get logs of deployment api-deploy in namespace staging | kubectl logs deployment/api-deploy -n staging | Listing all deployment/api-deploy in the namespace staging |
what is the command to delete a service named 'data-service' in namespace 'temp-ns' | kubectl delete service data-service -n temp-ns | Listing all service data-service in the namespace temp-ns |
get logs of pod my-frontend in namespace staging | kubectl logs my-frontend -n staging | Listing all my-frontend in the namespace staging |
what is the command to delete a service named 'my-service' in namespace 'test-ns' | kubectl delete service my-service -n test-ns | Listing all service my-service in the namespace test-ns |
What is the command to view the logs for pod 'database-pod' in namespace 'production-db'? | kubectl logs database-pod -n production-db | Listing all database-pod in the namespace production-db |
get logs of pod my-frontend in namespace staging | kubectl logs my-frontend -n staging | Listing all my-frontend in the namespace staging |
What are the services running in namespace production? | kubectl get svc -n production | Listing all svc in the namespace production |
get all deployments in namespace staging | kubectl get deployments -n staging | Listing all deployments in the namespace staging |
what is the command to view all services in namespace staging-qa | kubectl get services -n staging-qa | Listing all services in the namespace staging-qa |
get logs of pod my-database in namespace staging | kubectl logs my-database -n staging | Listing all my-database in the namespace staging |
What is the command to delete a secret named 'db-secret' in namespace 'testing-ns' | kubectl delete secret db-secret -n testing-ns | Listing all secret db-secret in the namespace testing-ns |
get logs of pod my-frontend in namespace staging-qa | kubectl logs my-frontend -n staging-qa | Listing all my-frontend in the namespace staging-qa |
What is the command to view the logs of pod 'web-server' in namespace 'backend-test' | kubectl logs web-server -n backend-test | Listing all web-server in the namespace backend-test |
what is the command to get the status of service 'database-service' in namespace 'backend-staging' | kubectl describe service database-service -n backend-staging | Listing all service database-service in the namespace backend-staging |
get logs of pod my-database in namespace staging | kubectl logs my-database -n staging | Getting logs of pod my-database in namespace staging |
What are the services running in namespace development? | kubectl get svc -n development | Listing all services in the namespace development |
list all deployments in namespace staging | kubectl get deployments -n staging | Listing all deployments in the namespace staging |
what is the command to get the logs of pod 'data-processor' in namespace 'analytics' | kubectl logs data-processor -n analytics | Getting logs of pod 'data-processor' in namespace 'analytics' |
What is the command to delete service 'web-service' in namespace 'temp-ns' | kubectl delete service web-service -n temp-ns | Deleting service 'web-service' from namespace 'temp-ns' |
apply yaml file nginx.yaml to namespace prod | kubectl apply -f nginx.yaml -n prod | Applying YAML file nginx.yaml to namespace prod |
get configmaps in namespace default | kubectl get configmaps -n default | Listing all configmaps in namespace default |
delete namespace kube-system | kubectl delete namespace kube-system | Deleting namespace kube-system |
get nodes | kubectl get nodes | Listing all nodes in the cluster |
describe node node3 | kubectl describe node node3 | Describing node node3 |
get all pods in all namespaces | kubectl get pods --all-namespaces | Listing all pods in all namespaces |
rollout status deployment api-deploy in namespace kube-system | kubectl rollout status deployment api-deploy -n kube-system | Checking rollout status of deployment api-deploy in namespace kube-system |
rollback deployment frontend to revision 3 in namespace dev | kubectl rollout undo deployment frontend --to-revision=3 -n dev | Rolling back deployment frontend to revision 3 in namespace dev |
expose deployment nginx-deploy as service in namespace prod | kubectl expose deployment nginx-deploy --type=ClusterIP --port=80 -n prod | Exposing deployment nginx-deploy as a ClusterIP service in namespace prod |
list all pods in namespace default | kubectl get pods -n default | Listing all pods in the namespace default |
describe pod pod2 in namespace kube-system | kubectl describe pod pod2 -n kube-system | Describing pod pod2 in namespace kube-system |
get logs of pod pod3 in namespace dev | kubectl logs pod3 -n dev | Getting logs of pod pod3 in namespace dev |
delete pod nginx-pod in namespace prod | kubectl delete pod nginx-pod -n prod | Deleting pod nginx-pod from namespace prod |
list all services in namespace default | kubectl get svc -n default | Listing all services in namespace default |
list all deployments in namespace kube-system | kubectl get deployments -n kube-system | Listing all deployments in namespace kube-system |
scale deployment api-deploy to 3 replicas in namespace dev | kubectl scale deployment api-deploy --replicas=3 -n dev | Scaling deployment api-deploy to 3 replicas in namespace dev |
apply yaml file nginx.yaml to namespace prod | kubectl apply -f nginx.yaml -n prod | Applying YAML file nginx.yaml to namespace prod |
get configmaps in namespace default | kubectl get configmaps -n default | Listing all configmaps in namespace default |
delete namespace kube-system | kubectl delete namespace kube-system | Deleting namespace kube-system |
get nodes | kubectl get nodes | Listing all nodes in the cluster |
describe node node1 | kubectl describe node node1 | Describing node node1 |
get all pods in all namespaces | kubectl get pods --all-namespaces | Listing all pods in all namespaces |
rollout status deployment frontend in namespace kube-system | kubectl rollout status deployment frontend -n kube-system | Checking rollout status of deployment frontend in namespace kube-system |
rollback deployment nginx-deploy to revision 1 in namespace dev | kubectl rollout undo deployment nginx-deploy --to-revision=1 -n dev | Rolling back deployment nginx-deploy to revision 1 in namespace dev |
expose deployment api-deploy as service in namespace prod | kubectl expose deployment api-deploy --type=ClusterIP --port=80 -n prod | Exposing deployment api-deploy as a ClusterIP service in namespace prod |
list all pods in namespace default | kubectl get pods -n default | Listing all pods in the namespace default |
describe pod pod2 in namespace kube-system | kubectl describe pod pod2 -n kube-system | Describing pod pod2 in namespace kube-system |
get logs of pod pod3 in namespace dev | kubectl logs pod3 -n dev | Getting logs of pod pod3 in namespace dev |
delete pod nginx-pod in namespace prod | kubectl delete pod nginx-pod -n prod | Deleting pod nginx-pod from namespace prod |
list all services in namespace default | kubectl get svc -n default | Listing all services in namespace default |
list all deployments in namespace kube-system | kubectl get deployments -n kube-system | Listing all deployments in namespace kube-system |
scale deployment frontend to 3 replicas in namespace dev | kubectl scale deployment frontend --replicas=3 -n dev | Scaling deployment frontend to 3 replicas in namespace dev |
apply yaml file nginx.yaml to namespace prod | kubectl apply -f nginx.yaml -n prod | Applying YAML file nginx.yaml to namespace prod |
get configmaps in namespace default | kubectl get configmaps -n default | Listing all configmaps in namespace default |
delete namespace kube-system | kubectl delete namespace kube-system | Deleting namespace kube-system |
get nodes | kubectl get nodes | Listing all nodes in the cluster |
describe node node2 | kubectl describe node node2 | Describing node node2 |
get all pods in all namespaces | kubectl get pods --all-namespaces | Listing all pods in all namespaces |
rollout status deployment nginx-deploy in namespace kube-system | kubectl rollout status deployment nginx-deploy -n kube-system | Checking rollout status of deployment nginx-deploy in namespace kube-system |
rollback deployment api-deploy to revision 2 in namespace dev | kubectl rollout undo deployment api-deploy --to-revision=2 -n dev | Rolling back deployment api-deploy to revision 2 in namespace dev |
expose deployment frontend as service in namespace prod | kubectl expose deployment frontend --type=ClusterIP --port=80 -n prod | Exposing deployment frontend as a ClusterIP service in namespace prod |