34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# Freeleaps Ops
|
|
|
|
> All GitOps relates manifests or scripts.
|
|
|
|
## Introduce
|
|
|
|
This repo has stored all manifests files of Freeleaps productions, infrastructures and cluster.
|
|
|
|
The project layout is follow this pattern:
|
|
|
|

|
|
|
|
## How to use ?
|
|
|
|
**Please do not edit files under this repo if you do not know what you doing.**
|
|
|
|
This repo files are managed by CI/CD services (Jenkins, Argo CD etc,.).
|
|
|
|
## About `cluster` folder
|
|
|
|
**P.S. THIS FOLDER IS ONLY USED FOR CLUSTER ADMINISTRATOR, YOU MUST KNOW WHAT YOU DOING BEFORE YOU MODIFY IT.**
|
|
|
|
> If you want to working with cluster folder, you must set-up local maintaining environment first.
|
|
> You need make sure you have `Python 3` environment in local and `Ansible` already installed.
|
|
> And you need to make sure run `git submodule update --init --recursive` to clone `kubespray` repo before you start to work.
|
|
|
|
`cluster` folder stores the infrastructure components, applications manifests and [`kubespray`](https://kubespray.io/) configuration files for entire cluster.
|
|
|
|
`cluster/manifests/<namespace>/<component>` stores the manifests of components or applications.
|
|
|
|
`cluster/inventory.ini` stores the current state of the cluster, if you want to add new nodes to cluster, you need edit this file.
|
|
|
|
`cluster/group_vars` describes current configuration states of the cluster.
|