summaryrefslogtreecommitdiff
path: root/vendor/k8s.io/api/core/v1/annotation_key_constants.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-04-09 08:04:51 +0000
committerGitHub <noreply@github.com>2021-04-09 08:04:51 +0000
commit14375f35ee00c16327edcd0f5883cc66810fc7db (patch)
treed904edbc6162b8eddc563476614d03dd1eee75ed /vendor/k8s.io/api/core/v1/annotation_key_constants.go
parent4efac1f76012c35122bca7c8feebc33141fc47d3 (diff)
downloadpodman-14375f35ee00c16327edcd0f5883cc66810fc7db.tar.gz
podman-14375f35ee00c16327edcd0f5883cc66810fc7db.tar.bz2
podman-14375f35ee00c16327edcd0f5883cc66810fc7db.zip
Bump k8s.io/api from 0.20.5 to 0.21.0
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.20.5 to 0.21.0. - [Release notes](https://github.com/kubernetes/api/releases) - [Commits](https://github.com/kubernetes/api/compare/v0.20.5...v0.21.0) Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/k8s.io/api/core/v1/annotation_key_constants.go')
-rw-r--r--vendor/k8s.io/api/core/v1/annotation_key_constants.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/k8s.io/api/core/v1/annotation_key_constants.go b/vendor/k8s.io/api/core/v1/annotation_key_constants.go
index d3ebf8628..612f6aa74 100644
--- a/vendor/k8s.io/api/core/v1/annotation_key_constants.go
+++ b/vendor/k8s.io/api/core/v1/annotation_key_constants.go
@@ -123,9 +123,32 @@ const (
// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
EndpointsLastChangeTriggerTime = "endpoints.kubernetes.io/last-change-trigger-time"
+ // EndpointsOverCapacity will be set on an Endpoints resource when it
+ // exceeds the maximum capacity of 1000 addresses. Inititially the Endpoints
+ // controller will set this annotation with a value of "warning". In a
+ // future release, the controller may set this annotation with a value of
+ // "truncated" to indicate that any addresses exceeding the limit of 1000
+ // have been truncated from the Endpoints resource.
+ EndpointsOverCapacity = "endpoints.kubernetes.io/over-capacity"
+
// MigratedPluginsAnnotationKey is the annotation key, set for CSINode objects, that is a comma-separated
// list of in-tree plugins that will be serviced by the CSI backend on the Node represented by CSINode.
// This annotation is used by the Attach Detach Controller to determine whether to use the in-tree or
// CSI Backend for a volume plugin on a specific node.
MigratedPluginsAnnotationKey = "storage.alpha.kubernetes.io/migrated-plugins"
+
+ // PodDeletionCost can be used to set to an int32 that represent the cost of deleting
+ // a pod compared to other pods belonging to the same ReplicaSet. Pods with lower
+ // deletion cost are preferred to be deleted before pods with higher deletion cost.
+ // Note that this is honored on a best-effort basis, and so it does not offer guarantees on
+ // pod deletion order.
+ // The implicit deletion cost for pods that don't set the annotation is 0, negative values are permitted.
+ //
+ // This annotation is alpha-level and is only honored when PodDeletionCost feature is enabled.
+ PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
+
+ // AnnotationTopologyAwareHints can be used to enable or disable Topology
+ // Aware Hints for a Service. This may be set to "auto" or "disabled". Any
+ // other value is treated as "disabled".
+ AnnotationTopologyAwareHints = "service.kubernetes.io/topology-aware-hints"
)