deploy k3s
This commit is contained in:
parent
6de74d3927
commit
79e7eeff96
5 changed files with 32 additions and 60 deletions
|
@ -1,12 +1,10 @@
|
|||
# Kubernetes Cluster
|
||||
This is my personal Kubernetes Cluster. [Flux] watches this git repo and reconciles and changes made to the cluster.
|
||||
|
||||
## Directory structure
|
||||
The main directory is `cluster`, it contains the following subdirectories in the order that flux will apply them:
|
||||
* **base**: the entrypoint for Flux
|
||||
* **crds**: contains the CRDs that are needed for anything running in the cluster, these get applied earlier to make sure they exist
|
||||
* **core**: important core infrastructure applications, grouped by namespace, that should never be pruned
|
||||
* **apps**: common applications that are allowed to be pruned by flux
|
||||
## Bootstrap
|
||||
```sh
|
||||
flux bootstrap git --url ssh://gitea@git.0x76.dev:42/v/infrastructure.git --branch=main --path=flux/olympus/base --ssh-key-algorithm=ed25519
|
||||
```
|
||||
|
||||
## References
|
||||
Heavily inspired by: [onedr0p's cluster](https://github.com/onedr0p/home-cluster)
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
flux bootstrap git --url=ssh://gitea@git.0x76.dev:42/v/infrastructure.git --branch=main --path=flux/cluster/base/ --ssh-key-algorithm=ed25519
|
Loading…
Add table
Add a link
Reference in a new issue