Ciprian Hacman
d3b5bfceff
chore: Remove support for Kubernetes 1.28
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2025-08-30 15:37:09 +03:00
justinsb
e3d6a9ae4a
metal: don't set CCM external always for IPv6
...
While we do require CCM for IPv6, we should configure the appropriate CCM.
2025-07-26 20:01:12 -04:00
Peter Rifel
c2ad571ecb
remove unnecessary error from function signature
2025-07-15 22:00:29 -05:00
Ciprian Hacman
97c631b05b
Fix cloud-provider flag for K8s 1.31+
2025-07-10 09:42:11 +03:00
Peter Rifel
9f7a75333a
Remove --register-schedulable kubelet flag in 1.34+
2025-06-18 05:41:42 -07: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
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
29d6fd897e
refactor: OptionsBuilder works on kops.Cluster
...
Previously it worked on ClusterSpec, but that means we can't read the
labels or annotations. We want to use those labels/annotations to
experiment with new cloud providers (e.g. bare metal) before adding
this to the API.
Introduce generics so we also get type-safety.
2024-08-25 12:58:34 -04:00
Peter Rifel
36a32537a1
Fix InTreePluginAWSUnregister feature gate removal in 1.31
2024-07-29 22:07:21 -05:00
Davanum Srinivas
535af3f10f
Drop InTreePluginAWSUnregister feature gate for k8s 1.31 and above
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-25 12:31:19 -04:00
John Gardiner Myers
47b1c37069
Remove code for disabling AWS EBS CSI driver
2023-09-04 15:43:23 -07:00
John Gardiner Myers
b3908e592c
Remove support for Kubernetes 1.23
2023-09-03 16:22:18 -07:00
John Gardiner Myers
bbff6298e7
Remove support for bootstrap tokens
2023-07-16 12:12:00 -07:00
Ciprian Hacman
8a8f1be1ed
Update pause image to v3.9
2023-06-16 21:15:50 +03:00
Peter Rifel
3ce30fff48
Don't set CSIMigrationAWS for k8s >=1.27
2023-03-10 21:19:21 -06:00
John Gardiner Myers
0c323445fb
Move UsesKubenet to nodeup.Config
2023-01-15 23:12:00 -08:00
John Gardiner Myers
f6debfd658
Move ServiceClusterIPRange to nodeup.Config
2023-01-15 17:19:18 -08:00
Kubernetes Prow Robot
e13c51968b
Merge pull request #14869 from johngmyers/upd-min-version
...
Update min versions for 1.27
2022-12-24 23:59:27 -08:00
John Gardiner Myers
005ec38972
Remove code for no-longer-supported k8s 1.21
2022-12-24 21:44:50 -08:00
John Gardiner Myers
0e11075012
v1alpha3: Move GCE-specific CloudConfig settings to GCESpec
2022-12-20 19:44:32 -08:00
John Gardiner Myers
dec7d33be6
v1alpha3: Move AWS EBS CSI spec under CloudProvider.AWS
2022-12-19 00:10:16 -08:00
Kubernetes Prow Robot
e5a835d287
Merge pull request #14706 from johngmyers/v1alpha3-networking
...
v1alpha3: move networking fields under networking
2022-12-05 21:34:38 -08:00
Leïla MARABESE
1bacbd591a
fixed etcd + added machine type
2022-12-05 14:40:28 +01:00
John Gardiner Myers
235aa61594
v1alpha3: move networking fields under networking
2022-12-02 19:19:59 -08:00
John Gardiner Myers
6536c0b301
v1alpha3: use new terminology for kubelet config
2022-11-25 16:53:23 -08:00
Ciprian Hacman
d29812fc6e
Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf
2022-11-19 03:45:23 +02:00
Ciprian Hacman
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
Ole Markus With
cd378bff72
Move setting role taints to cloudup
2022-10-18 13:42:00 +02:00
Ole Markus With
74afb7aed0
Remove checks for k8s < 1.21
2022-09-19 19:12:53 +02:00
Ole Markus With
e5d33401dc
Remove k8s GTE 1.20 checks as it is always true
2022-09-17 20:17:23 +02:00
Ciprian Hacman
b5f14b589b
Add initial support for Hetzner Cloud
2022-05-09 06:12:15 +03:00
Ciprian Hacman
a4ed2b0654
Migrate to registry.k8s.io
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
John Gardiner Myers
70f7d9bdb2
Use function to get cloud provider from cluster spec
2022-03-02 21:59:47 -08:00
Ole Markus With
8b71cedccc
Do not enable graceful shutdown if k8s version < 1.21
2022-02-12 19:13:52 +01:00
Ole Markus With
2625264fe5
Add support for graceful node shutdown
...
Update docs/cluster_spec.md
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2022-02-11 20:51:02 +01:00
Ciprian Hacman
68b4611066
Clean up kubelet networking flags for dockershim
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 17:36:18 +02:00
Ciprian Hacman
bf82a8f260
Update pause image to v3.6
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 13:00:36 +02:00
Ole Markus With
3f265a43bb
Remove networking flags as of k8s 1.24
2022-01-18 22:15:16 +01:00
Ciprian Hacman
cb6d424675
Use kubelet --non-masquerade-cidr only for Docker with kubenet
2021-12-20 08:47:02 +02:00
John Gardiner Myers
a0736b3c29
Remove support for Aliyun/Alibaba Cloud
2021-12-11 21:49:13 -08:00
justinsb
4cf52d0e51
GCE: Support kops-controller, including in gossip mode
...
We discover the kops-controller in gossip mode using seeding code that
calls into the GCE API, just like gossip itself does.
We refactor the gossip code into a shared gcediscovery library with
minimal dependencies.
2021-12-04 11:51:41 -05:00
Ole Markus With
f2f9b9dcbb
Determine hostnameOverride entirely in nodeup instead of passing in cloud placeholders from cloudup
2021-11-30 13:29:54 +01:00
Ole Markus With
4ef0172ee9
Enable protect-kernel-defaults by default and set the correct sysctls in nodeup
2021-08-23 11:48:20 +02:00
Peter Rifel
c5fbcccfa6
Update pause image to 3.5
2021-07-02 06:40:27 -04:00
John Gardiner Myers
d3469d6ec2
Remove code for no-longer-supported k8s versions
2021-05-07 23:40:03 -07:00
Ole Markus With
4d4bcba315
Enforce 1.14 deprecation
2021-02-21 17:59:39 +01:00
Ole Markus With
4ee43a849c
k/k changed the feature gate for disabling in-tree CSI
2021-02-18 21:12:51 +01:00
Ole Markus With
a86abcfd3e
CSIMigrationAWSComplete feature gate does not work unless also CSIMigrationAWS is enabled
2021-02-11 12:41:50 +01:00
Kubernetes Prow Robot
a140168c70
Merge pull request #10467 from olemarkus/ebs-csi
...
AWS CSI driver
2021-01-12 13:36:35 -08:00
Bharath Vedartham
a8d709acf2
Default cgroup driver to systemd from k8s 1.20
...
Currently, kOps uses cgroupfs cgroup driver for the kubelet and CRIs. This PR defaults
the cgroup driver to systemd for clusters created with k8s versions >= 1.20.
Using systemd as the cgroup-driver is the recommended way as per
https://kubernetes.io/docs/setup/production-environment/container-runtimes/
2021-01-12 20:39:25 +05:30