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
a65bb16a38
metal: support `kops toolbox enroll` on a control-plane machine
...
In particular, we want to build the full cluster and instance group.
The control plane does not yet start, because etcd is not configured correctly.
2024-08-31 07:14:47 -04:00
justinsb
6e036b39c2
refactor: move more nodeup script logic to NodeUpScript
...
This enables simpler reuse.
2024-08-30 09:14:49 -04: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
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
Ciprian Hacman
ee1ab922c0
Fix shellcheck warnings for bootstrap script proxies section
2024-03-06 06:23:37 +02:00
Ciprian Hacman
3325f260f8
Fix shellcheck warnings for bootstrap script
2024-03-03 13:29:31 +02:00
justinsb
50776a7e92
Refactor ForAPIServer
...
We instead return a list of the services we are supporting.
We can in future split out internal and external apiserver services.
2024-01-12 15:53:41 -05:00
John Gardiner Myers
688097bd85
Remove unnecessary data from userdata
2023-08-09 18:12:37 -07:00
John Gardiner Myers
ed9883651c
Remove references to Openstack ClusterSpec fields from nodeup
2023-07-29 04:42:07 -07:00
John Gardiner Myers
bbff6298e7
Remove support for bootstrap tokens
2023-07-16 12:12:00 -07:00
John Gardiner Myers
977aacc356
Remove dead code for non-kops-controller bootstrap
2023-07-16 07:40:25 -07:00
John Gardiner Myers
aef6fbdd29
Refactor UseKopsControllerForNodeBootstrap()
2023-07-11 09:45:45 -07:00
justinsb
2f0a94c34b
Remove duplicate Cluster field in BootstrapScriptBuilder
...
We had an identically named Cluster field in the "base class" (the
unnamed embedded objects we inherit), causing shadowing and the
potential for a nil-pointer panic.
2023-06-19 14:34:02 -04:00
Leïla MARABESE
dab001c3e9
scaleway authenticator and verifier
2023-06-14 15:15:17 +02:00
justinsb
ca67b1ca1e
Refactor: rename IsGossip -> UsesLegacyGossip
...
We want to be able to use "dns=none" (without peer-to-peer gossip)
even for clusters that have the k8s.local extension. These were
previously called "gossip clusters", but really that is an
implementation; what actually matters to users is that they don't rely
on writing records into a DNS zone (such as Route53).
2023-05-22 21:50:16 -04:00
justinsb
9c73c341ae
Don't pass env vars if not needed
2023-05-07 13:17:56 -04:00
Leïla MARABESE
9f950f4a3a
scaleway profiles feature
2023-02-10 17:02:45 +01:00
Jesse Haka
3dab0eb807
Use kops-controller to boostrap nodes in OpenStack
2023-01-14 13:54:14 +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
John Gardiner Myers
1de02c56f1
Use state store for nodeup.Config in Gossip clusters
2023-01-11 21:19:24 -08:00
Jesse Haka
cc8871eede
no dns for OpenStack
2023-01-11 20:02:02 +02:00
Leïla MARABESE
543d59758a
removed SCW_DEFAULT_REGION and SCW_DEFAULT_ZONE env vars
2023-01-10 16:11:23 +01:00
John Gardiner Myers
b5eef1c129
Use NodeupConfig for kube-proxy config
2023-01-03 12:29:07 -08:00
John Gardiner Myers
fe448ef906
Use NodeupConfig for DockerConfig
2023-01-02 13:58:21 -08:00
John Gardiner Myers
125866792d
Use NodeupConfig for ContainerdConfig
2023-01-02 13:42:11 -08:00
John Gardiner Myers
25a897b691
Use NodeupConfig for ContainerRuntime
2023-01-02 12:50:23 -08:00
John Gardiner Myers
4d309b0b36
Move Cluster into CloudupSubContext
2022-12-20 08:11:01 -08:00
John Gardiner Myers
7c3e32369a
Refactor Context into separate cloudup and nodeup types
2022-12-17 17:42:46 -08:00
John Gardiner Myers
235aa61594
v1alpha3: move networking fields under networking
2022-12-02 19:19:59 -08:00
John Gardiner Myers
76f71512cc
v1alpha3: fix miscellaneous capitalization
2022-11-28 21:37:21 -08:00
John Gardiner Myers
6536c0b301
v1alpha3: use new terminology for kubelet config
2022-11-25 16:53:23 -08:00
John Gardiner Myers
d39ba74bd7
Change the control-plane IG role to "ControlPlane" in v1alpha3 API
2022-11-22 17:05:29 -08:00
Ciprian Hacman
e51221ae3f
Don't serve config from kops-controller for APIServer nodes
2022-11-22 22:17:39 +02:00
Leïla MARABESE
f7f89080c6
codegen + updated headers + refactoring after reviews
2022-11-21 11:46:29 +01:00
Leïla MARABESE
b00465a796
scaleway model context + fixed typo in env vars
2022-11-21 11:46:29 +01: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
Ciprian Hacman
18b5dcd297
Boot nodes without state store access
2022-11-15 14:40:14 +02:00
Ciprian Hacman
4e5ded6dc3
hetzner: Create cluster without DNS or Gossip
2022-10-27 11:29:37 +03:00
justinsb
6123c9e7ba
nodeup script: accept strongly typed nodeup.Config
...
More self-documenting and flexible than accepting a string.
2022-10-08 08:50:42 -04:00
Leïla MARABESE
01d480de8b
added scaleway to v1alpha3
2022-09-26 13:55:44 +02:00
Leïla MARABESE
0fa996890d
featureflag and env vars for nodeup ready for testing
2022-09-26 13:55:08 +02:00
Ciprian Hacman
a7be5ede73
Avoid spurious changes with bastion hosts due to user data
2022-09-23 16:06:45 +03:00
Ciprian Hacman
271ce3387a
Wait for load balancer to be ready for Hetzner
2022-07-29 14:52:03 +03:00
srikiz
f837ced218
Fix journald for do
...
Incorporate review comments
Incorporate review comments
Remove echo
2022-06-07 14:25:23 +05:30
Ciprian Hacman
2f8154692f
Allow returning multiple addresses for API
2022-05-09 14:14:15 +03:00
Ciprian Hacman
b5f14b589b
Add initial support for Hetzner Cloud
2022-05-09 06:12:15 +03:00
John Gardiner Myers
70f7d9bdb2
Use function to get cloud provider from cluster spec
2022-03-02 21:59:47 -08:00
justinsb
994ac19b42
Use fi.Keyset instead of passing tasks around
...
Using a task leads to layering complexity. We could introduce a new
type, but fi.Keyset is the type we seem to want.
(We could move Keyset out of fi, but we don't need to yet)
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-12-20 23:24:32 -05:00