Commit Graph

72 Commits

Author SHA1 Message Date
Ole Markus With 1ec0bd18e8 Enable support for the ASG WarmPool lifecycle hook
Update pkg/model/iam/iam_builder.go

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-04-24 09:40:52 +02:00
Ole Markus With 020652e096 Add ability to enable/configure warm pool for ASG
Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>

Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-04-20 09:02:09 +02:00
John Gardiner Myers 46834dcdf7 Remove unused constants 2021-04-15 11:35:45 -07:00
Kubernetes Prow Robot ad7c793050
Merge pull request #10913 from seh/scope-os-update-policy-to-instance-group-too
Honor OS update policy at InstanceGroup level too
2021-03-12 22:03:03 -08:00
Bharath Vedartham 0c0767c0c9 Remove support for launch configurations 2021-03-09 09:04:15 +02:00
Steven E. Harris 70e95fccf5 Copyedit the InstanceGroup-related documentation 2021-03-05 08:53:08 -05:00
Steven E. Harris e39c985ee7 Honor OS update policy at InstanceGroup level too
As with the Cluster-level "spec.updatePolicy" field, add a similar
field at the InstanceGroup level, allowing overriding of the
cluster-level choice in each InstanceGroup.

Introduce a new value for the field ("automatic") as equivalent to the
default value applied when the field is absent. Honoring this new
value allows disabling automatic updates at the cluster level, but
then enabling them again for particular InstanceGroups. Without such a
positive affirmation, it's not possible to override a cluster-level
"external" policy at the InstanceGroup level, as there's no way to
specify positively that you want to recover the default
value. Instead, expressing the explicit "automatic" value is clear and
unambiguous.
2021-03-05 08:53:07 -05:00
Peter Rifel bfd3d8a96b
Add new CPUCredits field to instance group spec 2021-03-01 23:01:20 -06:00
Kubernetes Prow Robot 1b42286cfe
Merge pull request #10832 from rifelpet/aws-sdk
Add Tagging to Instance Profiles and OIDC Providers
2021-02-24 05:40:50 -08:00
Ole Markus With 8486650c33 Add support for cluster autoscaler 1.20.x
Update upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-02-17 14:05:09 +01:00
Peter Rifel b285794f02
Update CloudLabels field description 2021-02-15 17:03:17 -06:00
Ciprian Hacman d889d61ddb Set default IMDS v2 to "required" for instances in AWS 2021-01-21 11:35:41 +02:00
Ciprian Hacman a7bb949936 Add possibility to set volume throughput for gp3 volumes 2021-01-05 13:18:32 +02:00
Kubernetes Prow Robot bee16c052d
Merge pull request #10324 from bharath-123/feature/aws-imdv2
Add support for AWS IMDS v2
2020-12-07 22:55:11 -08:00
Ciprian Hacman 265bf4d106 Add option for setting the volume encryption key in AWS 2020-12-08 07:08:09 +02:00
Bharath Vedartham 7f6e125733 Add support for aws ec2 instance metadata v2
A new field is add to the InstanceGroup spec with 2 sub fields,
HTTPPutResponseHopLimit and HTTPTokens. These fields enable the user
to disable IMDv1 for instances within an instance group.

By default, both IMDv1 and IMDv2 are enabled in instances in an instance group.
2020-12-07 02:57:02 +05:30
Rodrigo Menezes 3fb12c66ae gzip and base64 encode the heredocs in the nodeup.sh portion of user-data 2020-12-04 10:46:18 -08:00
Peter Rifel 7d9f0a06cf
Update API slice fields to not use pointers
This is causing problems with the Kubernetes 1.19 code-generator.
A nil entry in these slices wouldn't be valid anyways, so this should have no impact.
2020-08-24 07:46:38 -05:00
Ciprian Hacman 2880e22bce Add flag for root volume encryption 2020-08-21 18:31:21 +03:00
Martin Tomes dd67149e99
Update pkg/apis/kops/v1alpha2/instancegroup.go
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-08 22:49:17 +02:00
Martin Tomes c66180bc58 Added support for instance interruption behavior 2020-04-29 14:53:17 +02:00
GuyTempleton c1a259b5a4
Cleanup InstanceGroup MixedInstancePolicy docs
Also improved consistency of rest of InstanceGroup docs and
some docstrings
2020-04-02 16:48:17 +01:00
Thejas B dda8dc3f37 Add support for Spot block in launch template
- Launch configuration does not support the field SpotDurationInMinutes which is used to reserve the spot instances, but however Launch Template does
2020-03-31 20:07:01 +05:30
John Gardiner Myers ce241bc4d1 Add MaxUnavailable setting to cluster and instancegroup 2020-01-05 12:09:54 -08:00
Kubernetes Prow Robot afb4ecb883
Merge pull request #7730 from ripta/custom-sysctls
Custom sysctl Parameters
2020-01-03 07:35:41 -08:00
Kubernetes Prow Robot b60fbff92d
Merge pull request #7865 from tioxy/ebs_termination
EBS Root Volume Termination
2019-12-05 20:36:48 -08:00
Gabriel Tiossi dfd7fa9b2a docs(api): Default value for deleteOnTermination
State default value for both deleteOnTermination and
rootVolumeDeleteOnTermination equals to true
2019-12-05 21:04:40 -03:00
Gabriel Tiossi 9364da6d4f feat(api): DeleteOnTermination fields for volumes
Support RootVolumeDeleteOnTermination and DeleteOnTermination fields
to enable a deeper customization
2019-12-03 04:07:50 -03:00
GuyTempleton f6218a50f0
Add CapacityOptimized to list of supported spot allocation strategies
Add Terraform capacity-optimised warning

