Skip to content

Commit

Permalink
update readme of the cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Jul 10, 2024
1 parent ddc6b3b commit f841d05
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions infrastructure/cluster/flux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# VRE

This folder contains the new deployment of the VRE (Jul 2024). Most of the services were re deployed with a newer version, also the k8s cluster running on OpenStack @ CERN.

The VRE runs on a k8s `v1.29.2-2` cluster with 3 master nodes from 4 (up to 20) workers.

## Flux

Flux `v2.3.0` was installed via [bash](https://fluxcd.io/flux/installation/), (see bellow). To install a specific flux version run, for example,

`curl -s https://fluxcd.io/install.sh | sudo FLUX_VERSION=v2.0.0-rc.5 bash`

Flux was bootstraped (sync with a repo) manually via:
`flux bootstrap github --owner=vre-hub --repository=vre --branch=main --path=infrastructure/cluster/flux --author-name flux-ops`.

- To bootstrap the repository you will need to pass a valid [GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) - `Settings > Developer settings > Personal access tokens > Tokens (classic)`.
- After running the above command, a new `deploy-key` will be automatically set up in the repository configuration under the username of the person that run the command.

Manifests inside the path `infrastructure/cluster/flux` will be automatically deployed to the VRE cluster.

Refer to the [official flux docs](https://fluxcd.io/flux/) for information on how to add manifests e. g. helm charts and add kustomizations.

0 comments on commit f841d05

Please sign in to comment.