custom-pod-autoscaler-operator

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

README

Build go.dev Go Report Card License

This project is supported by:

Custom Pod Autoscaler Operator

This is the operator for managing Custom Pod Autoscalers (CPA). This allows you to add your own CPAs to the cluster to manage autoscaling deployments, enabling this is a requirement before you can add your own CPAs.

Installation

See the install guide to see more in depth installation options, such as namespace specific installs and installation using kubectl.

Quick start

Run this to install the Operator and Custom Pod Autoscaler definition with cluster-wide scope on your cluster:

VERSION=v1.1.1
HELM_CHART=custom-pod-autoscaler-operator
helm install ${HELM_CHART} https://github.com/jthomperoo/custom-pod-autoscaler-operator/releases/download/${VERSION}/custom-pod-autoscaler-operator-${VERSION}.tgz

Usage

See the usage guide to see some simple usage options. For more indepth examples, check out the Custom Pod Autoscaler repo.

Developing

Environment

Developing this project requires these dependencies:

Commands
  • make - builds the operator binary.
  • make docker - build the docker image for the operator.
  • make lint - lints the codebase.
  • make beautify - beautifies the codebase, must be run to pass the CI.
  • make test - runs the Go tests.
  • make generate - generates boilerplate and YAML config for the operator.
  • make view_coverage - opens up any generated coverage reports in the browser.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the custompodautoscaler.com v1 API group +kubebuilder:object:generate=true +groupName=custompodautoscaler.com
Package v1 contains API Schema definitions for the custompodautoscaler.com v1 API group +kubebuilder:object:generate=true +groupName=custompodautoscaler.com

Jump to

Keyboard shortcuts

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