Justin SB
cf9134489c
kops-controller: create IPAM controller for GCE
...
We observe the IPv6 CIDRs assigned to nodes, and reflect them into the node.
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2023-07-05 12:34:55 -04:00
Tone
c2ed4b6f64
Upgrade Karpenter to v0.27.5 ( #15144 )
...
* feat(karpenter): Upgrade to version 0.27.0
Upgrade Karpenter to current last stable version `0.27.0`.
Template have been updated to use the same templates than the Helm chart.
* feat(karpenter): Use AWSNodeTemplate for launchTemplate
To set Launch Templates is deprecated into the provisioner, it is recommends using the `AWSNodeTemplate` to set it.
Ref:
- https://karpenter.sh/v0.27.0/concepts/node-templates/
* feat(karpenter): Enable pruning addon
* Use extra flags in upgrade-ab scenario test
* feat(karpenter): Drop `karpenter` feature flag
* feat(karpenter): Add release note for `1.27`
* feat(karpenter): Upgrade to version 0.27.3
* feat(karpenter): fix template
* feat(karpenter): Upgrade to version 0.27.5
* Update Karpenter documentation with depending kops version
* Delete KOPS_FEATURE_FLAGS from e2e test `run-test`
* Run hack/update-expected.sh
2023-06-29 22:57:45 -07:00
Ciprian Hacman
246da5a548
Add create cluster flag for specifying the list of etcd clusters
2023-06-27 17:14:09 +03:00
John Gardiner Myers
37f67231b6
Remove 1.22 create cluster integration test
2023-06-22 23:03:24 -07:00
John Gardiner Myers
0dfac69d83
Remove support for Weave networking
2023-06-22 23:03:24 -07:00
Kubernetes Prow Robot
9cbb48c4a2
Merge pull request #15458 from peaaceChoi/master
...
Support intstr.IntOrString type in cmd
2023-06-22 07:13:40 -07:00
Ciprian Hacman
26198a22b2
Update tests for kOps v1.28
2023-06-20 08:11:21 +03:00
justinsb
36a763c88f
node labeling: don't ignore unknown roles
...
We were silently ignoring unknown roles, which makes it hard to know
when our expectations aren't met. It looks like the rename of the
role from "Master" to "ControlPlane" may have caused some drift
against our expectations also.
2023-06-18 19:40:56 -04:00
Ciprian Hacman
bec7226ad1
Rename `kops-copy` to `kops-utils-cp`
2023-06-16 22:24:51 +03:00
Leïla MARABESE
b9807d49e8
update expected + headers
2023-06-14 15:47:30 +02:00
Leïla MARABESE
dab001c3e9
scaleway authenticator and verifier
2023-06-14 15:15:17 +02:00
Ciprian Hacman
53a9be0bba
Add integration tests for K8s 1.27
2023-06-07 14:52:25 +03:00
Kubernetes Prow Robot
fe3e5cd6e1
Merge pull request #15436 from hakman/etcd-3.5.9
...
Update etcd to v3.5.9
2023-05-31 10:25:48 -07:00
Pyeongkang Choi
0a862fdb70
Support intstr.IntOrString type
2023-05-31 16:38:04 +09:00
Ciprian Hacman
f246cbe4f9
Use `filepath` instead of `path`
2023-05-31 07:44:13 +03:00
Ciprian Hacman
505c0c87de
kops-controller: Return `http.StatusConflict` only when node is ready
2023-05-27 12:58:50 +03:00
Ciprian Hacman
7b545dde4b
kops-controller: Return `http.StatusConflict` when node already exists
2023-05-27 09:47:40 +03:00
Ciprian Hacman
f51e347f99
Build and use cp replacement
2023-05-27 05:18:53 +03:00
Kubernetes Prow Robot
e3a639cd73
Merge pull request #15373 from hakman/depup
...
Update dependencies to K8s v1.27
2023-05-08 02:27:17 -07:00
Ciprian Hacman
43dc946522
Hide s2a flags from --help output
2023-05-08 07:35:36 +03:00
justinsb
1faee9dd8c
digitalocean: bootstrap nodes through kops-controller.
...
We start with a simple node verifier.
2023-05-07 13:17:56 -04:00
justinsb
c89f434f1b
Only use node challenge on hetzner
...
DigitalOcean (and others) will follow shortly.
Also create a method for CloudProvider, so that we are more ambivalent
towards bootstrapping methods.
2023-05-06 08:57:21 -04:00
Justin SB
c67f895226
Perform challenge callbacks into a node
...
In order to verify that the caller is running on the specified node,
we source the expected IP address from the cloud, and require that the
node set up a simple challenge/response server to answer requests.
Because the challenge server runs on a port outside of the nodePort
range, this also makes it harder for pods to impersonate their host
nodes - though we do combine this with TPM and similar functionality
where it is available.
2023-05-06 08:03:21 -04:00
justinsb
868823bbcf
Block bootstrap when the node already exists
...
We now do this across all clouds, as it has been demonstrated on
OpenStack.
2023-04-27 11:47:42 -04:00
Leïla MARABESE
1e20a4c629
unique instance names to comply with CCM
2023-04-25 16:01:42 +02:00
Leïla MARABESE
b4d230f8c2
scaleway integration test
2023-03-28 16:58:54 +02:00
Ciprian Hacman
dc92df3643
gcp: Add placeholder integration test for public load balancer
2023-03-16 07:49:47 +02:00
Jesse Haka
a765191898
use http.StatusConflict
2023-02-20 13:01:43 +02:00
Jesse Haka
8e6199fa39
exit gracefully if server already exists in k8s
2023-02-12 16:52:13 +02:00
Justin SB
9b02017059
openstack verifier: support IPv6
...
Add IPv6 support to the openstack verifier and polish up a few error messages.
2023-01-28 10:54:48 -05:00
Jesse Haka
b3c134be06
make openstack kops-controller boostrap auth better
2023-01-19 10:07:11 +02:00
Kubernetes Prow Robot
08f308232f
Merge pull request #15006 from zetaab/osnodeidentifier
...
update OpenStack node identifier to use Identifier
2023-01-15 23:20:51 -08:00
Jesse Haka
eaa1a6836e
update OpenStack node identifier to use Identifier instead of LegacyIdentifier
2023-01-15 10:14:51 +02:00
John Gardiner Myers
775ed65820
Run kops-controller server on non-leaders as well
2023-01-14 10:20:04 -08:00
Jesse Haka
3dab0eb807
Use kops-controller to boostrap nodes in OpenStack
2023-01-14 13:54:14 +02:00
Ciprian Hacman
d884e5f4d9
Remove the SpecOverrideFlag feature flag
2023-01-13 20:40:17 +02:00
Kubernetes Prow Robot
a1a0ce3f33
Merge pull request #14930 from zetaab/feature/openstacknodns
...
OpenStack: Add support for clusters without DNS
2023-01-12 07:52:54 -08:00
Kubernetes Prow Robot
a7a77026e1
Merge pull request #14920 from dimamo5/replace-using-defaults
...
Populate cluster with default values in `kops replace`
2023-01-12 03:08:54 -08:00
Diogo Moura
05a0a96d8b
Wrap error using '%w'
...
Co-authored-by: Ole Markus With <olemarkus@gmail.com>
2023-01-12 10:22:23 +00:00
Jesse Haka
cc8871eede
no dns for OpenStack
2023-01-11 20:02:02 +02:00
Grégory SANCHEZ
1b35c353d3
test(cas): add integration tests for cluster autoscaler priority expander config
2023-01-11 08:26:33 +01:00
Kubernetes Prow Robot
7b4430ff61
Merge pull request #14885 from johngmyers/root-volume
...
v1alpha3: Move IG root volume settings to sub-struct
2023-01-04 18:11:58 -08:00
John Gardiner Myers
c68be498c6
Refactor NewAssetBuilder to not take a Cluster
2023-01-01 13:37:52 -08:00
justinsb
6c2edaee7e
Add Context arg to vfs ReadFile
...
This is an "action" method, so should take a context.
2023-01-01 09:51:44 -05:00
Diogo Moura
4ead1abd87
Populate cluster with default values in `kops replace`
2022-12-31 00:31:12 +00:00
John Gardiner Myers
309c893ca1
Include SSHCredentials in create cluster dryrun output
2022-12-27 22:49:15 -08:00
John Gardiner Myers
92958f9966
v1alpha3: Move IG root volume settings to sub-struct
2022-12-26 20:35:26 -08:00
Ciprian Hacman
b3a07ee83e
Use short service name with discovery labels
2022-12-26 13:21:43 +02: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
c0dff11230
Update min versions for 1.27
2022-12-24 21:44:49 -08:00