annotation

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package annotation defines annotation keys used by Giant Swarm within Kubernetes resources.

Index

Constants

View Source
const AWSCNIMinimumIPTarget = "alpha.cni.aws.giantswarm.io/minimum-ip-target"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 14.0.0

documentation:

This annotation allows configuration of the MINIMUM_IP_TARGET parameter for AWS CNI.
See [CNI Configuration Variables](https://github.com/aws/amazon-vpc-cni-k8s#cni-configuration-variables)
and [ENI and IP Target](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/eni-and-ip-target.md)
View Source
const AWSCNIPrefixDelegation = "alpha.cni.aws.giantswarm.io/prefix-delegation"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 16.1.0

documentation:

This annotation allows configuration of the ENABLE_PREFIX_DELEGATION parameter for AWS CNI.
See [Enable Prefix Delegation](https://github.com/aws/amazon-vpc-cni-k8s#enable_prefix_delegation-v190)
View Source
const AWSCNIWarmIPTarget = "alpha.cni.aws.giantswarm.io/warm-ip-target"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 14.0.0

documentation:

This annotation allows configuration of the WARM_IP_TARGET parameter for AWS CNI.
See [CNI Configuration Variables](https://github.com/aws/amazon-vpc-cni-k8s#cni-configuration-variables)
and [ENI and IP Target](https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/eni-and-ip-target.md)
View Source
const AWSMetadataV2 = "alpha.aws.giantswarm.io/metadata-v2"

Not documented as it's not usable. AWSMetadataV2 configures token usage for your AWS EC2 instance metadata requests. If the value is 'optional', you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is 'required', you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available. Default value is 'optional'

[AWS Documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httptokens)
View Source
const AWSSubnetSize = "alpha.aws.giantswarm.io/aws-subnet-size"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0
  • crd: awsmachinedeployments.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0

documentation:

This annotation is used to configure the workload cluster's control plane subnet size when used on an `AWSCluster` resource or to configure the workload cluster's node pool subnet size when used on an `AWSMachineDeployment` resource.
The value is a number that will represent the subnet mask used when creating the subnet. It must be smaller than 28 due to AWS restrictions.
View Source
const AWSUpdateMaxBatchSize = "alpha.aws.giantswarm.io/update-max-batch-size"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0
  • crd: awsmachinedeployments.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0

documentation:

This annotation is used for configuring maximum batch size for instances termination 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%.
See [fine-tuning upgrade disruption](https://docs.giantswarm.io/advanced/upgrade-disruption/)
and [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-maxbatchsize) for additional information.
View Source
const AWSUpdatePauseTime = "alpha.aws.giantswarm.io/update-pause-time"

support:

  • crd: awsclusters.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0
  • crd: awsmachinedeployments.infrastructure.giantswarm.io apiversion: v1alpha2 release: Since 12.7.0

documentation:

This annotation is 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.
See [fine-tuning upgrade disruption](https://docs.giantswarm.io/advanced/upgrade-disruption/)
and [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-maxbatchsize) for additional information.
View Source
const AppOperatorPaused = "app-operator.giantswarm.io/paused"

AppOperatorPaused annotation when present prevents app-operator from reconciling the resource.

View Source
const AzureWorkersEgressExternalPublicIP = "giantswarm.io/workers-egress-external-public-ip"

support:

  • crd: azureclusters.infrastructure.cluster.x-k8s.io apiversion: v1alpha3 release: Since 15.1.0

documentation:

This annotation allows reusing an existing public IP address for egress traffic of worker nodes.
See [Setting an egress IP address on Azure](https://docs.giantswarm.io/advanced/egress-ip-address-azure/)
View Source
const ClusterDescription = "cluster.giantswarm.io/description"

ClusterDescription is the cluster annotation used for storing a customer's cluster description.

View Source
const ConfigVersion = "config.giantswarm.io/version"

ConfigVersion is the annotation put on App CRs and consumed by config-controller. This indicates what major version of the configuration should be used for this application. Versions are configured in a <major>.x.x format (e.g. 3.x.x), which means the latest v3.<minor>.<patch> tag should be used to generate ConfigMap and Secret for this App CR. When given version does not match the <major>.x.x format, config-controller assumes given version is a branch reference (e.g. "master") and the matching branch will be used to generate configuration instead.

View Source
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.

View Source
const LastDeployedReleaseVersion = "release.giantswarm.io/last-deployed-version"

LastDeployedReleaseVersion is the version annotation put into Cluster CR to define which workload cluster release was last successfully deployed during cluster creation or upgrade. Versions are defined as semver version without the "v" prefix, e.g. 14.1.0, which means that cluster was created with or upgraded to workload cluster release v14.1.0.

View Source
const LatestConfigMapVersion = "app-operator.giantswarm.io/giantswarm.io/latest-configmap-version"

LatestConfigMapVersion is the highest resource version among the configmaps app CRs depends on.

View Source
const LatestSecretVersion = "app-operator.giantswarm.io/latest-secret-version"

LatestSecretVersion is the highest resource version among the secret app CRs depends on.

View Source
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.

View Source
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.

View Source
const Monitoring = "giantswarm.io/monitoring"

Monitoring is used to activate/deactivate monitoring of a Service resource. The value "true" activates it, "false" deactivates it.

View Source
const MonitoringPath = "giantswarm.io/monitoring-path"

MonitoringPath is the path component of a metrics endpoint, e. g. "/metrics".

View Source
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".

View Source
const NodePoolMaxSize = "cluster.k8s.io/cluster-api-autoscaler-node-group-max-size"

support:

  • crd: machinepools.exp.cluster.x-k8s.io apiversion: v1alpha3 release: Since Azure 13.1.0

documentation:

This annotation allows setting the max size of a node pool for autoscaling purposes.
See [node pools](https://docs.giantswarm.io/advanced/node-pools/)
View Source
const NodePoolMinSize = "cluster.k8s.io/cluster-api-autoscaler-node-group-min-size"

support:

  • crd: machinepools.exp.cluster.x-k8s.io apiversion: v1alpha3 release: Since Azure 13.1.0

documentation:

This annotation allows setting the min size of a node pool for autoscaling purposes.
See [node pools](https://docs.giantswarm.io/advanced/node-pools/)
View Source
const NodeTerminateUnhealthy = "node.giantswarm.io/terminate-unhealthy"

Annotation used to enable feature to terminate unhealthy nodes on a cluster CR.

View Source
const Notes = "giantswarm.io/notes"

Notes is for informational messages for resources managed by operators. Such as whether the resource may or may not be edited.

View Source
const OIDCClientID = "oidc.giantswarm.io/client-id"

Annotations used to configure OIDC in workload clusters.

View Source
const OIDCGroupClaim = "oidc.giantswarm.io/group-claim"
View Source
const OIDCIssuerURL = "oidc.giantswarm.io/issuer-url"
View Source
const OIDCUsernameClaim = "oidc.giantswarm.io/username-claim"
View Source
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://docs.giantswarm.io/changes/workload-cluster-releases-aws/releases/aws-v11.5.0/".

View Source
const UIOriginalOrganizationName = "ui.giantswarm.io/original-organization-name"

support:

  • crd: organization.security.giantswarm.io apiversion: v1alpha1

documentation:

This annotation contains the original name of organizations migrated from
our legacy organization management service.
View Source
const UpdateScheduleTargetRelease = "alpha.giantswarm.io/update-schedule-target-release"

support:

  • crd: clusters.cluster.x-k8s.io apiversion: v1alpha3

documentation:

This annotation is used to define the desired target release for a scheduled upgrade of the cluster.
The upgrade to the specified version will be applied if the "update-schedule-target-time" annotation has been set
and the time defined there has been reached. The value has to be only the desired release version, e.g "15.2.1".
View Source
const UpdateScheduleTargetTime = "alpha.giantswarm.io/update-schedule-target-time"

support:

  • crd: clusters.cluster.x-k8s.io apiversion: v1alpha3

documentation:

This annotation is used to define the desired target time for a scheduled upgrade of the cluster.
The upgrade will be applied at the specified time if the "update-schedule-target-release" annotation has been set
to the target release version. The value has to be in RFC822 Format and UTC time zone. e.g. "30 Jan 21 15:04 UTC"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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