Magic Mirror On The Wall, Why Is My Cluster Broken!?
Unfortunately, the magic mirror on said wall doesn’t know Kubernetes all that well. PromptOps promises to do better though.
I’ll tell you a little secret. I didn’t know kubernetes at all up until about a year ago. Unfortunately, ChatGPT wasn’t there to save me, so I had to do the old-timey thing and speak to an actual person to help.
PromptOps has taken ChatGPT’s much more general model, and given it more kubernetes-related data. It’s able to take a question, and give you some kubectl syntax to hopefully remedy your problems.
Now, there’s a big limitation you’ll see right off the bat, and that’s the fact it doesn’t show you how to do it in the YAML itself. It’s not necessarily a problem, because you can just pull the YAML after you do that. Wait, how do you do that again?
Ahh gotcha, thanks PromptOps!
What I like about the usage of ChatGPT here is that you get short, sweet answers that do look to work consistently quite well. I am giving it pretty simple prompts, but even if you compare to my last article looking at [AIAC](https://liamhardman.cloud/automation/aiac/ , you’ll see there was a lot of stuff that looked right, but just wasn’t.
It’s made me realise that ChatGPT is like the stereotype of a used car salesman. You can’t tell if the AI is right or wrong, because it’s just as confident either way. There’s some laughable examples I could give, but I would encourage you to use ChatGPT for a bit and ask it some questions related to your niche hobby. That’ll make you giggle for a bit if nothing else.
Watch out though, it might actually give you some useful tips.