Commit Graph

5191 Commits

Author SHA1 Message Date
Ciprian Hacman 6131c1e81d aws: Update minimum version for the Terraform provider 2024-01-10 03:21:57 +02:00
Ciprian Hacman ec25e7887f hack/update-expected.sh 2024-01-09 12:34:15 +02:00
Ciprian Hacman 5d5e35366c aws: Use `domain` instead of `vpc` when rendering `aws_eip` 2024-01-09 08:22:45 +02:00
Ciprian Hacman bc4925f97c hack/update-expected.sh 2024-01-05 19:19:40 +02:00
Peter Rifel 35a8ea578b
./hack/update-expected.sh 2024-01-04 20:56:57 -06:00
Kubernetes Prow Robot a8305d2a17
Merge pull request #16214 from hakman/cilium-1.14.5
Update to Cilium 1.14.5
2024-01-04 09:06:02 +01:00
Ciprian Hacman 7f109ec948 hack/update-expected.sh 2024-01-04 06:56:47 +02:00
Ciprian Hacman 771a3fb256
aws: Skip WarmPool checks when it's not enabled 2024-01-03 21:34:20 -06:00
Peter Rifel 85da9fb918
Use instance metadata to get warm pool state 2024-01-03 21:16:18 -06:00
Vincent Carlos 5e13815d4e feat: add us-west zone for hetzner 2024-01-03 15:01:45 +00:00
Ciprian Hacman 543f9c5f91 hack/update-expected.sh 2024-01-03 09:12:02 +02:00
Ciprian Hacman 997b1fd308 scale-test: Add feature flag for creating a single nodes instance group 2024-01-02 14:06:08 +02:00
Ciprian Hacman 0be02417df gce: Remove custom resolver 2023-12-23 08:17:47 +02:00
Justin Santa Barbara 0300a3b858
Release 1.29.0-alpha.3 (#16183) 2023-12-21 14:24:27 +01:00
Peter Rifel 6e337da7f0
Always set the paginated instance group field 2023-12-20 20:05:48 -06:00
yuan 1d64b7a526 hack/update-expected 2023-12-18 13:43:07 +08:00
yuan 23f3f81771 Bump metrics-server to 0.6.4 2023-12-13 21:38:18 +08:00
upodroid 1a593e4f6f fix the gce info shown in kops get cmd and set node-tag ginkgo flag 2023-12-03 11:41:45 +00:00
justinsb 7f56339ebc feat: nodeup will only check the nodeupConfigHash if it is provided
On bare metal, the nodeupConfig is harder to predict and we will have
to use other ways to trigger an update anyway.
2023-12-02 17:48:38 -05:00
justinsb d5e55e4f8e feat: kops toolbox enroll command
Implement the enroll command, to add a node to an existing cluster.
This is intended to be used with (experimental) metal support.
2023-12-02 17:48:34 -05:00
justinsb 010a0d5e4c feat: Support PKI bootstrap
Similar to the TPM bootstrapping on GCE (indeed, a lot of the code is
modified from there), but we verify the PKI signature against a public
key in a Host CRD object.
2023-11-30 18:35:58 -05:00
justinsb 592b575412 feat: Support multiple token verifiers in kops-controller
This will allow us to support nodes running in multiple clouds.  If we
don't configure multiple verifiers, this should be a no-op.
2023-11-30 10:44:53 -05:00
Kubernetes Prow Robot 7c17b16a96
Merge pull request #16099 from spotinst/feat/add_multi_arch_base127_rebase
Spotinst: Feature/add multi arch in VNG and resource tag specification
2023-11-23 15:59:58 +01:00
Peter Rifel 6dbc164969
./hack/update-expected.sh 2023-11-21 20:55:05 -06:00
Peter Rifel 88872b3b96
./hack/update-expected.sh 2023-11-20 22:35:32 -06:00
Jesse Haka c6957314d8 use only k8s metadata 2023-11-19 15:54:37 +02:00
Jesse Haka b242ac5435 check kops cluster name when filtering instances in openstack 2023-11-19 15:52:33 +02:00
justinsb d8c449a4f8 Basic OpenTelemetry support
We initially support capturing to a file (in our own format, as it
doesn't appear a suitable format exists).  This means we don't need a
server to capture the traces, and can start capturing through prow
without a lot of infrastructure changes.

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2023-11-18 09:12:19 -05:00
yehielnetapp af19ad5664 add feature base 2023-11-12 14:19:37 +02:00
yehielnetapp 00fc4e78e8 add Label Resource Tag Specification Volumes 2023-11-12 14:19:15 +02:00
Ciprian Hacman 8916d1e547
Release 1.29.0-alpha.2 (#16095) 2023-11-11 13:29:12 +01:00
justinsb f79d2da6f6 Thread context through some slower AWS tasks
There are still too many context.TODOs here for this to join all the
way up, but we should be able to better understand the slowest tasks.
2023-11-09 08:17:10 -05:00
Matt Morrison 2be9f93d55
Add RLock() RUnlock() around map reads 2023-11-07 09:59:28 -06:00
Matt Morrison dde44c37d8
fix: concurrent map write panic 2023-11-07 09:15:35 -06:00
Ciprian Hacman 3597bddeaf Fix vet error 2023-11-04 05:57:08 +02:00
upodroid ecf212d736 add --node-instance-group flag to ginkgo 2023-10-26 23:08:18 +01:00
Kubernetes Prow Robot 165cbd5333
Merge pull request #15705 from zadjadr/feature/cilium-14
Bump to Cilium 1.14
2023-10-25 19:54:22 +02:00
Ciprian Hacman 9a3b11c71a Limit sanitized URLs to 200 characters 2023-10-25 14:43:48 +03:00
zadjadr 2cd697aef2
hack/update-expected.sh 2023-10-24 17:09:19 +02:00
zadjadr 30aa24f6de
Update to Cilium 1.14.3 2023-10-24 16:59:21 +02:00
zadjadr 4dfaba5242
Bump Cilium to v1.14.2 2023-10-24 16:55:37 +02:00
Kubernetes Prow Robot 419b93b9e9
Merge pull request #16051 from hakman/karpenter_delete_ig
aws: Skip ASG cleanup on Karpenter managed IG deletion
2023-10-24 09:39:31 +02:00
Ciprian Hacman 2c8a90cc73 aws: Skip ASG cleanup on Karpenter managed IG deletion 2023-10-24 09:08:47 +03:00
Ciprian Hacman ab05ebb28f Update containerd to v1.7.7 2023-10-22 13:45:12 +03:00
Kubernetes Prow Robot 70bba2edfc
Merge pull request #16016 from scaleway/scw_ipam
scaleway: IPAM integration
2023-10-21 07:06:04 +02:00
Kubernetes Prow Robot dd7a3a667e
Merge pull request #16013 from sl1pm4t/enable-gcp-cloud-platform-scope
Add cloud-platform GCP VM scope
2023-10-20 18:42:17 +02:00
Kubernetes Prow Robot ab5b8a873a
Merge pull request #16021 from justinsb/add_context_to_vfs_readtree
Refactor: Add context.Context to more VFS methods
2023-10-15 08:24:54 +02:00
Jesse Haka 8dea252122 fix instance group validation if using serverGroupName annotation 2023-10-14 23:18:06 +03:00
justinsb 27dd371c08 Refactor: Add context.Context to more VFS methods
This allows for propagation of opentelemetry traces.
2023-10-14 14:31:05 -04:00
Leïla MARABESE 85f41b844b get private IPs from IPAM and not from instance API 2023-10-13 14:30:28 +02:00
Leïla MARABESE 542085c671 add IPAM to vendor + ScwCloud 2023-10-13 14:16:28 +02:00
Matt Morrison 0be24991da
Add cloud-platform GCP VM scope 2023-10-11 19:59:25 +13:00
Kubernetes Prow Robot 5840216c45
Merge pull request #15974 from borg-land/kubelet-cred-provider
Configure GCP Kubelet Credentials Provider
2023-10-10 13:19:29 +02:00
upodroid 2b056b9b17 add support for auth-provider-gcp cred provider 2023-10-10 10:29:16 +01:00
Ciprian Hacman ef85e29286 Use dns=none for newly created clusters except for AWS and GCE 2023-10-07 15:46:27 +03:00
Kubernetes Prow Robot d2b789da07
Merge pull request #15993 from johngmyers/nlb-sg
aws: Attach security groups to NLBs
2023-10-07 10:57:01 +02:00
John Gardiner Myers 9f40d59545 Improve removal of orphaned security group rules 2023-10-06 22:33:31 -07:00
John Gardiner Myers 2fbc7cf979 aws: Attach security groups to NLBs 2023-10-06 22:33:31 -07:00
Ciprian Hacman 271f3e4d4b Add support for installing additional packages at cluster level 2023-10-06 08:41:41 +03:00
Mia-Cross e12f3dc07b
scaleway: terraform support (#15892)
* tasks dependencies

* FindAddresses should proceed even if LBID is empty

* refacto instance: handle several instances in IG + volumeSize in model

* refacto lb_backend: set servers' IPs in backend task rather than instance

* dns changes for tf support

* render Scaleway s3 objects + add zone to outputs

* add terraform support to documentation

* new instance unique name should be given according to actual instances names

* avoid untimely changes in tf + tag instance IPs to avoid orphaned IPs at cluster deletion

* update integration tests

* review comments

* add IPs to the resources to be deleted with the cluster

* add task + model for DNS record
2023-09-29 04:22:42 -07:00
justinsb 0fa1d90a46 Revert "WIP: Need to publish IPv4 DNS records"
This reverts commit f80a66903b.
2023-09-18 12:31:24 -04:00
justinsb 0096451a83 Cleanup a few places where we used Warningf with %w
Fixing up a few places where we used the wrong marker.
2023-09-18 11:02:18 -04:00
Justin SB f80a66903b WIP: Need to publish IPv4 DNS records
On GCE the Node's IPv6 record is not published, so we need the IPv4 record.
2023-09-18 10:25:14 -04:00
Ciprian Hacman 828995728b Optimize subnets asignment to IGs for clusters with multiple CIDRs 2023-09-17 07:25:55 +03:00
Kubernetes Prow Robot a7555dcc1b
Merge pull request #15885 from borg-land/disable-metadata-proxy
Remove metadata-proxy from GCE Clusters from 1.29+ onwards
2023-09-09 09:08:08 -07:00
upodroid 20e7a5aad4 disable metadata-proxy on k8s version older than 1.29 2023-09-09 16:18:51 +01:00
John Gardiner Myers 9ae4e967d1
Release 1.29.0-alpha.1 (#15889) 2023-09-07 22:00:13 -07:00
Ciprian Hacman 6e6a2a4e7b Address review comments 2023-09-05 12:34:20 +03:00
Ciprian Hacman c43b48a8d8 Remove Docker config option 2023-09-05 07:22:33 +03:00
John Gardiner Myers edd3d0bf42 hack/update-expected.sh 2023-09-04 16:12:00 -07:00
John Gardiner Myers 1ea0fd3004 AWS always uses resource-based names 2023-09-04 16:08:48 -07:00
John Gardiner Myers 9ced296724 AWS and GCP always use external CCM 2023-09-04 15:54:16 -07:00
John Gardiner Myers 47b1c37069 Remove code for disabling AWS EBS CSI driver 2023-09-04 15:43:23 -07:00
Kubernetes Prow Robot 572cd8246f
Merge pull request #15847 from justinsb/better_status_messages
Improve status printing when tasks are in progress
2023-09-04 13:05:48 -07:00
Kubernetes Prow Robot bb03f4160e
Merge pull request #15866 from hakman/fix_aws-vpc-cni
Default to 100.64.0.0/13 as IPv4 service cluster IP range
2023-09-04 12:13:48 -07:00
justinsb 9daf0908c2 Update expected test output 2023-09-04 08:36:22 -04:00
justinsb c37a56df48 Only run one replica of controller pods on non-HA clusters
Even when running on workers (using IRSA), if we try to run multiple
controllers we may have problems with node-spreading, and we don't
necessarily gain any availability, as we need an apiserver lease.

Issue #15852
2023-09-04 08:36:15 -04:00
Ciprian Hacman cd6cd22b72 Default to 100.64.0.0/13 as IPv4 service cluster IP range 2023-09-04 10:42:09 +03:00
Kubernetes Prow Robot ccb39750d0
Merge pull request #15860 from johngmyers/remove-23
Remove support for Kubernetes 1.23
2023-09-03 23:23:48 -07:00
Ciprian Hacman 549cfe5bb3
Apply suggestions from code review 2023-09-04 06:47:46 +03:00
Kubernetes Prow Robot f61939b1e2
Merge pull request #15848 from justinsb/warmpool_tweaks
Fix warmpool to expose dependencies for dependency analysis
2023-09-03 20:37:47 -07:00
John Gardiner Myers b3908e592c Remove support for Kubernetes 1.23 2023-09-03 16:22:18 -07:00
Ciprian Hacman 9caf0b2662
Release 1.29.0-alpha.0 (#15858) 2023-09-02 23:19:12 -07:00
Kubernetes Prow Robot 7b729e9577
Merge pull request #15854 from hakman/aws_additonal_node-size
aws: Add option to provide multiple instance types on cluster creation
2023-09-02 22:33:12 -07:00
Ciprian Hacman db8b0f32f9
Release 1.28.0-beta.1 (#15855) 2023-09-02 21:29:12 -07:00
Ciprian Hacman 6fbc9e58a2 aws: Add option to provide multiple instance types on cluster creation 2023-09-02 17:01:02 +03:00
justinsb e675331ce2 Improve status printing when tasks are in progress
Previously we were implying that the tasks were somehow failing,but
this isn't quite right when they emit the try-again-later error.

Also pretty-print the pluralization while we're here.
2023-08-31 13:12:43 -04: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
justinsb 0601b9de0f Dependency analysis: include the direct task
We weren't previously adding the direct dependency (though we were
adding indirect dependencies) when a task implemented
fi.HasDependencies.

Issue #15751
2023-08-31 10:58:13 -04:00
Ciprian Hacman 68ce4c800e aws: Add dependency on additional network cidrs for subnets 2023-08-31 11:15:10 +03:00
Leïla MARABESE fdd1e23250 documentation update + error message fix 2023-08-30 16:48:35 +02:00
Leïla MARABESE f0e90336ae detach etcd volumes before deleting an instance 2023-08-29 17:31:36 +02:00
Leïla MARABESE 8b21162d77 tag instances that need to be updated 2023-08-29 17:31:36 +02:00
Ciprian Hacman 7c2481c51d Find containerd package hash from release sha256sum 2023-08-28 03:53:55 +03:00
Kubernetes Prow Robot 20ee6ed41c
Merge pull request #15827 from justinsb/openstack_commit
cleanup: Fix comment on GetExternalNetwork
2023-08-26 09:05:21 -07:00
justinsb 5095237129 cleanup: Fix comment on GetExternalNetwork
Small typo-level fix to match the function name.
2023-08-26 07:34:59 -04:00
Ciprian Hacman 4e0e28a32b aws: Create subnets for additional network CIDRs 2023-08-26 10:18:44 +03:00
Kubernetes Prow Robot 8d5b74064f
Merge pull request #15814 from hakman/number_of_subnets
Split network CIDR into even bigger subnets
2023-08-25 22:01:21 -07:00
justinsb 8b99c79631 Fix gossip on DigitalOcean
We don't have a seeding mechanism for DigitalOcean (this relies on
cloud credentials, which we don't want to put on the nodes).

Instead, use the (stable) load balancer IP to connect.
2023-08-23 08:10:41 -04:00
Ciprian Hacman 879bb604b9 Split network CIDR into even bigger subnets 2023-08-23 05:31:34 +03:00