Magnus Andersson
fd5204fb47
Update k8s peers
2024-10-24 09:59:05 +02:00
Magnus Andersson
5a1b44e7c0
Test more recent puppet sunet tag
2024-10-24 09:45:47 +02:00
Magnus Andersson
4f63fa0f60
Readd microk8s node
2024-10-24 09:02:13 +02:00
Magnus Andersson
a3215eae9b
Try to deploy with older version of puppet sunet
2024-10-24 08:19:39 +02:00
Magnus Andersson
9a23e78011
remove microk8s
2024-10-23 16:28:09 +02:00
Magnus Andersson
03839ba41b
Remove channel spec for microk8s.
2024-10-23 15:34:47 +02:00
Magnus Andersson
8cf1b38f15
Downgrade microk8s version in test.
2024-10-23 15:14:16 +02:00
Magnus Andersson
d32825ec66
Update worker peers
2024-10-22 13:52:28 +02:00
Magnus Andersson
f9b217e538
Update peer ip addresses
2024-10-22 13:41:34 +02:00
Magnus Andersson
09359e07af
Add new jocar key to validate cosmos modules apparmor and nagioscfg
2024-10-15 16:07:13 +02:00
Magnus Andersson
fcfc9fc0ac
Delete expired gpg keys for mandersson on servers.
2024-10-15 16:03:15 +02:00
Magnus Andersson
7d34d653e6
Add woker 4 matrix-test to cosmos-rules peer list
2024-10-15 15:45:32 +02:00
Magnus Andersson
71919802c8
Add new ssh key for mandersson
2024-10-15 13:56:48 +02:00
Magnus Andersson
5b480f0088
Add new gpg key for mandersson.
2024-10-15 12:35:12 +02:00
Magnus Andersson
5a36c01199
Mandersson: add new ssh key.
2024-09-16 18:46:12 +02:00
Magnus Andersson
a2ed169425
Just move prod lb.
2024-09-16 17:31:09 +02:00
Magnus Andersson
11a54df526
Change frontend servers.
2024-09-16 17:25:03 +02:00
Magnus Andersson
6355d795c0
Fix typo
2024-06-05 17:03:52 +02:00
Magnus Andersson
4a7ca09ca3
Add mariah ssh key
2024-06-05 16:59:37 +02:00
Magnus Andersson
b0f691e0b0
Add frontends to k8s.
2024-06-05 14:59:15 +02:00
Magnus Andersson
d1a85199c6
Make kub[cw] a special nftables case
2024-05-31 12:57:38 +02:00
Magnus Andersson
e87657f209
reenable nftables init
2024-05-31 12:39:35 +02:00
Magnus Andersson
becbb55d1a
Disable nftables init
2024-05-31 11:51:48 +02:00
Magnus Andersson
47382d698e
Add kano ssh key
2024-05-29 09:08:09 +02:00
Magnus Andersson
5c57fb769c
Clean up more sunet server options
2024-05-28 22:15:44 +02:00
Magnus Andersson
894e3117f0
Try without nftables
2024-05-28 21:59:25 +02:00
Magnus Andersson
855f06db18
Add cosmos rules for matrix k8s prod.
2024-05-28 10:14:33 +02:00
Magnus Andersson
ee78b4942f
Upgrade microk8s version and remove traefik reference
2024-05-28 08:15:49 +02:00
Magnus Andersson
72e0294d5e
Add authorized keys
2024-05-27 22:34:42 +02:00
Magnus Andersson
7869398fae
Confiure k8s peers
2024-05-27 16:22:23 +02:00
Magnus Andersson
14b5ef2910
Restore inital cosmos rule range
2024-05-27 15:37:34 +02:00
Magnus Andersson
d35b0a5696
Add general server config
2024-05-27 15:35:57 +02:00
Magnus Andersson
5c4da9100f
Test server rule
2024-05-27 15:12:33 +02:00
Magnus Andersson
8a6e1c1c59
Test server rule
2024-05-27 15:10:27 +02:00
Magnus Andersson
9b3c4ae686
Add mgmt addresses config
2024-05-27 14:53:00 +02:00
Magnus Andersson
06e1e0c57f
Add some more tust
2024-05-27 11:11:36 +02:00
Magnus Andersson
219d351660
Fix setup_cosmos_modules
2024-05-27 11:02:16 +02:00
Magnus Andersson
7e172b5f25
Fix copy/paste error
2024-05-27 10:53:17 +02:00
Magnus Andersson
2dc16fa1b7
Add basic k8s cosmos rules.
2024-05-27 10:50:39 +02:00
Magnus Andersson
17aa029d3c
Add matrix version of setup_cosmos_modules
2024-05-27 10:47:18 +02:00
Magnus Andersson
5c8ef64a2a
Add some ssh keys
2024-05-23 22:55:16 +02:00
Magnus Andersson
fd1dd2e302
Add some keys to trust
2024-05-23 22:37:19 +02:00
Johan Wassberg
c72f5ccd86
Allow for hosts without class(s)
2024-04-12 15:32:40 +02: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
Johan Wassberg
cf2e6b6518
File provided by Sunet::Dockerhost
2023-04-04 15:21:15 +02:00
Johan Wassberg
5af8093338
Add support for eyaml in Hiera
...
And at the same time remove support for gpg.
The modern version of the configuration (v5) has been tested with 20.04 but
might work with older dists.
2023-02-16 07:44:37 +01:00
Fredrik Thulin
c400bba97d
remove 'make db'
...
The db-file, essentially providing reverse lookup of classes to host
names, is only used by some Nagios configuration instances and causes
continuing operational headaches in those ops-repos.
It should be kept/refactored to only apply to the monitoring hosts in
the cases where it is used, but we don't want any new ops-repos to use
it hence it should be removed from upstream multiverse.
2023-02-07 14:21:29 +01:00
Fredrik Thulin
12b2412ea7
run cron at boot too, to e.g. get new firewall rules installed
2023-02-06 17:12:01 +01:00
Fredrik Thulin
79606f2a6d
check for /etc/no-automatic-cosmos in the wrapper, and allow arguments to be passed
2023-02-06 16:47:41 +01:00
Johan Wassberg
49ba964897
Wrap cosmos in scriptherder if available
...
nunoc-ops and others has been doing this for ages by just modifing the cron
file.
2023-02-02 11:45:54 +01:00