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
d39ba74bd7
Change the control-plane IG role to "ControlPlane" in v1alpha3 API
2022-11-22 17:05:29 -08:00
John Gardiner Myers
5fca16aa30
v1alpha3: Move API-related settings under API
2022-11-19 10:27:12 -08:00
Ciprian Hacman
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
John Gardiner Myers
64be690211
Update TopologySpec for v1alpha3 API
2022-11-06 09:10:38 -08:00
Nagaraju Akkina
bb934447fd
Fix openstack tag limitation
...
Openstack is not allowing object tag size of more than 60 characters, as
we can not rename a cluster we have to truncate and limit length to 42
for the tag value.
2022-08-30 10:03:30 +02:00
Ole Markus With
ba544eacce
Add control-plane taint as kubetest2 non-blocking taint and fix OS tests
2022-04-18 13:56:13 +02:00
John Gardiner Myers
aff5f587f3
Move Openstack settings to cloudProvider.openstack
2022-04-07 10:04:19 -07: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
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
Kubernetes Prow Robot
3a293781a6
Merge pull request #11784 from ederst/add-os-config-drive
...
Launch Openstack instances with config drive
2021-08-04 00:49:24 -07:00
John Gardiner Myers
e9fc12b4f3
Fix certificate bootstrap for non-kops-controller-bootstrap cloud providers
2021-07-18 13:37:19 -07:00
John Gardiner Myers
c35d101a89
Refactor keysets for etcd-manager
2021-07-08 18:46:03 -07:00
John Gardiner Myers
1e0c6cb1aa
Refactor apiserver-aggregator-ca
2021-07-01 22:25:47 -07:00
John Gardiner Myers
3de05a500e
Refactor etcd-clients-ca keyset for api-server
2021-06-30 18:55:30 -07:00
John Gardiner Myers
e1df9f09dd
Refactor service-account public keys
2021-06-27 08:45:06 -07:00
John Gardiner Myers
2faf28379a
Refactor etcd-client-cilium secrets
2021-06-25 23:57:23 -07:00
John Gardiner Myers
1752f0f4db
Move most of nodeup.Config out of userdata
2021-06-25 22:25:49 -07:00
John Gardiner Myers
a83bf7b20f
Mark nodes NeedsUpdate when keys they use change
2021-06-21 19:37:23 -07:00
ederst
fd2c7e87e0
Adapt tests for Openstack config drive option
2021-06-16 13:52:26 +02:00
John Gardiner Myers
2e1629c610
Introduce nodeup.AuxConfig
2021-06-03 20:37:22 -07:00
John Gardiner Myers
7c9e7e9286
Make Lifecycle field non-pointer
2021-06-02 23:02:16 -07:00
Michael Wagner
e4a2a5b86c
feat(openstack): enable configuration of servergroup affinities
...
This enables us to change the ServerGroup affinity policies using
annotations on instance groups.
The default affinity policy still is "anti-affinity".
2021-05-19 13:11:08 +02:00
Justin SB
d5294b0b7c
Update test data for richer bootstrap script
2021-01-09 13:29:18 -05:00
Justin SB
4ac9d5c17b
Boot nodes without state store access
...
kops-controller can now serve the instance group & cluster config to
nodes, as part of the bootstrap process.
This enables nodes to boot without access to the state
store (i.e. without S3 / GCS / etc permissions)
Feature-flagged behind the KopsControllerStateStore feature-flag.
2021-01-09 13:08:48 -05:00
Justin SB
7d9ff3ba96
Refactor MirroredAsset into mirrors package
...
This means we can use MirroredAsset for nodeup without circular
dependencies. Also removes a duplicate constant that was declared
twice.
2020-12-19 18:39:09 -05:00
Ole Markus With
7c8ff94631
Make setupmockopenstack standalone
2020-10-01 19:15:39 +02:00
Ole Markus With
54ccc92829
Remove unused functions
2020-09-05 20:22:21 +02:00
Ole Markus With
0bd29dd4c7
Remove old servergroup test
2020-09-05 20:22:21 +02:00
Ole Markus With
4a21a532da
Add golden tests for openstack servergroup
2020-09-05 20:22:21 +02:00
Kubernetes Prow Robot
e5e8908cce
Merge pull request #9821 from olemarkus/openstack-newer-nova-3
...
Reconcile ports and floating ips
2020-08-27 07:15:53 -07:00
Kubernetes Prow Robot
6a33402702
Merge pull request #9820 from olemarkus/managed-sgs
...
Remove unknown rules from managed security groups on openstack
2020-08-27 03:43:03 -07:00
Ole Markus With
8e4f3b1458
Tags are never used
2020-08-26 14:17:24 +02:00
Ole Markus With
6cc7153bbe
Don't fatal on non-fatal things in servergroup tests
2020-08-26 10:52:34 +02:00
Justin SB
b158ffab04
Refactor: KopsModelContext embeds IAMModelContext
...
go syntax makes this an annoying change, unfortunately.
2020-08-25 11:22:34 -04:00
Michael Wagner
df5cc6a71b
feat(openstack): propagate cloud labels to machines
2020-08-19 09:05:51 +02:00
Ole Markus With
fbcdeb2ed6
Respect Topology when assigning floating ips or not
2020-08-08 12:23:09 +02:00
Ole Markus With
ecca2fda82
When using bastion and expecting no floating IPs, topology should be private
2020-07-12 22:08:30 +02:00
Ole Markus With
b508696cf2
Make Instance task depend on floating ip
...
Originally, floating ips depended on instances, but this causes a dependency cycle now that bootstrap scripts require all IPs for the API cert.
This also requires using networking API for creating floating ips instead of compute so that we can name (and later tag) the floating IPs, which is necessary to know which floating IP belongs to which instance prior to association
2020-07-12 21:08:13 +02:00
John Gardiner Myers
f4f4763dc2
Refactor more certs to be issued by nodeup
2020-06-28 23:12:13 -07:00
John Gardiner Myers
013f9bf914
Create bootstrap script in a Task
2020-06-26 19:11:40 -07:00
John Gardiner Myers
cef5b175c7
Rename BootstrapScript to BootstrapScriptBuilder
2020-06-26 10:57:36 -07:00
John Gardiner Myers
87446f8894
Make all users of userdata declare it as a dependency
2020-06-26 10:31:52 -07:00
John Gardiner Myers
304476cebf
Refactor BootstrapScript
2020-06-18 22:17:39 -07:00
Ciprian Hacman
602cb825e7
ARM64 support - Update bootstrap script for multi-arch
2020-06-19 04:42:11 +03:00
Jesse Haka
facd12dd32
Revert "feat(openstack): propagate cloud labels to machines"
2020-05-07 12:06:58 +03:00
Michael Wagner
fc5807d374
feat(openstack): propagate cloud labels to machines
2020-04-27 15:58:02 +02:00
Jesse Haka
5e3b94ae17
use existing network and subnet
2019-10-27 08:21:25 +02:00
Michael Wagner
044e05cbe7
chore(openstack): use InstanceGroup zones as AV
2019-09-27 09:45:34 +02:00