Ciprian Hacman
d3b5bfceff
chore: Remove support for Kubernetes 1.28
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2025-08-30 15:37:09 +03:00
Peter Rifel
701f01a26b
Use switch/case statement
2025-08-22 20:36:02 -05:00
justinsb
7dc29d29fd
Do not include WarmPool in json for AutoscalingGroup task
...
This avoids a circular dependency.
I previously considered making the field private,
but this is roughly equivalent and less disruptive.
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2025-03-27 08:03:37 -04:00
cuiyourong
0cfcb4ef5e
chore: fix some function names in comment
...
Signed-off-by: cuiyourong <cuiyourong@gmail.com>
2024-12-07 00:40:04 +08:00
Peter Rifel
dd3d64943f
Migrate remaining EC2 resource types to aws-sdk-go-v2
2024-04-13 16:01:39 -04:00
Peter Rifel
d4d39eb0fe
Migrate autoscaling to aws-sdk-go-v2
2024-03-31 23:04:06 -05:00
Peter Rifel
0dcbf23df2
Migrate aws-sdk-go/aws to aws-sdk-go-v2/aws
2024-03-31 16:56:31 -05:00
justinsb
2a9343a168
Generate revisions of NLB objects, and introduce cleanup phase
...
This lets us safely make changes to otherwise immutable fields, in
particular for adding security groups to NLBs created without them.
We detect the older versions, and create deletion tasks to remove
them. These tasks can be deferred, and we expect them to be
deferred to a "prune" phase that runs after cluster apply.
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2024-02-17 11:41:15 -05:00
justinsb
f5c2f2bcba
Fix warmpool to expose dependencies for dependency analysis
...
We should populate the AutoscalingGroup field, so that it can be used
by dependency analysis.
2023-08-31 13:08:08 -04:00
Rafael da Fonseca
bc37c7408c
Add terraform target support for configuring Warm Pool
2023-02-14 14:27:46 +00:00
John Gardiner Myers
6caaff50cd
AWS: set IMDS hop limit 1 on all new clusters
2023-01-11 20:04:53 -08:00
Kubernetes Prow Robot
d247c0b37d
Merge pull request #14879 from hakman/aws_imds_all_clusters
...
aws: Set IMDS defaults for existing clusters
2023-01-10 22:25:19 -08:00
Kubernetes Prow Robot
7b4430ff61
Merge pull request #14885 from johngmyers/root-volume
...
v1alpha3: Move IG root volume settings to sub-struct
2023-01-04 18:11:58 -08:00
justinsb
b7d9319fff
EnsureTask should panic on error
...
This means that we automatically check the error code. A linter could
detect errors here (maybe), but in practice we can't recover from
errors here anyway.
2023-01-04 08:29:20 -05:00
Ciprian Hacman
62f1d20c96
aws: Set IMDS defaults for existing clusters
2023-01-03 11:03:44 +02:00
John Gardiner Myers
92958f9966
v1alpha3: Move IG root volume settings to sub-struct
2022-12-26 20:35:26 -08:00
John Gardiner Myers
ca7d82b02a
v1alpha3: move AWS-specific fields to AWSSpec
2022-12-18 15:16:49 -08:00
John Gardiner Myers
7c3e32369a
Refactor Context into separate cloudup and nodeup types
2022-12-17 17:42:46 -08:00
Ciprian Hacman
0c020cb6e9
Use EnsureTask to reference shared target groups
2022-12-07 18:37:33 +02:00
John Gardiner Myers
235aa61594
v1alpha3: move networking fields under networking
2022-12-02 19:19:59 -08:00
John Gardiner Myers
d39ba74bd7
Change the control-plane IG role to "ControlPlane" in v1alpha3 API
2022-11-22 17:05:29 -08:00
Bronson Mirafuentes
85898cba0b
add capacityRebalance flag for ASGs
2022-11-21 08:47:40 -08:00
Ciprian Hacman
d29812fc6e
Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf
2022-11-19 03:45:23 +02:00
Ciprian Hacman
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
Kubernetes Prow Robot
96acfc4ceb
Merge pull request #14452 from hakman/aws_none-dns_nlb
...
aws: Create cluster without DNS or Gossip
2022-11-05 22:30:15 -07:00
Ciprian Hacman
87240bd5a1
Add kops-controller target group only to master ASGs
2022-11-03 08:04:49 +02:00
Ciprian Hacman
edb44610f7
aws: Create cluster without DNS or Gossip
2022-11-02 12:54:27 +02:00
John Gardiner Myers
25b7dc21fa
Create NLB instead of CLB for bastion
2022-10-29 17:00:00 -07:00
Ole Markus With
7a48391172
Delete disabled lifecycle hooks and implement disable logic for warmpools
2022-08-18 19:50:48 +02:00
Nicolas Sterchele
73b6ed4150
aws: introduce maximum instance lifetime in cluster
...
The maximum instance lifetime is an AWS only feature and specifies the
maximum amount of time (in seconds) that an instance can be in service
before it is terminated and replaced.
A common use case might be a requirement to replace your instances on a
schedule because of internal security policies or external compliance
controls.
2022-07-04 20:38:33 +02:00
Ole Markus With
2e46fdee1b
Fix unsetting ASG max price
2022-06-29 10:27:04 +02:00
John Gardiner Myers
5385381633
Use IPv6-only subnets for worker nodes in private IPv6 topology
2022-01-06 21:00:00 -08:00
Ole Markus With
ea9d0de847
Handle default in templating instead of ig population
2021-12-30 09:01:43 +01:00
Ole Markus With
b09241122f
Support specifying instance requirements per IG
...
Update docs/instance_groups.md
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-12-24 21:19:58 +01:00
Ole Markus With
b785965c50
Rename InstanceManager to Manager
2021-12-13 09:14:24 +01:00
Ole Markus With
d4ec7cc7e0
Make kops get instances work with karpenter
2021-12-12 19:33:41 +01:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
John Gardiner Myers
8fed76c8b2
Rename fields in v1alpha3 instancegroup API to fit acronym convention
2021-11-22 08:07:55 -08:00
Peter Rifel
60c86e1a44
Enable IMDS IPv6 endpoint when IPv6AddressCount > 0
2021-09-09 07:24:14 -05:00
Ciprian Hacman
348eed772a
Avoid spurious changes for ASG InstanceProtection and LT InstanceMonitoring
2021-06-27 10:08:13 +03:00
Ciprian Hacman
7bc629b683
Use DualStack API NLB for IPv6
2021-06-26 19:16:46 +03:00
John Gardiner Myers
7c9e7e9286
Make Lifecycle field non-pointer
2021-06-02 23:02:16 -07:00
John Gardiner Myers
64dac12216
Set Lifecycle in AutoscalingGroupModelBuilder
2021-05-31 10:39:33 -07:00
John Gardiner Myers
024b3653c0
Set lifecycle on WarmPool task
2021-05-28 20:05:44 -07:00
Ciprian Hacman
cedbe1f360
Add initial support for configuring IPv6 with AWS
2021-05-19 06:21:07 +03:00
John Gardiner Myers
0c1f9f4772
Refactor LaunchTemplate.SecurityGroups
2021-05-11 14:48:00 -07:00
John Gardiner Myers
5d3af39311
Refactor LaunchTemplate.UserData
2021-05-11 14:48:00 -07:00
John Gardiner Myers
4a5e46922f
Refactor LaunchTemplate.Tenancy
2021-05-11 14:48:00 -07:00
John Gardiner Myers
4d9018282c
Refactor LaunchTemplate.SSHKey
2021-05-11 14:48:00 -07:00
John Gardiner Myers
b0bcf40921
Refactor LaunchTemplate.RootVolumeEncryptionKey
2021-05-11 14:48:00 -07:00