Bronson Mirafuentes
dd46a82065
add additional log message
2022-03-15 11:11:59 -07:00
Bronson Mirafuentes
4fc4057935
wait for all targetGroups to drain
2022-03-15 10:44:47 -07:00
justinsb
fc6d9aa656
Replace deprecated aws.BackgroundContext with context.Background
...
aws.BackgroundContext was intended for go 1.6 and earlier.
2022-01-30 13:19:06 -05:00
Jesse Haka
117b98decb
implement aws deregister
2021-12-31 13:19:50 +02:00
Jesse Haka
b88d110f58
Drain OpenStack loadbalancers
2021-12-31 13:16:02 +02:00
Bronson Mirafuentes
fa956e3909
add instance connection draining for NLBs
2021-12-20 10:08:05 -08:00
Kubernetes Prow Robot
e0d22ce2f7
Merge pull request #12973 from olemarkus/karpenter-npr
...
Various nill pointer fixes for karpenter
2021-12-19 16:19:24 -08:00
justinsb
8b3372ec76
Need to truncate gce serviceaccounts to max 30 characters
2021-12-17 12:57:14 -05:00
justinsb
2f1ce3fa14
Move string truncation to its own package
2021-12-17 12:57:14 -05:00
Ole Markus With
fab77b45ee
Do not try to deregister karpenter nodes from ELBs
2021-12-15 09:56:33 +01:00
Kubernetes Prow Robot
424452a855
Merge pull request #12906 from olemarkus/karpenter
...
Support Karpenter
2021-12-14 13:58:50 -08:00
Ole Markus With
b785965c50
Rename InstanceManager to Manager
2021-12-13 09:14:24 +01:00
Bronson Mirafuentes
5883d01a6e
fix formatting
2021-12-12 20:46:32 -08:00
Bronson Mirafuentes
0ccb8b166c
use describeInstanceHealth api
2021-12-12 20:41:53 -08:00
Bronson Mirafuentes
6e93352459
use describeInstanceHealth api
2021-12-12 20:41:51 -08:00
Bronson Mirafuentes
e27d726fe5
improve clarifying comments
2021-12-12 20:41:13 -08:00
Bronson Mirafuentes
4c35cf2317
switch sleep time to 5s
2021-12-12 20:41:13 -08:00
Bronson Mirafuentes
b487016f80
get loadbalancer details from asg
2021-12-12 20:41:13 -08:00
Bronson Mirafuentes
c55d34af5f
wait for instances to drain from classic LB
2021-12-12 20:41:13 -08:00
Ole Markus With
d4ec7cc7e0
Make kops get instances work with karpenter
2021-12-12 19:33:41 +01:00
Kubernetes Prow Robot
b28cc53252
Merge pull request #12629 from rifelpet/iam-profile-tag
...
Ignore InvalidAction errors when tagging IAM Instance Profiles
2021-12-10 16:40:33 -08:00
Kubernetes Prow Robot
f7e66049d6
Merge pull request #12862 from johngmyers/instanceid-nodename
...
Use instance ID as node name when AWS CCM supports it
2021-12-05 14:58:32 -08:00
Peter Rifel
fd2370c8e8
Ignore InvalidAction errors when tagging IAM Instance Profiles
2021-12-02 08:12:16 -06:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
John Gardiner Myers
73f164e229
Use instance ID as node name when AWS CCM supports it
2021-11-30 17:54:54 -08:00
John Gardiner Myers
e5a6b79c19
Rename fields in v1alpha3 status API to fit acronym convention
2021-11-22 08:07:55 -08:00
Eng Zer Jun
425173ae9f
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-12 15:37:18 +08:00
justinsb
4dc2c062fd
Support GCE TPM verification
2021-10-06 08:40:20 -04:00
Peter Rifel
3311e45767
Truncate cluster name prefix used in event bridge rules
2021-09-29 19:12:49 -05:00
justinsb
fad6db8beb
Refactor bootstrap verifier/authenticator into its own package
...
No code changes, but this avoids a circular package dependency that we
would otherwise introduce in the GCE logic.
2021-09-26 09:43:53 -04:00
Ole Markus With
b852a804d9
Don't allow IGs with both GPU and non-GPU types
2021-09-05 20:09:04 +02:00
Jesse Haka
0cfcd418e7
check does iface has associations
2021-08-31 14:27:55 +03:00
Ole Markus With
ad16042a1f
Add IPs to kubelet server cert
...
Since AWS does not resolve instance hostnames to ipv6, ipv6-only pods that talk to kubelet API has to use node IP, not hostname. Thus we need to add IPs to kubelet server cert.
2021-08-26 20:54:02 +02:00
Reilly Brogan
1b59233c8e
Debian 11: Release AMIs use same AWS Owner ID as Buster
2021-08-16 12:06:36 -05:00
Reilly Brogan
850bca8db6
Support Debian 11 Bullseye
2021-08-06 12:52:16 -05:00
John Gardiner Myers
babf07136e
Use regional STS endpoint
2021-07-24 22:33:30 -07:00
Kubernetes Prow Robot
3a376e9048
Merge pull request #11387 from johngmyers/aws-config
...
Enable reading shared config when possibly from CLI
2021-05-23 15:15:38 -07:00
John Gardiner Myers
dd605fdbc3
Subsume StatusStore into fi.Cloud
2021-05-15 17:39:32 -07:00
John Gardiner Myers
1dab19f499
Require fi.Cloud to implement kops.StatusStore
2021-05-15 15:54:38 -07:00
John Gardiner Myers
4090c07e01
Move ELB/NLB query functions into AWSCloud
2021-05-15 15:22:01 -07:00
Ciprian Hacman
bdd63c917f
Allow AWS instance types with multiple architectures
...
Older AWS instance types support both "i386" and "x86_64" architectures:
```
$ aws ec2 describe-instance-types --instance-types t2.micro
{
"InstanceTypes": [
"InstanceType": "t2.micro",
"ProcessorInfo": {
"SupportedArchitectures": [
"i386",
"x86_64"
],
```
2021-05-12 14:05:12 +03:00
John Gardiner Myers
23de00da6e
Enable reading shared config when possibly from CLI
2021-05-05 22:08:54 -07:00
Jason Haugen
c8bb48ba81
fix existing 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
Ole Markus With
09615935fd
Make kOps CLI handle ASG warm pools
2021-04-15 11:10:23 +02:00
Ole Markus With
c6e5c4364d
Allow setting dedicated apiserver node count from create cluster cmd
2021-03-27 08:59:45 +01:00
Peter Rifel
51cec7e556
Use "tag on create" for EIPs, NLBs, and TargetGroups
...
These are the remaining resources that support "tag on create" of which we werent taking advantage.
This allows more fine-grained IAM permissions for the kops cli.
2021-03-22 07:21:51 -05:00
Ole Markus With
20bd724f5e
Add support for scaling out the control plane with dedicated apiserver nodes
...
Ensure apiserver role can only be used on AWS (because of firewalling)
Apply api-server label to CP as well
Consolidate node not ready validation message
Guard apiserver nodes with a feature flag
Rename Apiserver role to APIServer
Add an integration test for apiserver nodes
Rename Apiserver role to APIServer
Enumerate all roles in rolling update docs
Apply suggestions from code review
Co-authored-by: Steven E. Harris <seh@panix.com>
2021-03-20 20:57:00 +01:00
Bharath Vedartham
059c7ef33a
Create an environment file for kops-configuration systemd process
2021-03-13 22:20:49 +05:30
Ciprian Hacman
dee13cecca
Improve machine type and image validation
2021-02-19 18:28:57 +02:00