Commit Graph

2054 Commits

Author SHA1 Message Date
Ciprian Hacman 25d626d63f Re-enable Flannel 2025-02-08 18:25:28 +02:00
justinsb 5fa9690f98 Refactor validation logic around checking for multiple options
We also have to move some of the EnvVar handling around to avoid a circular reference.
2025-01-08 18:23:50 -05:00
Antonio Ojea f2c239dd81 add kindnet network plugin
add kindnet as an experimental network addon

containerd adds the requirement to use the loopback cni plugin,
kindnet provides that capability and containerd does not require it
since containerd/containerd/pull/10238

Change-Id: I1397a90186885b02e98b5ffa444fe629c1046757
2025-01-08 01:09:37 +00:00
Ciprian Hacman eaf796c3c0 Remove support for K8s 1.26 in kOps 1.32 2025-01-04 15:01:41 +02:00
Ciprian Hacman 216af9a199 Reuse logic for checking if CNI network plugins need to be installed 2025-01-03 21:38:16 +02:00
Ciprian Hacman bc4eb919cf Install CNI network plugins only for specific CNIs 2025-01-02 15:18:32 +02: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
justinsb 0f13759bdf Fixup kubelet and controlPlaneKubelet config building
We need to differentiate between the version of the control plane
and the version of the nodes.
2024-12-04 08:53:02 -05:00
Rafael da Fonseca cc15357999 Automatically preserve kubelet supported version skew on worker nodes, while control plane is being updated
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2024-12-03 07:36:16 -05:00
justinsb 3f38846ca5 refactor: create abstraction over cluster/instancegroup for building assets
This abstraction should let us change the version on an instance group level.
2024-11-27 07:38:34 -05:00
ana.aguilar 7b2f02fc60 feat(cilium): adding EnableLocalRedirectPolicy parameter 2024-10-29 16:59:59 -03:00
Kubernetes Prow Robot 5b1ffe535b
Merge pull request #16920 from rsafonseca/apiserver_env
Add support for configuring environment variables on kube-apiserver
2024-10-27 15:48:53 +00:00
Rafael da Fonseca 8b89e826d1 Add support for configuring environment variables on kube-apiserver 2024-10-25 10:44:14 +01:00
Rafael da Fonseca 7d673c0f7c Remove targetRamMb option, which was removed in kubernetes 1.24. Add watchCache and watchCacheSizes apiserver flags 2024-10-25 09:16:12 +01:00
ddelange 06d4d36acb
Bump nvidia-driver-535-server 2024-10-15 10:04:54 +02:00
justinsb 7548080fb0 chore: add a few more field mappings to our list
I encountered a few more that have changed between v1alpha2 and v1alpha3.
2024-10-13 09:02:02 -04:00
justinsb 42072e9d74 fix: allow path-remapping in `set` commands
We remap field paths to their internal forms, where the mapping is well-known.
2024-10-12 19:10:14 -04:00
ana.aguilar 5505226cd2 doc:fix broken link 2024-10-11 17:44:49 -03:00
Ciprian Hacman b2bc5a99ff Fix typo 2024-10-11 12:59:11 -04:00
justinsb 82352fc6ea fix: print the correct field path when spec.api.publicName is missing
We introduce a field-mapping layer to help us map v1alpha2 -> v1alpha3 and vice-versa
2024-10-11 12:59:11 -04:00
justinsb 0963d73cc5 metal: initial support for adding hosts
The bulk of this work is implementing a clientset for use in kops-controller.
2024-09-18 09:03:43 -04:00
Peter Rifel a415765cee
Update cilium to v1.16.1 2024-09-11 20:54:52 -05:00
justinsb 3646a610b1 refactor: Move GetCloudProvider to cluster
This lets us use labels (or annotations), meaning we can experiment
with different clouds without changing the API.