s/optimised/optimized/
2019-11-09 19:04:16 +00:00
Ripta Pasay 1ca77d42f6 Add SysctlParameters to ClusterSpec and InstanceGroupSpec 2019-10-30 10:54:52 -07:00
jakub.coufal 9fe33bdb19 Align AWS and kops validation for spot allocation strategy
Signed-off-by: jakub.coufal <jakub.coufal@wandera.com>
2019-09-24 16:39:50 +02:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
mikesplain adaf3ad5fd First pass at instance protection 2019-06-21 14:00:37 -04:00
Justin SB 080febe1c5
Add shortNames and columns to InstanceGroup CRD
This makes the appearance in `kubectl get ig` very similar to the
`kops get ig` format.
2019-05-16 03:20:08 -07:00
Rohith ca2753b151 - adding the api components for the mixed instances policy instancegroups 2019-02-04 11:45:01 +00:00
Rohith 0e155b4c78 - changed tack and making them two separate features for now, one adding additional volumes and two mounting them. This should always allow for user to use epherimal devices as well
- updated the api specs and machinery
- adding the dependecies on the services when the volume mounts are enable (should probably false this if they don't effect the docker filesystem)
2019-01-18 22:49:38 +00:00
Rohith 42aee24caa - fixed up the api changing mountPath to path
- added additional validation of the spec for the volumes
2019-01-18 22:45:05 +00:00
Rohith 8236b7089f - adding the api components to define a additional volume spec 2019-01-18 22:45:05 +00:00
Justin SB 26bd75aecb
Bulk spelling fixes
Experimenting with my own spelling checker, these are the typos it caught.
2018-12-20 17:43:56 -05:00
Rongxiang Song 04b6817627 fix typo in comments 2018-10-24 15:45:13 +08:00
SataQiu 957b6fa8a6 fix some typos 2018-10-12 16:05:28 +08:00
Rodrigo Menezes a82f548ff8 Allow using existing/shared Security Groups
Verbosely log when a user overwrites LB or IG security groups

Change SecurityGroup to SecurityGroupOverride

Allow using existing/shared Security Groups

Update tests
2018-10-02 00:51:39 -07:00
Gijs Kunze b605a27cb5 Added external load balancer support for terraform 2018-06-29 11:39:21 +02:00
Gijs Kunze b3346c28cd Added the ability to specify external loadbalancers in instancegroups 2018-06-29 11:39:20 +02:00
chrislovecnm 9cbc81fe33 adding API for IAM Profile 2018-06-08 09:51:26 -07:00
AdamDang 06632a71f2
Update instancegroup.go 2018-04-22 10:11:00 +08:00
devops d734f35126 Add support for instance monitoring
Add API backward comptability

Add api generated files

documenting detailed-monitoring

instance-group json typo

Update test expected result
to support enable_monitroing

Add instance-monitroing support to CF

Improve doc, test and rename InstanceMonitoring

Rename instnace-monitoring to fit the YAML kops form

typo detailedInstanceMonitoring
2018-03-21 23:06:38 +02:00
Mike Splain fdc2695fe1 Add suspendProcesses to IGs 2018-02-20 09:30:18 -05:00
Rodrigo Menezes ef24cec62b Fixing naming convention and adding running API machinery. 2017-11-09 14:30:48 -08:00
Rodrigo Menezes 1fe56a1603 Move user-data to IG spec 2017-11-06 23:25:37 -08:00