Kubectl commands generally use the form kubectl command RESOURCE_TYPE RESOURCE_NAME
In your case that would be  kubectl describe Deployment cycling-init-bot.worker
You are omitting the resource type.

Chico Venancio


Em seg., 5 de out. de 2020 às 04:48, maxime delzenne <maxime.delzenne@gmail.com> escreveu:
Hello,

thank you for the explanations about the deployment file. I imitated the file from https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_continuous_jobs

here is my deployment file:
https://paste.toolforge.org/view/f44f8065

But somehow, I always get the following error (I do "kubectl describe cycling-init-bot.worker" to see it):
error: the server doesn't have a resource type "cycling-init-bot"

How do I know which resources the server has?

Psemdel



_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud