cpservice-annotator

command module
v0.0.0-...-5a7c593 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

README

Control Plane Service Annotator

The cpservice-annotator is a k8s mutating webhook that will inject the right AKO annotations for specifying aviinfrasettings into services created by the ako-operator-controller in TKG. This allows for having the control plane load balancer services created on different networks or service engines etc.

Prereqs

  • TKG 1.4.x
  • AVI enabled on the mgmt cluster
  • AVI set up with the networks you want to use
  • steps here followed to install the extra k8s objects needed

Architecture

arch

Install

this will install the webhook, configure it with a self signed cert using cert manager, and setup the rbac needed.

Be sure to have completed the prereqs above

  1. make deploy-cert

  2. make deploy

Usage

  1. create a TKG cluster
tanzu create cluster -f yourclusterconfig.yml

you should see the cluster get inject with an annotation cpservicemutate.field.vmware.com/aviinfrasetting: <yourinfrasettingname> this will be picked up by the webhook and translated to an annotation on the service that configures avi

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL