Commit Graph

12 Commits

Author SHA1 Message Date
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
justinsb 49de7d6648 refactor: build assets for kubernetes and nodeup explicitly
Also remove the (potentially) confusing FileAssets type.
2024-11-24 18:29:42 -05: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
justinsb 623ae0672c metal: copy static manifests to the control plane
Used by the kube-apiserver healthcheck.
2024-09-14 13:09:45 -04:00
Peter Rifel 6261b0feea
Include IPv6 addresses 2024-09-06 15:53:49 -05:00
Peter Rifel dbabd7bffe
Migrate to newer net/netip package 2024-09-06 15:53:48 -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
justinsb fc049f40f3 Use embedded hashes for our well-known assets
Rather than downloading the hash every time, we can record the hashes
for our well-known assets and bake them into the kOps binary.  If the
hash is not baked in, we will continue to fall-back to downloading it,
this is important for new k8s versions, or where the user specifies a
version of one of our well-known assets (such as containerd).
2024-05-09 10:27:33 -04:00
justinsb 192b880434 chore: refactor MirroredAsset into assets
This seems logically coherent, and is part of the work to start using
compiled-in hashes for most well-known assets.
2024-03-30 10:34:27 -04:00
justinsb 5afc86d1a8 Refactor: Move nodeUpConfigBuilder to nodemodel
Another big chunk of node code out of cloudup!
2024-03-28 09:11:38 -04:00