feat: add helm/ansible deployment files for Kubernetes
Some checks failed
Some checks failed
This commit is contained in:
79
helms/inventory/hosts.yml
Normal file
79
helms/inventory/hosts.yml
Normal file
@@ -0,0 +1,79 @@
|
||||
---
|
||||
# Inventory pour le déploiement Kubernetes via Ansible
|
||||
# Fichier: inventory/hosts.yml
|
||||
|
||||
all:
|
||||
children:
|
||||
k8s_masters:
|
||||
hosts:
|
||||
k8s-master-1:
|
||||
ansible_host: "{{ k8s_master_ip | default('192.168.1.100') }}"
|
||||
ansible_user: "{{ k8s_user | default('root') }}"
|
||||
k8s_workers:
|
||||
hosts:
|
||||
k8s-worker-1:
|
||||
ansible_host: "{{ k8s_worker1_ip | default('192.168.1.101') }}"
|
||||
ansible_user: "{{ k8s_user | default('root') }}"
|
||||
k8s-worker-2:
|
||||
ansible_host: "{{ k8s_worker2_ip | default('192.168.1.102') }}"
|
||||
ansible_user: "{{ k8s_user | default('root') }}"
|
||||
nfs_server:
|
||||
hosts:
|
||||
nfs-1:
|
||||
ansible_host: "{{ nfs_server_ip | default('192.168.1.200') }}"
|
||||
ansible_user: "{{ nfs_user | default('root') }}"
|
||||
|
||||
vars:
|
||||
# Configuration globale
|
||||
cluster_name: smart-city-martinique
|
||||
k8s_version: "1.28"
|
||||
container_runtime: containerd
|
||||
network_plugin: cilium
|
||||
domain: digitribe.fr
|
||||
|
||||
# Namespaces Kubernetes
|
||||
namespaces:
|
||||
- airflow
|
||||
- kafka
|
||||
- flink
|
||||
- monitoring
|
||||
- iot
|
||||
- gitea
|
||||
- jupyterhub
|
||||
- odk
|
||||
- smartapp
|
||||
- superset
|
||||
- metabase
|
||||
- mindsdb
|
||||
- mapstore
|
||||
- geoserver
|
||||
- frost
|
||||
- nodered
|
||||
- phpipam
|
||||
- traefik
|
||||
- ingress-nginx
|
||||
- clickhouse
|
||||
- starrocks
|
||||
- trino
|
||||
- deltalake
|
||||
- streamlit
|
||||
- duckdb
|
||||
|
||||
# Storage
|
||||
storage_class: nfs-client
|
||||
nfs_path: /data/k8s
|
||||
|
||||
# Helm repositories
|
||||
helm_repos:
|
||||
- name: bitnami
|
||||
url: https://charts.bitnami.com/bitnami
|
||||
- name: apache
|
||||
url: https://charts.apache.org
|
||||
- name: grafana
|
||||
url: https://grafana.github.io/helm-charts
|
||||
- name: prometheus
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
- name: strimzi
|
||||
url: https://strimzi.io/charts/
|
||||
- name: flink-operator
|
||||
url: https://downloads.apache.org/flink/flink-kubernetes-operator-1.7.0/
|
||||
Reference in New Issue
Block a user