avi-helm-charts

Setting up routing rules using CRDs

This document outlines the use of AKO specific CRD objects that allows the users to express Avi related properties.

What are Custom Resource Definitions (CRDs)?

Custom Resource Definitions or CRDs are used to extend the Kubernetes APIs server with additional schemas. More about CRDs can be read here

AKO ships a bunch of CRD objects (installed through helm). The CRDs are envisioned for two types of audiences:

Why are CRDs better?

Some loadbalancers allow configuration options via annotations. The following reasons were considered to choose CRDs:

CRD Types in AKO

AKO categorizes the CRDs in the following buckets:

  1. Layer 7: These CRD objects are used to express layer 7 traffic routing rules. Following are the list of CRDs currently available:

  2. Layer 4: These CRD objects are used to express layer 4 trafffic routing rules. (Unreleased)

  3. Infrastructure: These CRD objects are used to control Avi’s infrastructure components like Ingress Class, SE group properties etc. (Unreleased)