by kissgyorgy · 5y ago · 0 comments
The author show the structure of every endpoint:
/api/[version]/namespaces/[namespace]/[resource]/[name]
How is that simple?With such criteria even a passenger jet is simple.
If passenger jets had a comparable API you could use to ramp up to the level of competence that you can on k8s, that would be pretty amazing.
In fact, one can generate a complete API client by pointing a script to a running kubernetes instance, which will generate all code for interacting with exactly that version. And the resulting client is huuuge.
(That generation thingy is for some .net clients)
Deployments, Pods, CronJobs, Services, Secrets... Every type of resource.
Ignoring the version, that's just three nouns you need to know and you're good to go. Pretty damned simple.