jamiehannaford / what-happens-when-k8s

🤔 What happens when I type kubectl run?
4.87k stars 514 forks source link

Fix cache directory ~/.kube/cache #9

Closed ercliou-zz closed 4 years ago

ercliou-zz commented 6 years ago

The cached resources linked is actually caching API resources.

As for the OpenAPI schema caches, it seems that currently is cached in memory only https://github.com/kubernetes/kubectl/blob/69904e7/pkg/framework/openapi/openapi_getter.go#L28

Also added explicit verbosity for more beginner friendly (sadly it's not documented in kubectl).

jamiehannaford commented 5 years ago

@ercliou sorry for the delay here. Would you mind resolving the conflicts? I can then merge.

jamiehannaford commented 4 years ago

Closing as abandoned.