Documentation ¶
Overview ¶
Package annotation defines annotation keys used by Giant Swarm within Kubernetes resources.
Index ¶
Constants ¶
const AWSUpdateMaxBatchSize = "aws.giantswarm.io/update-max-batch-size"
AWSUpdateMaxBatchSize is the aws update annotation used for configuring maximum batch size for instances during ASG update. The value can be either a whole number specifying the number of instances or a percentage of total instances as decimal number ie: `0.3` for 30%. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-maxbatchsize
const AWSUpdatePauseTime = "aws.giantswarm.io/update-pause-time"
AWSUpdatePauseTime is the aws update annotation used for configuring time pause between rolling a single batch during ASG update. The value must be in ISO 8601 duration format, e. g. "PT5M" for five minutes or "PT10S" for 10 seconds. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-pausetime
const ClusterDescription = "cluster.giantswarm.io/description"
ClusterDescription is the cluster annotation used for storing a customer's cluster description.
const Docs = "giantswarm.io/docs"
Docs is the docs annotation put into all CRs to link to its CR specific documentation. This aims to help understanding all the moving parts within the system and how they relate to each other.
const MachineDeploymentSubnet = "machine-deployment.giantswarm.io/subnet"
MachineDeploymentSubnet is used to specify the IPv4 CIDR used for a node pool defined by a MachineDeployment or AWSMachineDeployment CR.
const MachinePoolName = "machine-pool.giantswarm.io/name"
MachinePoolName is the node pool annotation where human-friendly node pool name set by the customer is stored.
const Monitoring = "giantswarm.io/monitoring"
Monitoring is used to activate/deactivate monitoring of a Service resource. The value "true" activates it, "false" deactivates it.
const MonitoringPath = "giantswarm.io/monitoring-path"
MonitoringPath is the path component of a metrics endpoint, e. g. "/metrics".
const MonitoringPort = "giantswarm.io/monitoring-port"
MonitoringPort is the TCP port number to use for reaching the monitoring endpoint of a Service. E. g. "8080".
const NodePoolMaxSize = "cluster.k8s.io/cluster-api-autoscaler-node-group-max-size"
AnnotationNodePoolMaxSize is the cluster annotation used for storing the maximum size of a node pool.
const NodePoolMinSize = "cluster.k8s.io/cluster-api-autoscaler-node-group-min-size"
AnnotationNodePoolMinSize is the cluster annotation used for storing the minimum size of a node pool.
const NodeTerminateUnhealthy = "node.giantswarm.io/terminate-unhealthy"
Annotation used to enable feature to terminate unhealthy nodes on a cluster CR.
const OIDCClientID = "oidc.giantswarm.io/client-id"
Annotations used to configure OIDC in Tenant Clusters.
const OIDCGroupClaim = "oidc.giantswarm.io/group-claim"
const OIDCIssuerURL = "oidc.giantswarm.io/issuer-url"
const OIDCUsernameClaim = "oidc.giantswarm.io/username-claim"
const ReleaseNotesURL = "giantswarm.io/release-notes"
ReleaseNotesURL defines where to find release notes about the CR at hand. The value is expected to be a URI, e. g. "https://github.com/giantswarm/releases/tree/master/aws/v11.5.0".
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.