Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Exploring the Kubernetes Clients ecosystem

Nabarun Pal
September 11, 2021

Exploring the Kubernetes Clients ecosystem

Open Infra Days Asia 2021

Nabarun Pal

September 11, 2021
Tweet

More Decks by Nabarun Pal

Other Decks in Technology

Transcript

  1. $ whoami • Software Engineer at VMware • Release Lead

    for Kubernetes 1.21 • Kubernetes Code of Conduct Committee Member • PyCon India Technical Working Group Lead • CNCF GSoC Administrator
  2. Generator Scripts kubernetes-client/gen 1. Pulls the OpenAPI Spec for the

    targeted Kubernetes version 2. Runs OpenAPI Generator on the OpenAPI Spec 3. Performs post processing tasks like cleaning up unnecessary docs etc. 4. Patches generated code with any one-off changes
  3. Bronze • Support loading config from kube config file ◦

    Basic Auth (username/password) ◦ X509 Client certificate (inline and referenced by file) ◦ Bearer tokens (inline and referenced by file) ◦ encryption/TLS (inline, referenced by file, insecure) • Basic API calls such as list pods should work • Works from within the cluster environment Silver • Support watch calls Gold • Support exec, attach, port-forward calls • Proto encoding Ref: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/csi-new-client-library-procedure.md#client-capabilities
  4. • Implement new features in the Python client • Help

    with the releases • Help the Python client achieve Gold Standard