Commit Graph
100 Commits
Author SHA1 Message Date
2martens 1869fd6cd9 Revert "Remove part about addonRepositories"
This reverts commit 087eac6a5c.
2023-11-04 22:38:55 +01:00
2martens feba19b8dc Add user to microk8s group 2023-11-04 22:36:46 +01:00
2martens 60897fa08a Use helm 3 2023-11-04 22:30:49 +01:00
2martens 087eac6a5c Remove part about addonRepositories 2023-11-04 22:27:46 +01:00
2martens b4c6d4822b Wait for microk8s before attempting to install further things 2023-11-04 22:21:04 +01:00
2martens 79bf4db13f Added cluster again 2023-11-04 22:09:44 +01:00
2martens 7bedc86e34 Remove cluster 2023-11-04 22:08:15 +01:00
2martens d5255a0eab Fixed launch configuration 2023-11-04 22:07:47 +01:00
2martens 442eae5925 Use non-strict confinement snap version 2023-11-04 21:59:14 +01:00
2martens 0711ab8f68 Install snapcraft with classic confinement 2023-11-04 21:54:14 +01:00
2martens ec6e37d6de Use tmpfiles.d for snap directory 2023-11-04 21:45:33 +01:00
2martens 386cbee586 Enable cluster again 2023-11-04 21:44:14 +01:00
2martens fbfd298fe3 Fix connect order 2023-11-04 21:37:39 +01:00
2martens f981a5c84d Delete cluster 2023-11-04 21:36:14 +01:00
2martens 590bcd8cef Install missing snapcraft 2023-11-04 21:29:50 +01:00
2martens a701a70775 Use content snap 2023-11-04 21:25:20 +01:00
2martens b8ba8c3146 Fixed path 2023-11-04 21:02:36 +01:00
2martens 20ff391287 Use config path that must work 2023-11-04 21:01:39 +01:00
2martens b641ffe993 Set refresh times for snap 2023-11-04 20:51:49 +01:00
2martens c6b6023094 Try launch configuration as non-hidden file 2023-11-04 20:44:37 +01:00
2martens 3a424d359f Fix commands for helm 2023-11-04 20:33:30 +01:00
2martens 9b616faae5 Fixed path for cluster setup 2023-11-04 20:26:01 +01:00
2martens dadc8925ae Use apt-get 2023-11-04 20:21:47 +01:00
2martens 55960b60af Fix copy statement 2023-11-04 20:21:12 +01:00
2martens 9fc9a47e81 Defer write_files 2023-11-04 20:14:53 +01:00
2martens bf85ff0bf8 Enable cluster again 2023-11-04 19:53:17 +01:00
2martens ac87dd9915 Remove cluster 2023-11-04 19:51:37 +01:00
2martens 25c9aefea8 Try saving files in existing tmpfile directory 2023-11-04 19:32:06 +01:00
2martens 38df9786b1 Add cluster again 2023-11-04 19:21:45 +01:00
2martens 857996a883 Delete server again 2023-11-04 19:17:45 +01:00
2martens 5a2475f1f5 Force recreate on user data change 2023-11-04 19:15:12 +01:00
2martens 6c89fc6646 Fixed cloud init scripts 2023-11-04 19:14:27 +01:00
2martens c5be34b7e5 Removed obsolete write_files config 2023-11-04 18:54:39 +01:00
2martens cd8e67b508 Enabled cluster 2023-11-04 18:52:27 +01:00
2martens 84cd19d661 Fixed missing parameters 2023-11-04 18:51:57 +01:00
2martens 3f42cd15f9 Moved all setup to launch configuration and removed provisioners 2023-11-04 18:44:51 +01:00
2martens 2aefb28c53 Removed cluster again 2023-11-04 17:49:50 +01:00
2martens e3fafdf61b Fix path of launch configuration to that expected by microk8s 2023-11-04 16:54:48 +01:00
2martens 58f4f676af Only copy launch configuration so it is available later for debug purposes 2023-11-04 16:45:06 +01:00
2martens 95a4454f3c Update version of microk8s config file 2023-11-04 16:44:44 +01:00
2martens ca7a90b1ad Fixed syntax 2023-11-04 16:33:09 +01:00
2martens 2867d56369 Enable cluster again 2023-11-04 16:29:25 +01:00
2martens c86e759c28 Wait with installation until helm and microk8s are available 2023-11-04 16:27:01 +01:00
2martens 01499b0d38 Delete cluster 2023-11-04 16:15:01 +01:00
2martens 36b2ad85a4 Prevent launch config from being overwritten and fix possible substitution problem 2023-11-04 16:14:44 +01:00
2martens 54fb96119c Add cluster again 2023-11-04 16:01:26 +01:00
2martens 4d51f3164d Delete cluster 2023-11-04 15:56:54 +01:00
2martens 38a486b83e Make sure that snapd is installed 2023-11-04 15:56:38 +01:00
2martens 26822101cc Add cluster again 2023-11-04 15:48:31 +01:00
2martens 90c6744a4c Remove cluster again 2023-11-04 15:36:49 +01:00
2martens 4e1548c91e Fix installation again 2023-11-04 15:36:23 +01:00
2martens b77d8f02b6 Correct user for ssh to servers 2023-11-04 15:32:02 +01:00
2martens f2179c432d Add cluster again 2023-11-04 15:27:50 +01:00
2martens 24ccdf0536 Remove cluster 2023-11-04 15:24:40 +01:00
2martens d7f8160ede Add missing snapd 2023-11-04 15:23:48 +01:00
2martens 477fdf78bd Use ipv4 address of server 2023-11-04 15:16:50 +01:00
2martens 668acda4c8 Fixed host and dns entries 2023-11-04 15:15:09 +01:00
2martens 540a431b0f Fixed host setting for helm resources 2023-11-04 15:07:56 +01:00
2martens 369aa04fc3 Refer to kube api server dns record for argo records 2023-11-04 15:06:40 +01:00
2martens 2313611321 Added missing index keys 2023-11-04 15:02:59 +01:00
2martens c2591b5c4d Added missing providers to lock file and fixed duplicate name 2023-11-04 15:01:02 +01:00
2martens 23f0470e73 Use cidrhost for loadbalancer ip as well 2023-11-04 14:56:58 +01:00
2martens 47d10ed2c5 Reformatting 2023-11-04 14:55:09 +01:00
2martens 9bd74debf5 Fix host entries in provisioners 2023-11-04 14:52:29 +01:00
2martens 3423a54e7d Fix AAAA records 2023-11-04 14:50:47 +01:00
2martens fd7dca8fd6 Added reverse DNS entries 2023-11-04 14:31:22 +01:00
2martens 1336405f13 Fix writing microk8s config 2023-11-04 14:05:05 +01:00
2martens c64313eeda Delete test cluster 2023-11-04 13:35:41 +01:00
2martens 1b24b6ecee Fix launch configuration of microk8s 2023-11-04 13:34:50 +01:00
2martens 39a5afd2f4 Fixed host values for provisioners 2023-11-04 13:27:22 +01:00
2martens d35466a056 Use cidrhost 2023-11-04 13:21:23 +01:00
2martens 5fc9e1b22e Fixed name of servers 2023-11-04 13:21:18 +01:00
2martens 40509aee75 Added support for vault secrets 2023-11-04 13:12:08 +01:00
2martens 5e014377c2 Explicitly specify Argo CD environment 2023-11-04 09:50:35 +01:00
2martens 1549bd6c9d Set argocd environment 2023-11-04 09:49:52 +01:00
2martens 57a092a947 Added outputs for the ip addresses pointing to the api server 2023-11-04 09:44:12 +01:00
2martens 0916e6f53c Provide dns record for each node and install argocd in high availability from 3 nodes onwards 2023-11-03 10:32:45 +01:00
2martens 766de7e9a8 Install argocd in high availability if at least three nodes are available 2023-11-03 10:25:03 +01:00
2martens 634bd5f272 Install cluster_setup chart as well 2023-11-03 08:56:17 +01:00
2martens a3509049e4 Added argocd nameserver record 2023-11-03 08:51:25 +01:00
2martens 27133a507f Added module to create k8s cluster with single or multiple nodes 2023-11-03 08:48:16 +01:00
2martens a8424ad1d4 Added additional ports needed for monitoring 2023-11-02 08:53:08 +01:00
2martens fa5a818e7f Added metrics endpoint to ufw allow list 2023-11-01 23:31:47 +01:00
2martens 6dff1d4241 Moved template files to subdirectory 2023-11-01 22:52:45 +01:00
2martens 9178a00ba7 Added domain for prometheus 2023-11-01 22:52:17 +01:00
2martens 9d83e693a8 Added extra step to show the output of the previous step in order to verify if it worked 2023-11-01 17:50:27 +01:00
2martens f46348b614 Added extra cloud-init for kubernetes hosts 2023-11-01 09:43:32 +01:00
2martens 77ed1ce88f Checkout main 2023-11-01 09:43:22 +01:00
2martens 59ceacf424 Ran terraform init 2023-10-31 23:04:50 +01:00
2martens 5a244b28d0 Run speculative plan and remove not needed setting 2023-10-31 22:33:04 +01:00
2martens a372a6bd4f Upload configuration first 2023-10-31 15:55:19 +01:00
2martens 6e8466e3ed Added terraform path to execute within 2023-10-31 15:35:50 +01:00
2martens 72226efd68 Changed path again 2023-10-31 14:49:36 +01:00
2martens 676640d9a0 Added push event 2023-10-31 14:38:36 +01:00
2martens 404d319685 Change clone path 2023-10-31 14:37:28 +01:00
2martens 5a60771d02 Added triggers 2023-10-31 14:25:17 +01:00
2martens 9b1933b3c6 Added script to fetch inwx nameserver records 2023-10-31 14:17:57 +01:00
2martens 309b538093 Add drone yaml 2023-10-31 14:15:31 +01:00
2martens 620984927a Fix module paths 2023-10-31 12:27:08 +01:00
2martens bcd64cde56 Moved files to subdirectory 2023-10-31 12:11:42 +01:00