Difference between revisions of "Karpenter: ttlSecondsUntilExpired"
Jump to navigation
Jump to search
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
* https://karpenter.sh/v0.21.1/concepts/deprovisioning/ | * https://karpenter.sh/v0.21.1/concepts/deprovisioning/ | ||
Line 6: | Line 4: | ||
* [[Eviction]] | * [[Eviction]] | ||
− | |||
* <code>[[kind: Provisioner]]</code> | * <code>[[kind: Provisioner]]</code> | ||
+ | |||
+ | |||
+ | To change value: | ||
+ | * <code>[[kubectl patch provisioner]] your-provisioner-name -p '{"spec": {"[[ttlSecondsUntilExpired]]": "[[11604800]]"}}'</code> | ||
+ | |||
+ | |||
+ | |||
== Related == | == Related == | ||
Line 15: | Line 19: | ||
* [[Kubernetes scheduling]] | * [[Kubernetes scheduling]] | ||
* [[TTL]] | * [[TTL]] | ||
− | |||
* [[Eviction]] | * [[Eviction]] | ||
* [[604800]] seconds | * [[604800]] seconds | ||
− | * [[PDB]] | + | * [[Kubernetes PodDisruptionBudget (PDB)]] |
+ | [[kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller]] | ||
+ | [[node.alpha.kubernetes.io/ttl]] | ||
== See also == | == See also == | ||
+ | * {{TTL}} | ||
+ | * {{Eviction}} | ||
+ | * {{kubectl provisioner}} | ||
* {{Karpenter}} | * {{Karpenter}} | ||
[[Category:Karpenter]] | [[Category:Karpenter]] |
Latest revision as of 07:23, 2 October 2024
To change value:
kubectl patch provisioner your-provisioner-name -p '{"spec": {"ttlSecondsUntilExpired": "11604800"}}'
Related[edit]
controller.node Triggering termination for expired node after 168h0m0s .../...
karpenter.sh/do-not-evict: true
controller.node
- Kubernetes scheduling
- TTL
- Eviction
- 604800 seconds
- Kubernetes PodDisruptionBudget (PDB)
kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller node.alpha.kubernetes.io/ttl
See also[edit]
- TTL, node.alpha.kubernetes.io/ttl, ttlSecondsUntilExpired
- Eviction, Eviction API,
kind: Eviction, kubectl cordon
kubeclt [ get | describe | patch ] provisioner
- Karpenter,
karpenter.sh, provisioners.karpenter.sh
, Karpenter releases, best practices,karpenter.sh/capacity-type, karpenter.sh/discovery
,kind: Provisioner, kind: AWSNodeTemplate
,kubectl provisioner
,TopologyKey, FailedDraining, Evict, DisruptionBlocked
, Karpenter logs,controller., ttlSecondsUntilExpired
, KEDA, NodePools, Kind: NodePool, Workload Consolidation, Disruption controls
Advertising: