Commit Graph

45 Commits

Author SHA1 Message Date
Jim Barber f48add0c94
Upgrade node-termination-handler to 1.22.0
Also allow to specify the following extra parameters for it.
- deleteSqsMsgIfNodeNotFound
- memoryLimit
- podTerminationGracePeriod
- taintNode
- webhookTemplate

Signed-off-by: Jim Barber <jim.barber@healthengine.com.au>
2024-05-16 12:43:00 +08:00
voriol 722fb08eff add webhookURL 2023-10-11 08:58:55 +02:00
John Gardiner Myers b3908e592c Remove support for Kubernetes 1.23 2023-09-03 16:22:18 -07:00
Jan Safranek 0d03095fda Add SELinux support to containerd
Add cluster.Spec.Containerd.SELinuxEnabled field that enables SELinux in
containerd.

With SELinux enabled, all pods that use HostPath volumes must run with
SELinux label `spc_t`, otherwise SELinux denies the pods to touch the host
filesystem.
2023-06-19 15:20:08 +02:00
John Gardiner Myers 56092cd2b7 Upgrade Node Termination Handler to 1.18.3 2023-01-18 08:12:59 -08:00
John Gardiner Myers ca7d82b02a v1alpha3: move AWS-specific fields to AWSSpec 2022-12-18 15:16:49 -08:00
John Gardiner Myers 246a27d689 NTH: Remove unnecessary configuration in Queue Processor mode 2022-12-17 09:44:57 -08:00
John Gardiner Myers 7c5b983490 Enable NTH Scheduled Event Draining by default 2022-12-08 19:02:44 -08:00
John Gardiner Myers dfd71c0c41 Address review comments 2022-12-04 11:11:05 -08:00
John Gardiner Myers a7f59813fa NTH SQS Deployment needs hostNetwork if no IRSA 2022-12-03 21:42:56 -08:00
John Gardiner Myers 589800a378 Use narrower tolerations for NTH when no IRSA 2022-12-03 21:42:56 -08:00
John Gardiner Myers 6ee229eb0c Fix configuration of NTH SQS mode 2022-12-03 21:42:56 -08:00
John Gardiner Myers 30970609ec Upgrade Node Termination Handler to 1.18.1 2022-12-03 21:42:56 -08:00
Anthony Hausman af1ab751fd
aws-node-termination-handler: Add option to fetch node name through Kubernetes node `.spec.providerID`
Fetch node name through Kubernetes node `.spec.providerID` since Kops use InstanceID as node name.
 - 701db81ccf
2022-09-08 07:00:48 +02:00
Ole Markus With 0cd110d723 Bump node termination handler to 1.17.1 2022-08-24 21:52:52 +02:00
Ole Markus With d98d96aead Fix policy API version for NTH 2022-08-24 09:08:09 +02:00
Ole Markus With cae87bb208 Add deployment-specific selectors to nth pdb
If not, when migrating from imds-mode to sqs-mode, the selectors will match the daemonset pods, which doesn't work with pdb
2022-08-11 07:23:04 +02:00
Raffael Sahli 6dda7857e5
add metric port to nth deployment
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2022-06-17 08:40:06 +02:00
Ole Markus With babb13c8e2 Fix broken node selector for node termination handler 2022-06-12 08:05:26 +02:00
Jesse Haka c050c49ac8 set nodeselector null 2022-05-15 23:30:00 +03:00
Ole Markus With d8c414f583 Fix affinity and taints for NTH 2022-04-18 13:56:13 +02:00
DingGGu 844931af53
Fix wrong label selector in NTH manifest 2022-04-09 17:16:55 +09:00
DingGGu bc320d8671
Fix missing role for EMIT_KUBERNETES_EVENTS option 2022-04-09 17:04:23 +09:00
DingGGu 1b9cf91684
Bump NTH to 1.16.1, use WithDefaultBool in gotemplate, set ExcludeLoadBalancers default true 2022-04-09 17:04:23 +09:00
DingGGu c1042f4a3b
Bump NTH 1.16 and add excludeFromLoadBalancers option 2022-04-09 17:04:16 +09:00
Ole Markus With 8c235f363d Add PDB and topology constraints for NTH 2022-04-09 07:01:25 +02:00
Anthony Hausman 2b589d5914
FIX: Set default version into `model/components/nodeterminationhandler.go` 2022-03-23 11:56:38 +01:00
Anthony Hausman 308a886557
AWS-NODE-TERMINATION: Add possibility to set a tune image version
Add the possibility into the AWS `node-termination-handler` addon to set a different image tag version.
It can help to have last fixes if it's needed.
2022-03-23 10:59:51 +01:00
Ryan Dyer 42ae1cef47 Update aws node termination handler to 1.14.0 2022-02-08 14:15:09 -06:00
Ole Markus With e2fd94d104 Make json logging on deployment and enable k8s events 2021-08-31 22:59:30 +02:00
Ole Markus With b52008d9b6 Add instance state change notification to nth 2021-08-31 22:54:21 +02:00
Ole Markus With 0439bb0d76 Remove UseServiceAccountIAM feature flag and rename feature to UseServiceAccountExternalPermissions 2021-08-07 21:20:03 +02:00
Cheyi Lin 408bb7dfbe Add nth rebalance recommendation configs 2021-08-02 16:20:17 +08:00
Ole Markus With 28bd45a8fa Add irsa support for nth 2021-07-19 15:12:35 +02:00
dntosas 7e20f87822
[addons/nth] Add capability to define resources
Node termination handler as all daemonSets may play a critical role in
capacity planning, define resource policy for chosing instanceType etc.

In this commit, we enable users to define resources themselves to meet
their needs and also removed limits to convey with the chosen strategy
to avoid limits on such components.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-04-30 14:13:11 +03:00
Jason Haugen 4bf8ad3f4a bump NTH to 1.13.0 2021-04-23 10:43:56 -05:00
Jason Haugen 36722afb0f change casing Asg->ASG 2021-04-22 13:07:01 -05:00
Jason Haugen 7e48dad4d2 add ManagedAsgTag, merge templates, improve docs 2021-04-19 16:51:08 -05:00
Jason Haugen 366634e66a change permisisons & node selector 2021-04-19 15:43:05 -05:00
Jason Haugen 318a116ba6 fix staticcheck 2021-04-19 15:43:05 -05:00
Jason Haugen 10df4a9a14 integ tests 2021-04-19 15:43:05 -05:00
Jason Haugen d07b067249 Add NTH queue-processor mode 2021-04-19 15:43:05 -05:00
Bharath Vedartham 019022b488 Bump aws node termination handler 2021-02-18 00:33:05 +05:30
Ole Markus With 736bb5fd56 Bump NTH to 1.8 2020-09-30 10:37:49 +02:00
Ole Markus With b9212f85ad Add addon for aws node termination handler 2020-09-17 21:09:28 +02:00