API ModulesΒΆ
Pykube exports its main classes on the package level, so you can do:
from pykube import KubeConfig, HTTPClient, Pod
KubeConfigis the main configuration class to load~/.kube/configor from in-cluster service accountHTTPClientrepresents the Kubernetes API client- Kubernetes resource kinds (
Pod, etc) are defined inpykube.objects