Commit graph

302 commits

Author SHA1 Message Date
Mikael Frykholm ef045d2b52
trust mandersson 2024-04-16 10:24:02 +02:00
Mikael Frykholm 63c1a4f81f
internal-sto4-test-k8sc-2.rut.sunet.se added 2024-04-16 10:20:44 +02:00
Mikael Frykholm 2c52abdd1e
internal-sto4-test-k8sc-1.rut.sunet.se added 2024-04-16 10:17:37 +02:00
Mikael Frykholm f76aa8648d
Change to tofu-creation for all machines in cluster. Rename k8sm to k8sc as in controller. 2024-04-16 10:12:45 +02:00
Mikael Frykholm b14a26a107
internal-sto4-test-k8sc-0.rut.sunet.se added 2024-04-16 10:08:33 +02:00
Mikael Frykholm e9757e9dbb
internal-sto4-test-k8sm-0.rut.sunet.se added 2024-04-15 10:58:02 +02:00
Mikael Frykholm 5b7977c8ba
Formatting. 2024-04-12 13:35:32 +02:00
Mikael Frykholm 024ac19997
Formatting. 2024-04-12 13:28:58 +02:00
Mikael Frykholm 8f06210e47
Document all steps for creating a cluster from scratch. 2024-04-12 13:26:26 +02:00
Mikael Frykholm ce68174067
internal-sto4-test-k8sw-5.rut.sunet.se added 2024-04-12 12:43:39 +02:00
Mikael Frykholm 3d5e62c032
internal-sto4-test-k8sw-4.rut.sunet.se added 2024-04-12 12:39:00 +02:00
Mikael Frykholm 40db5f45af
internal-sto4-test-k8sw-3.rut.sunet.se added 2024-04-12 12:32:34 +02:00
Mikael Frykholm 9354bd7c6f
internal-sto4-test-k8sw-2.rut.sunet.se added 2024-04-12 12:21:27 +02:00
Mikael Frykholm 609b96eb70
internal-sto4-test-k8sw-0.rut.sunet.se added 2024-04-12 12:06:05 +02:00
Mikael Frykholm 3a22da7ee3
Add tofu manifests for setting up workers. 2024-04-12 10:01:51 +02:00
Mikael Frykholm 51a0e01cf0
Try to redirect https to a port 80443 to make our traefik happy. 2024-04-03 12:11:12 +02:00
Mikael Frykholm c8a7e694af
Add worker node(s). 2024-03-28 09:56:01 +01:00
Mikael Frykholm b75124c401
Do not base64 encode secret. 2024-03-28 08:07:35 +01:00
Mikael Frykholm a4b198c5e0
Do not base64 encode secret. 2024-03-28 07:57:46 +01:00
Mikael Frykholm b90ed44a84
Secrets for cinder storage. 2024-03-27 16:04:25 +01:00
Mikael Frykholm fe0b7e33fa
1.29 seems broken, found https://github.com/kubernetes/kubernetes/issues/122955 2024-03-27 10:57:38 +01:00
Mikael Frykholm 49ee1f9959
Trust puppet-sunet developers. v2 2024-03-13 12:23:28 +01:00
Mikael Frykholm 8d5b734089
Trust puppet-sunet developers. 2024-03-13 12:21:33 +01:00
Mikael Frykholm e886b7e596
internal-sto4-test-k8sw-1.rut.sunet.se added 2024-03-13 11:07:34 +01:00
Mikael Frykholm dcb32f7efb
Add infra certs. 2024-03-01 13:55:23 +01:00
Mikael Frykholm cfd802ba16
Add load balancer config. 2024-03-01 13:05:44 +01:00
Mikael Frykholm 0f28d84875
Add Richard Lagerström to the project.
Deploya access and ssh access.
2024-03-01 12:57:53 +01:00
Mikael Frykholm 3a49579e44
Add the actual keys, not just references to them. 2024-03-01 12:36:16 +01:00
Mikael Frykholm 9d49c160e6
Actually enable the new class. 2024-03-01 12:31:24 +01:00
Mikael Frykholm 30dabc2c67
Add ssh keys and generic setup stuff. 2024-03-01 12:26:29 +01:00
Mikael Frykholm 27834cfa27
Upgrade to 1.29 to try out cloud native pg. 2024-03-01 10:14:59 +01:00
Mikael Frykholm dc76307bf0
Syntax error. 2024-02-29 10:48:56 +01:00
Mikael Frykholm 8f2019c326
Try out a microk8s upgrade 2024-02-29 10:46:24 +01:00
Mikael Frykholm d7126c410f
Add sunet::server 2024-02-26 15:38:55 +01:00
Mikael Frykholm 229b119539
Add kano's key and add ufw module. 2024-02-26 15:15:28 +01:00
Mikael Frykholm a9f88190ff
Setup initial trusted keys to be able to import external projects. 2024-02-26 12:52:39 +01:00
Mikael Frykholm 2aa00bd6b8
Setup default modules and versions to load. 2024-02-26 12:42:45 +01:00
Mikael Frykholm 7ec8cf3894
Initial install of k8s cluster. 2024-02-26 12:26:22 +01:00
Mikael Frykholm 4c9cf9821b
internal-sto4-test-k8sm-3.rut.sunet.se added 2024-02-26 12:19:49 +01:00
Mikael Frykholm 426ce519b3
internal-sto4-test-k8sm-2.rut.sunet.se added 2024-02-26 12:16:58 +01:00
Mikael Frykholm 987f21d900
internal-sto4-test-k8sm-1.rut.sunet.se added 2024-02-26 08:36:16 +01:00
Mikael Frykholm e1c7bbae38
Test-commit. 2024-02-22 19:35:30 +01:00
Mikael Frykholm e66fa2e689
Renamed tag 2024-02-19 12:44:05 +01:00
Mikael Frykholm 6950f54607
initial trust
Signed-off-by: Mikael Frykholm <mifr@sunet.se>
2024-02-19 12:36:03 +01:00
Micke Nordin b39960484f
Merge pull request #51 from SUNET/patlu-run-cosmos-fleetlock
run-cosmos: support fleetlock unlocking at reboot
2024-01-25 13:23:27 +01:00
Patrik Lundin df5558befb
Fix another indentation mismatch 2024-01-24 15:36:52 +01:00
Patrik Lundin 4b93d9c426
run-cosmos: support fleetlock unlocking at boot
This extends run-cosmos with a new argument that calls the unlock
function already included in the script as well as using the already
existing lock() function to make sure there is no race between the
bootup process and cron starting a normal run-cosmos process at the same
time.

