Difference between revisions of "Karpenter: ttlSecondsUntilExpired"
Jump to navigation
Jump to search
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
To change value: | To change value: | ||
− | * <code>[[kubectl patch provisioner]]</code> | + | * <code>[[kubectl patch provisioner]] your-provisioner-name -p '{"spec": {"[[ttlSecondsUntilExpired]]": "[[11604800]]"}}'</code> |
+ | |||
Line 22: | Line 23: | ||
* [[Kubernetes PodDisruptionBudget (PDB)]] | * [[Kubernetes PodDisruptionBudget (PDB)]] | ||
[[kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller]] | [[kubectl logs -f -n karpenter -l app.kubernetes.io/name=karpenter -c controller]] | ||
+ | [[node.alpha.kubernetes.io/ttl]] | ||
== See also == | == See also == | ||
+ | * {{TTL}} | ||
* {{Eviction}} | * {{Eviction}} | ||
* {{kubectl provisioner}} | * {{kubectl provisioner}} |
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: