Commit Graph

33 Commits

Author SHA1 Message Date
Khue Doan
9f0d389abc feat!: install Cilium
Installed using Ansible instead of ArgoCD because Cilium replaces
the default CNI, so ArgoCD pod cannot be scheduled before Cilium
is installed.
2023-12-22 00:31:16 +07:00
Khue Doan
7c0a784501 fix(k3s): move stargz config to all nodes
Instead of just master nodes.
2023-12-21 12:14:23 +07:00
Khue Doan
774e6086b4 perf(k3s): enable image lazy pulling with eStargz
Note that this is experimental.

https://docs.k3s.io/advanced#enabling-lazy-pulling-of-estargz-experimental
2023-11-19 12:11:13 +07:00
Khue Doan
f4ee4be035 chore(k3s): upgrade to Kubernetes 1.28 2023-11-19 12:00:52 +07:00
Khue Doan
fa6322d4f5 chore(k3s)!: upgrade to Kubernetes 1.27 2023-05-18 11:58:33 +07:00
Khue Doan
6f7bff689a fix(k3s): go back to v1.24
Longhorn does not support v1.25 yet
2022-12-29 10:32:42 +07:00
Khue Doan
0e3394910c chore(metal): upgrade to k3s 1.25 2022-12-24 14:23:17 +07:00
Khue Doan
cb87bbc690 style(metal): fix Ansible lint 2022-05-14 21:24:39 +07:00
Khue Doan
0fadfaaf5e chore(k3s): upgrade to v1.23.6 2022-05-14 14:23:25 +07:00
Khue Doan
132cd58c90 chore(k3s): ugprade to latest patch 1.23.5 2022-04-28 11:51:44 +07:00
Khue Doan
a7d3045150 chore(k3s): upgrade to 1.23.4 2022-03-14 20:38:01 +07:00
Khue Doan
2b85b11fc8 chore(k3s): upgrade to latest version
Need to automate this with Renovate Bot
2022-01-28 01:48:54 +07:00
Khue Doan
c7da5cf185 chore(metal): switch to k3s 1.23 stable 2022-01-08 00:56:44 +07:00
Khue Doan
5de50cd42d style: Ansible lint 2021-12-26 12:12:36 +07:00
Khue Doan
d1727230eb chore: upgrade to Kubernetes 1.23 2021-12-25 11:37:28 +07:00
Khue Doan
9921cfab2d style(k3s): get config from default instead of hard code 2021-12-24 18:17:24 +07:00
Khue Doan
fee5058a22 feat: enable encryption at rest for Secrets 2021-12-22 15:25:59 +07:00
Khue Doan
045f7a377e perf(metal): disable all unused components 2021-12-22 15:25:32 +07:00
Khue Doan
14ab5b24b6 fix(metal): ignore cached k3s binary 2021-11-25 18:30:30 +07:00
Khue Doan
a2895c822d fix(metal): fix cluster token generation 2021-11-25 18:29:41 +07:00
Khue Doan
ffb3a913d2 fix(metal): get kubeconfig from the first node only 2021-11-25 18:29:27 +07:00
Khue Doan
33219fd533 perf(metal): cache k3s binary on the controller 2021-11-25 18:28:19 +07:00
Khue Doan
dccdb9a494 fix(metal): use correct permission for kube config file 2021-11-16 11:18:48 +07:00
Khue Doan
cdbbd3900d chore(k3s)!: upgrade to Kubernetes v1.22.2 2021-10-28 21:25:34 +07:00
Khue Doan
1f6eb7f227 metal: fix unknown k3s param in worker nodes 2021-09-17 23:34:34 +07:00
Khue Doan
29ea97c509 Disable default storage (local) and ingress (traefik) 2021-09-03 12:32:32 +07:00
Khue Doan
f1263eb9b4 Set the correct cluster address in local kubeconfig 2021-09-01 20:12:09 +07:00
Khue Doan
e028ca7bc2 Move k3s systemd service from handler to task 2021-09-01 16:26:10 +07:00
Khue Doan
dc80ff21f9 Fix incorrect kubeconfig path 2021-09-01 05:46:12 +07:00
Khue Doan
6f5ef180d3 Fetch kubeconfig to local 2021-09-01 05:43:35 +07:00
Khue Doan
8a8d4d7ea2 Working k3s service and config 2021-09-01 05:35:35 +07:00
Khue Doan
713631587c Improve k3s config template rendering 2021-09-01 04:58:47 +07:00
Khue Doan
92387435c8 Add k3s role 2021-09-01 04:19:05 +07:00