The oexit() function is added to support exiting with a OK exit value
the same way eexit() is used to signal something is wrong.

This change also adds the systemd unit file that runs run-cosmos with the
new fleetlock-unlock argument at boot if fleetlock is configured.

While here fix indentation that was mixed between 3 and 4 spaces: it is
now 4 spaces everywhere.
2024-01-24 15:36:34 +01:00
Micke Nordin cacb97a22c
Allow running of bumptag with out signed commits or tags
By setting ALLOW_UNSIGNED_COMMITS_WITHOUT_TAGS you can bootstrap bumptag
on first startup of new repo
2023-12-04 14:24:34 +01:00
Johan Wassberg ecedda68e3
Merge pull request #50 from SUNET/kano-sshproxyjump
PREPARE/ADDHOST: allow the ues of proxyjump with ip address
2023-11-29 12:53:05 +01:00
Micke Nordin 71e112e009
PREPARE/ADDHOST: allow the ues of proxyjump with ip address
With this patch you can specify a ProxyJump for prepare-iaas-ubuntu,
prepare-iaas-debian and addhost. Example:

./prepare-iaas-debian 89.47.191.7 hj
./addhost -b -n node1.extern.drive.test.sunet.se -p hj -- 89.47.191.7

where hj is a host defined in my .ssh/config suitable for a proxyjump
to the host in question.

This makes it easier to use ip addresses for these scripts which might
be neccessary if dns takes a while to propagate.
2023-11-29 12:10:34 +01:00