Giter VIP home page Giter VIP logo

gitops's Introduction

Helm LOGO
Typing SVG

Blog Kubernetes Linux

GitOps

Github for cluster administration.

Clusters

Cloud

Node Type IP OS RAM Cores Architecture Notes
talos-0ya-z8j Control-plane 192.168.128.10 Talos v1.6.0 3 Go 2 Amd64
talos-4n2-efl Control-plane 192.168.128.91 Talos v1.6.0 3 Go 2 Amd64
talos-th0-iv8 Control-plane 192.168.128.37 Talos v1.6.0 3 Go 2 Amd64
talos-i2b-uua Worker 192.168.128.114 Talos v1.6.0 3 Go 2 Amd64
talos-jmc-u9l Worker 192.168.128.106 Talos v1.6.0 3 Go 2 Amd64
talos-v1m-53q Worker 192.168.128.100 Talos v1.6.0 3 Go 2 Amd64

Home

Node Type IP OS RAM Cores Architecture Notes
talos-0ya-z8j Control-plane 192.168.1.203 Talos v1.5.5 4 Go 4 Arm64
talos-4n2-efl Control-plane 192.168.1.204 Talos v1.5.5 4 Go 4 Arm64
talos-th0-iv8 Control-plane 192.168.1.205 Talos v1.5.5 4 Go 4 Arm64
talos-i2b-uua Worker 192.168.1.34 Talos v1.6.0 3 Go 2 Amd64

Version Talos

Pour un déploiement baremetal, j'ai choisi d'utiliser Talos. Talos est un système d'exploitation pour Kubernetes. Il est conçu pour être sécurisé par défaut, simplifier les opérations et être facilement extensible.

La configuration de Talos est gérée par des fichiers YAML dans le répertoire talos. Pour déployer Talos, il suffit de lancer la commande suivante :

cd talos/
CONTROLPLANE=("192.168.128.10" "192.168.128.91" "192.168.128.37")
for node in $CONTROLPLANE; do
    talosctl apply-config --insecure -n $node -e $node --file controlplane.yaml
done

WORKER=("192.168.128.100" "192.168.128.106" "192.168.128.114")
for node in $WORKER; do
    talosctl apply-config --insecure -n $node -e $node --file worker.yaml
done

Les fichiers de configuration de Talos vont également installer Cilium.

Version Packer/Terraform

Je dispose de plusieurs machines virtuelles sur lesquelles je souhaite déployer un cluster Kubernetes. Pour cela, j'ai décidé d'utiliser Terraform pour déployer l'infrastructure, Packer pour créer les images, Ansible pour provisionner les machines et Flux pour déployer les applications.

Dépendances

  • terraform
  • sops (facultatif)
  • pre-commit (facultatif)
  • yq
  • taskfile
  • j2cli
  • flux (cli)

Démarrer le projet

Les différentes étapes de l'installation sont gérées par Taskfile. Il suffit donc de lancer la commande suivante :

task general:all

Je vous invite à suivre la documentation du projet ici pour installer les dépendances et créer le fichier de configuration.

LICENSE

License

gitops's People

Contributors

kubabot avatar qjoly avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mllick

gitops's Issues

Fix Kyverno

In PR #59, Kyverno didn't worked in a Kind environment. I disabled it temporarily but I need to fix it for futures installations.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.


Warning

Renovate failed to look up the following dependencies: Failed to look up terraform-module package QJoly/proxmox/module.

Files affected: terraform/Proxmox/Debian/main.tf


Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

gomod
talos/hack/go.mod
  • go 1.22.2
  • gopkg.in/yaml.v2 v2.4.0
pip_requirements
.mkdocs/requirements.txt
  • mkdocs-git-revision-date-localized-plugin ==1.2.4
  • mkdocs-material ==9.5.22
  • mkdocs-autolinks-plugin ==0.7.1
  • mkdocs-diagrams ==1.0.0
terraform
terraform/Libvirt/Debian/main.tf
terraform/Libvirt/Debian/provider.tf
  • libvirt 0.7.6
terraform/Proxmox/Debian/main.tf
  • QJoly/proxmox/module 1.0.0
terraform/Proxmox/Debian/provider.tf
  • proxmox 2.9.14

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.