https://github.com/qjoly/k3s-openstack
Déploiement d'un cluster k3s sur Openstack
https://github.com/qjoly/k3s-openstack
k3s kubernetes openstack terraform
Last synced: 4 months ago
JSON representation
Déploiement d'un cluster k3s sur Openstack
- Host: GitHub
- URL: https://github.com/qjoly/k3s-openstack
- Owner: qjoly
- Created: 2023-01-27T08:27:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T20:39:22.000Z (over 1 year ago)
- Last Synced: 2026-01-15T21:38:31.942Z (5 months ago)
- Topics: k3s, kubernetes, openstack, terraform
- Language: HCL
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Principe
Ce dépot permet de déployer un Cluster Kubernetes K3S à l'aide du projet [k3s-ansible](https://github.com/k3s-io/k3s-ansible) de manière simple (ou brouillon)
# Arborescence
On suggère que la clé privée (générée via l'interface horizon dans ce cas) est
présente dans le dossier **parent** à ce dépot.
```
├── kubernetes-infomaniak
│ ├── ansibles
│ │ ├── installing_k3s_ansible.yml
│ │ └── share_ssh_key.yml
│ ├── inventory.tf
│ ├── modules
│ │ └── instance
│ │ ├── instance.tf
│ │ ├── outputs.tf
│ │ ├── providers.tf
│ │ └── variables.tf
│ ├── modules.tf
│ ├── network.tf
│ ├── provisionning.tf
│ ├── secgroup.tf
│ ├── terragrunt.hcl
│ └── variables.tf
├── privkey
└── terragrunt.hcl
```
vous aurez également besoin de créer un fichier *terragrunt.hcl* sur le dossier parent (dont la configuration est appelée par le fichier *terragrunt.hcl* du dépot)
```hcl
# Fichier ../terragrunt.hcl
generate "provider" {
path = "provider.tf"
if_exists = "overwrite_terragrunt"
contents = <