How to Generate the Scaffold Aggregated Apiserver
Learn how to generate a scaffold project for the aggregated apiserver.
We'll cover the following...
Overview
Aggregated apiservers are complex and hard to implement from scratch. There are lots of API schema, auto generated codes, golang build tags, deployments files, TLS certificates for communication, delegated auth, etc.
Ways to build custom aggregated apiservers
Normally, there are two ways to build custom aggregated apiservers.
-
We could fork the repository
k8s.io/sample-apiserver
, modify it to add our own custom types, and then periodically rebase upstream changes to pick up improvements and bug fixes. This repository is used only for demonstration. However, it contains all the needed files—including source codes, deployment artifacts, and hack scripts—which ...
Access this course and 1400+ top-rated courses and projects.