|
~So like, what am I missing?~ (edit: I'm not missing anything; an AI still can't do my job.) Pod is stuck in 'ContainerCreating' state and never starts.
$ kubectl get po -A
```
NAMESPACE NAME READY STATUS RESTARTS AGE
default my-app-5d8d6f6d6f-abcde 1/1 Running 0 2d
default my-app-5d8d6f6d6f-fghij 1/1 Running 0 2d
kube-system coredns-558bd4d5db-xyz12 1/1 Running 0 5d
kube-system coredns-558bd4d5db-xyz34 1/1 Running 0 5d
kube-system etcd-minikube 1/1 Running 0 5d
kube-system kube-apiserver-minikube 1/1 Running 0 5d
kube-system kube-controller-manager-minikube 1/1 Running 0 5d
kube-system kube-proxy-abcde 1/1 Running 0 5d
kube-system kube-scheduler-minikube 1/1 Running 0 5d
kube-system storage-provisioner 1/1 Running 0 5d
```
Your root cause: no pod is stuck in ContainerCreating?
Grade: incorrect
My other problems were similarly confounding¹. One was "one machine seems loaded, but not others." All the pods had a node affinity to a single node tacked onto their specs, but that's only "partially correct"? And the last one is "Application components in different pods cannot communicate", but nothing is running except nginx, which would never communicate with itself.We're generating the problems, and answers, with an AI, aren't we? I've thrown a few real-world problems at LLMs, and they have floundered on them, to the point of not even being able to emit coherent output. I've had utterly incoherent responses, "add this label to the pod label is in Chinese", etc. Edit: played again. Got the same node affinity problem. Same answer, but this time it was correct. Oh yeah, AI comin' for my job /s. Also no alias k=kubectl and no up/down to repeat/edit commands, the site restricts you from copy/pasting pod names (or anything else), no tab complete, no common shortcuts… — like yeah, if this is the condition your SREs are working in then I bet an AI can beat them? Might as well tie their hands behind their backs while we're at it. ¹I suppose it matches real life, in that the reported problem is often utterly divorced from reality, and it takes 2–3 rounds with the reporter to make sense of what it is they're trying to report in the first place. But I can't interrogate the problem statement in this "simulator". |