We also add initial (experimental/undocumented) support for exposing a "Metal" provider.
2024-08-26 08:20:37 -04:00
Kubernetes Prow Robot 2a1f1f287d
Merge pull request #16705 from hakman/gce-startup-script
gce: Add option to use startup script instead of user-data
2024-08-09 13:18:03 -07:00
Ciprian Hacman 323d8d700f Rename `StartupScript` to `UseStartupScript` 2024-08-09 19:38:24 +03:00
Alexandre Savicki 44413d1d7f feat(cluster-autoscaler) Implement emitPerNodegroupMetrics parameter 2024-08-05 10:33:52 -03:00
Ciprian Hacman c65216be6f Add option for enabling GCE startup script 2024-07-30 06:42:33 +03:00
Peter Rifel f639cb5bd8
Add new API field for VPC CNI's network policy agent image 2024-07-17 20:45:36 -05:00
Peter Rifel 1cd9930123
Recognize Ubuntu 24.04 in channels 2024-07-07 21:43:16 -05:00
justinsb 363a58ae80 tests: Add test for dl.k8s.io kubernetes version parsing
We saw an error with older kOps versions here, so add a test for this
case.
2024-06-20 10:28:40 -04:00
Grégory SANCHEZ cb75d8ab71
feat(components): permit to define kube-controller-manager and kube-scheduler resources
Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
2024-06-07 08:56:14 +02:00
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
Ciprian Hacman e5c14d9323 azure: Add storage account ID config 2024-05-13 09:29:55 +03:00
Ciprian Hacman 86f5d455e5
Release 1.30.0-alpha.1 (#16563)
* Release 1.30.0-alpha.1

* Update tests for K8s v1.30

* Remove mentions of K8s v1.24
2024-05-11 23:40:27 -07:00
Ciprian Hacman 28bc42e6a1 cert-manager: Add option to set feature gates 2024-05-05 07:34:10 +03:00
Jesse Haka dd073d7c02 Support Authentication Config in APIserver 2024-05-04 14:51:45 +03:00
Jesse Haka a35c4f3c52 append AdditionalServiceAccountIssuers flags 2024-04-29 13:28:17 +03:00
Jesse Haka 496b7f5ea0 remove validation for additionalServiceAccountIssuers 2024-04-29 13:11:32 +03:00
Jesse Haka e60531d2a5 Support multiple service-account-issuer flags 2024-04-29 13:06:49 +03:00
Peter Rifel dd3d64943f
Migrate remaining EC2 resource types to aws-sdk-go-v2 2024-04-13 16:01:39 -04:00
Ciprian Hacman 0b2f67a524 azure: Default route table name to cluster name 2024-04-07 15:16:38 +03:00
Peter Rifel 0dcbf23df2
Migrate aws-sdk-go/aws to aws-sdk-go-v2/aws 2024-03-31 16:56:31 -05:00
Peter Rifel 0290a7e8d7
Migrate some packages to aws-sdk-go-v2 2024-03-23 19:42:28 -05:00
Ciprian Hacman 66d4e9b559 Add validation to help users move from usePolicyConfigMap 2024-02-28 21:52:52 +02:00
Kubernetes Prow Robot 5a3b1e2703
Merge pull request #16009 from voriol/master
If specified, posts event data to URL upon instance interruption action.
2024-02-13 05:29:50 -08:00
Kubernetes Prow Robot 3d6599bb20
Merge pull request #16344 from justinsb/overlap_podcidr
validation: Allow overlap of pod/node CIDR and service CIDR
2024-02-10 15:45:23 -08:00
justinsb 371902700e validation: Allow overlap of pod/node CIDR and service CIDR
We allowed this previously, so this is a regression for existing clusters.

These clusters are not obviously broken, and the
kube-controller-manager (for example) will exclude the service range
when issuing node CIDRs.  As such, remove validation until we can
determine if anything is actually broken by an overlap (and a path
forwards if so).

Issue #16340
2024-02-10 16:07:03 -05:00
justinsb 3c32c37474 Cleanup import of the same package in tests
Not critical, but it was troubling the linter.
2024-02-10 15:34:09 -05:00
Kubernetes Prow Robot 01705a6da3
Merge pull request #16318 from Lerentis/master
feat: added image minimum and maximum gc age
2024-02-03 11:43:47 -08:00
Tobias Trabelsi 311f40245f
added image minimum and maximum gc age
Signed-off-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
2024-02-03 12:30:46 +01:00