annotations

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package annotations defines constants and helpers for annotations used throughout the m3db operator.

Index

Constants

View Source
const (
	// App is the label used to identify the application.
	App = labels.App
	// AppM3DB is the value for "App" common to all operator-created clusters.
	AppM3DB = labels.AppM3DB
	// Cluster is the label identifying what m3db cluster an object is a part of.
	Cluster = labels.Cluster
)

Variables

This section is empty.

Functions

func BaseAnnotations

func BaseAnnotations(cluster *myspec.M3DBCluster) map[string]string

BaseAnnotations returns the base annotations we apply to all objects created by the operator for a given cluster.

func PodAnnotations added in v0.7.0

func PodAnnotations(cluster *myspec.M3DBCluster) map[string]string

PodAnnotations is for specifying annotations that are only to be applied to the pods such as prometheus scrape tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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