Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
2
[ { "from": "human", "value": "Troubleshoot a Kubernetes Pod stuck in 'Pending' state.\nEvent: 0/3 nodes available: 3 Insufficient cpu." }, { "from": "gpt", "value": "The cluster does not have enough CPU resources to schedule the Pod. To fix this, either: 1) Scale up the cluster by adding more nod...
[ { "from": "human", "value": "Resolve an 'ImagePullBackOff' error for a deployment.\nError message: Failed to pull image 'nginx:1.2.1': rpc error: code = NotFound" }, { "from": "gpt", "value": "The specific image tag '1.2.1' does not exist in the registry or there is a typo in the image name. Ver...
[ { "from": "human", "value": "Fix a Pod crashing with 'CrashLoopBackOff' due to memory issues.\nLogs: java.lang.OutOfMemoryError: Java heap space" }, { "from": "gpt", "value": "The application is exceeding its allocated JVM heap. Increase the 'memory' limits in the container's resource spec and e...
[ { "from": "human", "value": "Troubleshoot a Service that is not reachable on its DNS name.\nSymptom: curl: (7) Failed to connect to auth-service:80" }, { "from": "gpt", "value": "1) Check if the service 'auth-service' exists in the current namespace. 2) Verify the Service selector labels match t...
[ { "from": "human", "value": "Resolve a PVC that is stuck in 'Pending'.\nError: storageclass.storage.k8s.io 'ssd-storage' not found" }, { "from": "gpt", "value": "The PersistentVolumeClaim is requesting a StorageClass that does not exist. Either create the 'ssd-storage' StorageClass or update the...
[ { "from": "human", "value": "Fix a 'NodeNotReady' status on a worker node.\nStatus: Kubelet stopped posting node status." }, { "from": "gpt", "value": "The Kubelet service on the node has likely crashed or the node has lost connectivity. SSH into the node and run 'systemctl restart kubelet'. Als...
[ { "from": "human", "value": "Resolve an RBAC permission error.\nError: User 'system:serviceaccount:dev:my-sa' cannot list pods in namespace 'dev'" }, { "from": "gpt", "value": "The ServiceAccount lacks the necessary permissions. Create a 'Role' with 'list' verbs for 'pods' and a 'RoleBinding' to...
[ { "from": "human", "value": "Fix 'CreateContainerConfigError' for a new Pod.\nWarning: ConfigMap 'app-settings' not found" }, { "from": "gpt", "value": "The Pod is trying to mount a ConfigMap that hasn't been created yet. Create the ConfigMap 'app-settings' in the same namespace as the Pod, or c...
[ { "from": "human", "value": "Debug a container that was 'OOMKilled'.\nState: Running -> Terminated. Reason: OOMKilled" }, { "from": "gpt", "value": "The container reached its hard memory limit. This is usually caused by a memory leak or insufficient resource allocation. Increase 'resources.limit...
[ { "from": "human", "value": "Fix DNS resolution failures inside the cluster.\nError: nslookup: can't resolve 'redis-master'" }, { "from": "gpt", "value": "Check the CoreDNS pods for errors using 'kubectl logs -n kube-system -l k8s-app=kube-dns'. Ensure the 'redis-master' Service exists and that ...
[ { "from": "human", "value": "Resolve 'FailedScheduling' due to node taints.\nEvent: node(s) had untolerated taint {workload: sensitive}" }, { "from": "gpt", "value": "The Pod is being rejected because it doesn't 'tolerate' the node's taint. Add a matching 'toleration' to the Pod spec or remove t...
[ { "from": "human", "value": "Fix an Ingress 502 Bad Gateway error.\nLog: upstream sent too big header while reading response header" }, { "from": "gpt", "value": "The backend application is sending headers larger than the Ingress controller's buffer. Increase the buffer size using annotations li...
[ { "from": "human", "value": "Fix 'ReadinessProbe' failing for a web app.\nEvents: Readiness probe failed: HTTP probe responded with status 503" }, { "from": "gpt", "value": "The application is returning a 'Service Unavailable' status. Check the app logs to see if it's still initializing. You may...
[ { "from": "human", "value": "Troubleshoot a Liveness probe causing a restart loop.\nEvents: Liveness probe failed: Get '/health': context deadline exceeded" }, { "from": "gpt", "value": "The application is too slow to respond to the health check, causing K8s to kill it. Increase the 'timeoutSeco...
[ { "from": "human", "value": "Resolve an inaccessible NodePort service.\nSymptom: Connection refused on port 32000" }, { "from": "gpt", "value": "1) Verify the Service is of type NodePort. 2) Ensure the cloud provider's firewall (or security group) allows traffic on the port range 30000-32767. 3)...
[ { "from": "human", "value": "Fix Admission Webhook errors during resource creation.\nError: failed calling webhook 'validate.gatekeeper.sh'" }, { "from": "gpt", "value": "The admission controller (e.g., Gatekeeper) is unreachable or its certificate has expired. Check if the Gatekeeper pods are r...
[ { "from": "human", "value": "Resolve 'MatchNodeSelector' scheduling failures.\nEvent: 0/5 nodes available: 5 node(s) didn't match Pod's node affinity/selector" }, { "from": "gpt", "value": "The Pod's 'nodeSelector' or 'affinity' requires labels (e.g., 'disktype=ssd') that no node in the cluster ...
[ { "from": "human", "value": "Fix a PV binding error due to AccessMode mismatch.\nEvent: access modes mismatch, PV has [ReadWriteOnce], PVC has [ReadWriteMany]" }, { "from": "gpt", "value": "A PersistentVolumeClaim can only bind to a PersistentVolume with compatible access modes. Change the PVC '...
[ { "from": "human", "value": "Fix 403 Forbidden errors at the Ingress level.\nResponse: Default backend - 403 Forbidden" }, { "from": "gpt", "value": "Check if there is an IP whitelist annotation on the Ingress or if the backend service requires specific authentication headers that the Ingress is...
[ { "from": "human", "value": "Fix malformed YAML during kubectl apply.\nError: error converting YAML to JSON: line 12: did not find expected key" }, { "from": "gpt", "value": "This is a syntax error. Use a YAML linter or 'kubectl apply --dry-run=client -f <file>' to find the exact line with incor...
[ { "from": "human", "value": "Resolve Metrics Server not providing HPA data.\nError: Metrics API not available" }, { "from": "gpt", "value": "The Metrics Server is either not installed or failing to collect data. If using self-signed certs, ensure the Metrics Server is started with the '--kubelet...
[ { "from": "human", "value": "Fix HPA (Horizontal Pod Autoscaler) failing to scale.\nWarning: FailedGetResourceMetric: unable to get metrics for resource cpu" }, { "from": "gpt", "value": "The HPA cannot scale based on CPU if the Pods do not have 'cpu' requests defined in their manifest. Add 'res...
[ { "from": "human", "value": "Fix 'Evicted' Pods due to disk pressure.\nReason: Evicted. Message: The node was low on resource: ephemeral-storage." }, { "from": "gpt", "value": "The node's disk is full. Clean up old logs, unused images, or emptyDir volumes. To prevent this, set 'ephemeral-storage...
[ { "from": "human", "value": "Fix DaemonSet not running on master/control-plane nodes.\nSymptom: DaemonSet pods only running on worker nodes." }, { "from": "gpt", "value": "Control-plane nodes are typically tainted. Add a 'toleration' for 'node-role.kubernetes.io/control-plane' (or the specific m...
[ { "from": "human", "value": "Resolve sticky session issues in a Service.\nSymptom: Load balancer is sending traffic to different pods every request." }, { "from": "gpt", "value": "Kubernetes Services are round-robin by default. Set 'service.spec.sessionAffinity: ClientIP' in the Service manifest...
[ { "from": "human", "value": "Fix 'port-forward' connection errors.\nError: error upgrading connection: error dialing backend: dial tcp <pod-ip>: connect: connection refused" }, { "from": "gpt", "value": "The local port-forwarding failed because the application inside the Pod is not listening on ...
[ { "from": "human", "value": "Resolve Secret mounting issues in a Pod.\nError: Secret 'db-pass' not found" }, { "from": "gpt", "value": "Secrets are namespace-scoped. Verify that the Secret 'db-pass' exists in the exact same namespace where you are deploying the Pod." } ]
[ { "from": "human", "value": "Fix a Deployment rollout that is stuck.\nStatus: Waiting for deployment 'api' rollout to finish: 1 old replicas are pending termination" }, { "from": "gpt", "value": "Old replicas cannot terminate because the new replicas are failing their 'Readiness' checks. Check t...
[ { "from": "human", "value": "Fix ETCD 'database space quota exceeded'.\nError: etcdserver: mvcc: database space quota exceeded" }, { "from": "gpt", "value": "The ETCD database is full. You must compact and defragment the database. Use 'etcdctl compact' followed by 'etcdctl defrag' on all ETCD me...
[ { "from": "human", "value": "Fix 'Unauthorized' error when running kubectl.\nError: error: You must be logged in to the server (Unauthorized)" }, { "from": "gpt", "value": "Your local Kubeconfig credentials (token or cert) have expired. Refresh your cloud provider login (e.g., 'aws eks update-ku...
README.md exists but content is empty.
Downloads last month
15