diff --git a/content/infrastructures/services.md b/content/infrastructures/services.md index 87ce29a..c868ade 100644 --- a/content/infrastructures/services.md +++ b/content/infrastructures/services.md @@ -33,7 +33,7 @@ rôles identifiés : production, développement, expérimentation, etc. | Drone (runner) | développement | Bespin | Worker pour l'intégration continue | | SSH | sauvegarde | Mercure | Target de backups (Consul) | | [Minio](https://s3.deuxfleurs.shirokumo.net) | sauvegarde | Mercure | Target de backups restic | -| [cron rclone](@/operations/sauvegardes/rclone.md) | sauvegarde | Jupiter | Backup régulier du contenu de Garage | +| [cron rclone](@/operations/rclone.md) | sauvegarde | Jupiter | Backup régulier du contenu de Garage | | [staging.deuxfleurs.org](https://staging.deuxfleurs.org) | expérimentation | Neptune, Jupiter | Site statique de test | | Garage ([S3](https://garage.staging.deuxfleurs.org), [K2V](https://k2v.staging.deuxfleurs.org)) | expérimentation | Neptune, Jupiter | Beta-test serveur de stockage de données | | [Guichet](https://guichet.staging.deuxfleurs.org) | expérimentation | Neptune/Jupiter | Beta-test interface de gestion des utilisateurs | diff --git a/content/operations/pannes/2020-01-20-changement-ip.md b/content/operations/2020-01-20-changement-ip.md similarity index 94% rename from content/operations/pannes/2020-01-20-changement-ip.md rename to content/operations/2020-01-20-changement-ip.md index c86eb85..9b6ce23 100644 --- a/content/operations/pannes/2020-01-20-changement-ip.md +++ b/content/operations/2020-01-20-changement-ip.md @@ -1,10 +1,12 @@ -+++ -title = "Janvier 2020" -description = "Janvier 2020: changement imprévu d'adresses IP" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 10 -+++ +--- +title: "Janvier 2020" +description: "Janvier 2020: changement imprévu d'adresses IP" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 10 +extra: + parent: 'operations/pannes.md' +--- Le 20 janvier free a changé mon IP, un peu comme partout en France. Ça concerne l'IPv4 et le préfixe IPv6. diff --git a/content/operations/pannes/2021-07-12-synapse-bdd-rempli-disque.md b/content/operations/2021-07-12-synapse-bdd-rempli-disque.md similarity index 79% rename from content/operations/pannes/2021-07-12-synapse-bdd-rempli-disque.md rename to content/operations/2021-07-12-synapse-bdd-rempli-disque.md index 17650fa..d907705 100644 --- a/content/operations/pannes/2021-07-12-synapse-bdd-rempli-disque.md +++ b/content/operations/2021-07-12-synapse-bdd-rempli-disque.md @@ -1,10 +1,12 @@ -+++ -title = "Juillet 2021" -description = "Juillet 2021: la BDD Synapse remplit nos disques" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 20 -+++ +--- +title: "Juillet 2021" +description: "Juillet 2021: la BDD Synapse remplit nos disques" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 20 +extra: + parent: 'operations/pannes.md' +--- # La BDD synapse rempli nos disques diff --git a/content/operations/pannes/2022-01-xx-glusterfs-corruption.md b/content/operations/2022-01-xx-glusterfs-corruption.md similarity index 89% rename from content/operations/pannes/2022-01-xx-glusterfs-corruption.md rename to content/operations/2022-01-xx-glusterfs-corruption.md index bbd94af..734b2d8 100644 --- a/content/operations/pannes/2022-01-xx-glusterfs-corruption.md +++ b/content/operations/2022-01-xx-glusterfs-corruption.md @@ -1,10 +1,12 @@ -+++ -title = "Janvier 2022" -description = "Janvier 2022: Corruptions GlusterFS" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 30 -+++ +--- +title: "Janvier 2022" +description: "Janvier 2022: Corruptions GlusterFS" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 30 +extra: + parent: 'operations/pannes.md' +--- # Corruption GlusterFS diff --git a/content/operations/2023-02-xx.md b/content/operations/2023-02-xx.md new file mode 100644 index 0000000..a612060 --- /dev/null +++ b/content/operations/2023-02-xx.md @@ -0,0 +1,28 @@ +--- +title: "Février 2023" +description: "Février 2023: perte de 2 zones" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 30 +extra: + parent: 'operations/pannes.md' +--- + +En février 2023, garage a été inaccessible car io à Rennes +était cassé depuis une semaine sans qu'on s'en rende compte, +et qu'ensuite neptune a subi une coupure fibre. + +On a pu remonter garage assez rapidement car Trinity +a pu reconfigurer io dès que le problème a été identifié. +La discussion a été rendue plus compliqué que prévu +car on a eu des problèmes de déchiffrement des messages sur matrix. + +Mais la coupure fibre de neptune nous a fait nous rendre +compte qu'on ne pouvait pas tout reschedule à Lyon. +Et à Bruxelles, impossible de schedule car la conf +routeur ne permet pas (encore) de prendre du trafic entrant. + +Voici les changements qu'on a décidé de mettre en oeuvre à la suite de ce problème : + - Alerting sur les serveurs (pas encore fait) + - Conversations en clair sur deuxfleurs::infra + - Accepter du trafic entrant à BRX (pas encore fait) diff --git a/content/operations/deploiement/noeud/SSH_sans_écran.md b/content/operations/SSH_sans_écran.md similarity index 89% rename from content/operations/deploiement/noeud/SSH_sans_écran.md rename to content/operations/SSH_sans_écran.md index 41a19f7..610daae 100644 --- a/content/operations/deploiement/noeud/SSH_sans_écran.md +++ b/content/operations/SSH_sans_écran.md @@ -1,10 +1,12 @@ -+++ -title = "Installer NixOS en SSH" -description = "Installer NixOS en SSH sans écran ni clavier" -date = 2022-08-24 -dateCreated = 2021-08-24 -weight = 12 -+++ +--- +title: "Installer NixOS en SSH" +description: "Installer NixOS en SSH sans écran ni clavier" +date: 2022-08-24 +dateCreated: 2021-08-24 +weight: 12 +extra: + parent: 'operations/noeud.md' +--- Quick tip avant d'oublier pour installer une de nos machines ThinkCentre via SSH sous NixOS ; c'est la seule solution quand on a pas d'écran ni de clavier sous la main. Pré-requis : une clé USB, un ordi sous NixOS. @@ -48,4 +50,4 @@ Ensuite on se connecte dessus : ``` ssh root@192.168.1.X -``` \ No newline at end of file +``` diff --git a/content/operations/_index.md b/content/operations/_index.md index 5ccc5a2..7f64bcd 100644 --- a/content/operations/_index.md +++ b/content/operations/_index.md @@ -3,6 +3,8 @@ title: "Opérations" description: "Opérations" weight: 100 sort_by: "weight" +extra: + parent: 'operations/_index.md' --- Ce manuel recense notre savoir-faire technique, il a pour but d'accompagner nos opérateur·ices dans la réalisation de leurs tâches. diff --git a/content/operations/acces/_index.md b/content/operations/acces.md similarity index 60% rename from content/operations/acces/_index.md rename to content/operations/acces.md index 08824bc..76ea226 100644 --- a/content/operations/acces/_index.md +++ b/content/operations/acces.md @@ -1,8 +1,10 @@ -+++ -title = "Accès" -description = "Accès" -sort_by = "weight" -weight = 5 -+++ +--- +title: "Accès" +description: "Accès" +sort_by: "weight" +weight: 5 +extra: + parent: 'operations/_index.md' +--- -Ici l'on traite de comment gagner accès au cluster de Deuxfleurs, quand on a reçu la _terrible responsabilité_ de sysadmin. Vous êtes prêt⋅e ? Alors entrez dans [le dépôt des secrets](./pass/). \ No newline at end of file +Ici l'on traite de comment gagner accès au cluster de Deuxfleurs, quand on a reçu la _terrible responsabilité_ de sysadmin. Vous êtes prêt⋅e ? Alors entrez dans [le dépôt des secrets](./pass/). diff --git a/content/operations/acces/ssh.md b/content/operations/acces/ssh.md deleted file mode 100644 index e053934..0000000 --- a/content/operations/acces/ssh.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = "SSH" -description = "SSH" -weight = 100 -+++ - -Voir si on documente comment gérer SSH depuis GPG - -# Ajout de la clé au cluster diff --git a/content/operations/courantes.md b/content/operations/courantes.md new file mode 100644 index 0000000..d3da720 --- /dev/null +++ b/content/operations/courantes.md @@ -0,0 +1,8 @@ +--- +title: "Opérations courantes" +description: "Opérations courantes" +weight: 35 +sort_by: "weight" +extra: + parent: 'operations/_index.md' +--- diff --git a/content/operations/courantes/_index.md b/content/operations/courantes/_index.md deleted file mode 100644 index 1cf3b95..0000000 --- a/content/operations/courantes/_index.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = "Opérations courantes" -description = "Opérations courantes" -weight = 15 -sort_by = "weight" -+++ diff --git a/content/operations/deploiement/app/create_database.md b/content/operations/create_database.md similarity index 80% rename from content/operations/deploiement/app/create_database.md rename to content/operations/create_database.md index e5f8a72..5c46d63 100644 --- a/content/operations/deploiement/app/create_database.md +++ b/content/operations/create_database.md @@ -1,10 +1,12 @@ -+++ -title = "Créer une BDD" -description = "Création d'une base de données pour une nouvelle application" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 11 -+++ +--- +title: "Créer une BDD" +description: "Création d'une base de données pour une nouvelle application" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 11 +extra: + parent: 'operations/deployer.md' +--- ## 1. Create a LDAP user and assign a password for your service diff --git a/content/operations/debogage.md b/content/operations/debogage.md new file mode 100644 index 0000000..467a760 --- /dev/null +++ b/content/operations/debogage.md @@ -0,0 +1,9 @@ +--- +title: "Débogage" +description: "Débogage" +weight: 60 +sort_by: "weight" +extra: + parent: 'operations/_index.md' +--- + diff --git a/content/operations/debogage/_index.md b/content/operations/debogage/_index.md deleted file mode 100644 index 5afe881..0000000 --- a/content/operations/debogage/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = "Débogage" -description = "Débogage" -weight = 60 -sort_by = "weight" -+++ - diff --git a/content/operations/deploiement/_index.md b/content/operations/deploiement/_index.md deleted file mode 100644 index 4986c67..0000000 --- a/content/operations/deploiement/_index.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -title = "Déploiement" -description = "Déploiement" -weight = 10 -sort_by = "weight" -+++ - diff --git a/content/operations/deploiement/app/_index.md b/content/operations/deployer.md similarity index 64% rename from content/operations/deploiement/app/_index.md rename to content/operations/deployer.md index 710e2e5..02ef0bd 100644 --- a/content/operations/deploiement/app/_index.md +++ b/content/operations/deployer.md @@ -1,10 +1,12 @@ -+++ -title = "Applications" -description = "Déploiement d'une application" -sort_by = "weight" -date = 2022-12-22 -weight = 30 -+++ +--- +title: "Déployer du logiciel" +description: "Déploiement du logiciel" +sort_by: "weight" +date: 2022-12-22 +weight: 30 +extra: + parent: 'operations/_index.md' +--- # Empaqueter diff --git a/content/operations/courantes/email.md b/content/operations/email.md similarity index 94% rename from content/operations/courantes/email.md rename to content/operations/email.md index d28608e..ac5dfe5 100644 --- a/content/operations/courantes/email.md +++ b/content/operations/email.md @@ -1,8 +1,10 @@ -+++ -title = "Emails" -description = "Emails" -weight = 10 -+++ +--- +title: "Emails" +description: "Emails" +weight: 10 +extra: + parent: 'operations/courantes.md' +--- # Support d'un nom de domaine personnalisé diff --git a/content/operations/deploiement/noeud/guide_création_nœud.md b/content/operations/guide_création_nœud.md similarity index 97% rename from content/operations/deploiement/noeud/guide_création_nœud.md rename to content/operations/guide_création_nœud.md index 907d4a8..11cbc27 100644 --- a/content/operations/deploiement/noeud/guide_création_nœud.md +++ b/content/operations/guide_création_nœud.md @@ -1,10 +1,12 @@ -+++ -title = "Guide de création d'un nœud" -description = "Guide de création d'un nœud" -date = 2022-08-23 -dateCreated = 2022-08-23 -weight = 11 -+++ +--- +title: "Guide de création d'un nœud" +description: "Guide de création d'un nœud" +date: 2022-08-23 +dateCreated: 2022-08-23 +weight: 11 +extra: + parent: 'operations/noeud.md' +--- # Guide d'initialisation de nœud Deuxfleurs Ce guide explique comment initialiser un nœud pour l'infrastructure de Deuxfleurs. Nous partons de zéro, c'est-à-dire avec une machine que nous venons de récupérer, avec une mémoire vide, et que nous venons de brancher. À titre d'exemple, nous illustrerons de temps en temps les opérations avec une de nos machines (un Thinkcentre de Lenovo). diff --git a/content/operations/debogage/jitsi.md b/content/operations/jitsi.md similarity index 97% rename from content/operations/debogage/jitsi.md rename to content/operations/jitsi.md index 1ca45be..07bfcf9 100644 --- a/content/operations/debogage/jitsi.md +++ b/content/operations/jitsi.md @@ -1,10 +1,12 @@ -+++ -title = "Jitsi" -description = "" -date = 2021-11-09T12:53:23.811Z -dateCreated = 2021-11-09T12:46:50.731Z -weight = 20 -+++ +--- +title: "Jitsi" +description: "" +date: 2021-11-09T12:53:23.811Z +dateCreated: 2021-11-09T12:46:50.731Z +weight: 20 +extra: + parent: 'operations/debogage.md' +--- ## 2020-04-02 Campagne de debug Jitsi diff --git a/content/operations/maintien_en_condition.md b/content/operations/maintien_en_condition.md new file mode 100644 index 0000000..8a89a2b --- /dev/null +++ b/content/operations/maintien_en_condition.md @@ -0,0 +1,12 @@ +--- +title: "Maintien en condition" +description: "Maintien en condition" +sort_by: "weight" +weight: 40 +extra: + parent: 'operations/_index.md' +--- + +# En condition opérationnele + +# En condition de sécurité diff --git a/content/operations/maintien_en_condition/_index.md b/content/operations/maintien_en_condition/_index.md deleted file mode 100644 index 73d8812..0000000 --- a/content/operations/maintien_en_condition/_index.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "Maintien en condition" -description = "Maintien en condition" -sort_by = "weight" -weight = 20 -+++ - -# En condition opérationnele - -# En condition de sécurité diff --git a/content/operations/maintien_en_condition/matrix.md b/content/operations/matrix.md similarity index 94% rename from content/operations/maintien_en_condition/matrix.md rename to content/operations/matrix.md index 534bfb8..ab1c255 100644 --- a/content/operations/maintien_en_condition/matrix.md +++ b/content/operations/matrix.md @@ -1,10 +1,12 @@ -+++ -title = "MàJ Matrix" -description = "Mise à jour de Matrix (Synapse/Element)" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 11 -+++ +--- +title: "MàJ Matrix" +description: "Mise à jour de Matrix (Synapse/Element)" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 11 +extra: + parent: 'operations/maintien_en_condition.md' +--- How to update Matrix? ===================== diff --git a/content/operations/deploiement/grappe/_index.md b/content/operations/nixcfg.md similarity index 60% rename from content/operations/deploiement/grappe/_index.md rename to content/operations/nixcfg.md index 80de97d..921f635 100644 --- a/content/operations/deploiement/grappe/_index.md +++ b/content/operations/nixcfg.md @@ -1,10 +1,12 @@ -+++ -title = "Grappe" -description = "Grappe" -weight = 20 -date = 2022-12-22 -sort_by = "weight" -+++ +--- +title: "nixcfg" +description: "Le dépôt nixcfg" +weight: 20 +date: 2022-12-22 +sort_by: "weight" +extra: + parent: 'operations/noeud.md' +--- # Installation diff --git a/content/operations/deploiement/noeud/_index.md b/content/operations/noeud.md similarity index 77% rename from content/operations/deploiement/noeud/_index.md rename to content/operations/noeud.md index d44044a..8e07f74 100644 --- a/content/operations/deploiement/noeud/_index.md +++ b/content/operations/noeud.md @@ -1,10 +1,12 @@ -+++ -title = "Noeud" -description = "Déploiement d'un noeud" -date = 2022-08-23 -dateCreated = 2021-08-23 -sort_by = "weight" -+++ +--- +title: "Installer un noeud" +description: "Déploiement d'un noeud" +date: 2022-08-23 +dateCreated: 2021-08-23 +weight: 20 +extra: + parent: 'operations/_index.md' +--- # Déployer un nœud au sein de l'infrastructure Deuxfleurs Déployer un nœud au sein de l'infrastructure Deuxfleurs demande un certaine préparation et représente un processus particulier. diff --git a/content/operations/pannes.md b/content/operations/pannes.md new file mode 100644 index 0000000..dc8042c --- /dev/null +++ b/content/operations/pannes.md @@ -0,0 +1,15 @@ +--- +title: "Pannes" +description: "Pannes" +weight: 70 +sort_by: "weight" +extra: + parent: 'operations/_index.md' +--- + +Nous aimerions mettre en place une culture du postmortem. +C'est très important pour s'améliorer et apprendre de ses erreurs, +pour prendre le temps de se questionner sur ce qui a disfonctionné, +et réfléchir à comment changer en profondeur nos pratiques. +Et puis, plus simplement, si le problème venait à arriver +de nouveau, nous aurions alors déjà documenté comment le résoudre ! diff --git a/content/operations/pannes/_index.md b/content/operations/pannes/_index.md deleted file mode 100644 index 474558b..0000000 --- a/content/operations/pannes/_index.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = "Pannes" -description = "Pannes" -weight = 70 -sort_by = "weight" -+++ diff --git a/content/operations/acces/pass.md b/content/operations/pass.md similarity index 97% rename from content/operations/acces/pass.md rename to content/operations/pass.md index 357db2e..795da1f 100644 --- a/content/operations/acces/pass.md +++ b/content/operations/pass.md @@ -1,8 +1,10 @@ -+++ -title = "Le dépôt des secrets" -description = "Le dépôt des secrets" -weight = 10 -+++ +--- +title: "Le dépôt des secrets" +description: "Le dépôt des secrets" +weight: 10 +extra: + parent: 'operations/acces.md' +--- We use [pass, 'the standard unix password manager'](https://www.passwordstore.org/), to manage our key store securely at Deuxfleurs. Getting access to our production involves publishing one's GPG key (through Gitea) and importing/verifying/signing every other sysadmin's key, before setting up `pass`. Lastly, you will be able to set your shell password on the desired cluster (`prod` or `staging`, at the time of writing). diff --git a/content/operations/pannes/petits-incidents.md b/content/operations/petits-incidents.md similarity index 92% rename from content/operations/pannes/petits-incidents.md rename to content/operations/petits-incidents.md index 658757f..d14e91c 100644 --- a/content/operations/pannes/petits-incidents.md +++ b/content/operations/petits-incidents.md @@ -1,10 +1,12 @@ -+++ -title = "Petits incidents" -description = "Petits incidents" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 1000 -+++ +--- +title: "Petits incidents" +description: "Petits incidents" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 1000 +extra: + parent: 'operations/pannes.md' +--- - **2020** Publii efface le disque dur d'un de nos membres. Il a changé le dossier de sortie vers /home qui a été effacé diff --git a/content/operations/sauvegardes/pg_basebackup.md b/content/operations/pg_basebackup.md similarity index 99% rename from content/operations/sauvegardes/pg_basebackup.md rename to content/operations/pg_basebackup.md index 357e11f..f680108 100644 --- a/content/operations/sauvegardes/pg_basebackup.md +++ b/content/operations/pg_basebackup.md @@ -1,8 +1,10 @@ -+++ -title = "pg_basebackup" -description = "pg_basebackup" -weight=15 -+++ +--- +title: "pg_basebackup" +description: "pg_basebackup" +weight: 15 +extra: + parent: 'operations/sauvegardes.md' +--- ## Disclaimer diff --git a/content/operations/debogage/plume.md b/content/operations/plume.md similarity index 82% rename from content/operations/debogage/plume.md rename to content/operations/plume.md index c256a45..8b8aa2a 100644 --- a/content/operations/debogage/plume.md +++ b/content/operations/plume.md @@ -1,10 +1,12 @@ -+++ -title = "Plume" -description = "Plume" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 11 -+++ +--- +title: "Plume" +description: "Plume" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 11 +extra: + parent: 'operations/debogage.md' +--- ## Bug and debug diff --git a/content/operations/prestataires.md b/content/operations/prestataires.md new file mode 100644 index 0000000..ab1f796 --- /dev/null +++ b/content/operations/prestataires.md @@ -0,0 +1,27 @@ +--- +title: "Prestataires" +description: "Prestataires" +weight: 80 +extra: + parent: 'operations/_index.md' +--- + +# DNS + +Gandi + +# Pont IPv6 + +FDN + +# Paquets + +Docker Hub + +# FAI + +Free, SFR, et autres + +# Électricité + +EDF diff --git a/content/operations/prestataires/_index.md b/content/operations/prestataires/_index.md deleted file mode 100644 index 31d83fc..0000000 --- a/content/operations/prestataires/_index.md +++ /dev/null @@ -1,25 +0,0 @@ -+++ -title = "Prestataires" -description = "Prestataires" -weight = 80 -+++ - -# DNS - -Gandi - -# Pont IPv6 - -FDN - -# Paquets - -Docker Hub - -# FAI - -Free, SFR, et autres - -# Électricité - -EDF diff --git a/content/operations/deploiement/noeud/prérequis.md b/content/operations/prérequis.md similarity index 92% rename from content/operations/deploiement/noeud/prérequis.md rename to content/operations/prérequis.md index 27dc414..37d5179 100644 --- a/content/operations/deploiement/noeud/prérequis.md +++ b/content/operations/prérequis.md @@ -1,10 +1,12 @@ -+++ -title = "Prérequis pour un nœud" -description = "Prérequis pour un nœud" -date = 2022-01-09T13:29:29.710Z -dateCreated = 2021-12-28T14:33:59.088Z -weight = 10 -+++ +--- +title: "Prérequis pour un nœud" +description: "Prérequis pour un nœud" +date: 2022-01-09T13:29:29.710Z +dateCreated: 2021-12-28T14:33:59.088Z +weight: 10 +extra: + parent: 'operations/noeud.md' +--- Dans ce guide, nous allons expliquer comment installer une grappe de serveurs, en vue d'un hébergement pour Deuxfleurs. @@ -36,4 +38,4 @@ On peut distinguer deux types de sites : On aura affaire à sa box (NAT, pare-feu...), au manque de garanties concernant notre adressabilité (IPv4 dynamique, IPv6 ? ...), ce qui va nous mener à devoir faire du routage. Le nœud du problème, c'est que chaque ordinateur de la grappe n'aura pas pignon sur rue (pas d'adresse IP publique et fixe par machine). Néanmoins, **on est chez nous !** Votre disque dur - qui contient les données personnelles de vos usagers chéris - est sous vos yeux, bien au chaud. Le seul curieux qui voit passer votre trafic réseau est votre FAI : *rien de nouveau sous le soleil*. - \ No newline at end of file + diff --git a/content/operations/sauvegardes/rclone.md b/content/operations/rclone.md similarity index 91% rename from content/operations/sauvegardes/rclone.md rename to content/operations/rclone.md index 85868c0..1352aaf 100644 --- a/content/operations/sauvegardes/rclone.md +++ b/content/operations/rclone.md @@ -1,9 +1,11 @@ -+++ -title = "rclone" -description = "rclone" -weight = 20 -sort_by = "weight" -+++ +--- +title: "rclone" +description: "rclone" +weight: 20 +sort_by: "weight" +extra: + parent: 'operations/sauvegardes.md' +--- Script de backup brut, on planifie une approche plus élégante à l'avenir : diff --git a/content/operations/sauvegardes/restic.md b/content/operations/restic.md similarity index 97% rename from content/operations/sauvegardes/restic.md rename to content/operations/restic.md index 73463d1..099d011 100644 --- a/content/operations/sauvegardes/restic.md +++ b/content/operations/restic.md @@ -1,8 +1,10 @@ -+++ -title = "restic" -description = "restic" -weight = 10 -+++ +--- +title: "restic" +description: "restic" +weight: 10 +extra: + parent: 'operations/sauvegardes.md' +--- Add the admin account as `deuxfleurs` to your `~/.mc/config` file diff --git a/content/operations/sauvegardes/_index.md b/content/operations/sauvegardes.md similarity index 94% rename from content/operations/sauvegardes/_index.md rename to content/operations/sauvegardes.md index b4d2c79..860733d 100644 --- a/content/operations/sauvegardes/_index.md +++ b/content/operations/sauvegardes.md @@ -1,9 +1,11 @@ -+++ -title = "Sauvegardes" -description = "Sauvegardes" -weight = 30 -sort_by = "weight" -+++ +--- +title: "Sauvegardes" +description: "Sauvegardes" +weight: 50 +sort_by: "weight" +extra: + parent: 'operations/_index.md' +--- # Données sauvegardées diff --git a/content/operations/ssh.md b/content/operations/ssh.md new file mode 100644 index 0000000..83b09bd --- /dev/null +++ b/content/operations/ssh.md @@ -0,0 +1,11 @@ +--- +title: "SSH" +description: "SSH" +weight: 100 +extra: + parent: 'operations/acces.md' +--- + +Voir si on documente comment gérer SSH depuis GPG + +# Ajout de la clé au cluster diff --git a/content/operations/deploiement/grappe/stolon.md b/content/operations/stolon.md similarity index 94% rename from content/operations/deploiement/grappe/stolon.md rename to content/operations/stolon.md index 4a683f4..de20f09 100644 --- a/content/operations/deploiement/grappe/stolon.md +++ b/content/operations/stolon.md @@ -1,10 +1,12 @@ -+++ -title = "Stolon" -description = "Comment déployer Stolon" -date = 2022-12-22 -dateCreated = 2022-12-22 -weight = 11 -+++ +--- +title: "Stolon" +description: "Comment déployer Stolon" +date: 2022-12-22 +dateCreated: 2022-12-22 +weight: 11 +extra: + parent: 'operations/deployer.md' +--- Spawn container: diff --git a/content/operations/supervision.md b/content/operations/supervision.md new file mode 100644 index 0000000..5b76a2b --- /dev/null +++ b/content/operations/supervision.md @@ -0,0 +1,23 @@ +--- +title: "Supervision" +description: "Supervision" +weight: 58 +sort_by: "weight" +extra: + parent: 'operations/_index.md' +--- + +# Métriques + +Grafana est accessible à l'adresse suivante : https://grafana.deuxfleurs.fr + +Vous pouvez obtenir le mot de passe admin en allant le chercher dans consul KV + +# Journaux + +Les journaux ne sont pas centralisés aujourd'hui. +Vous pouvez les consulter avec `docker logs`, `nomad` et `journalctl`. + +# Alertes + +Nous n'avons pas de système d'alerte aujourd'hui. diff --git a/content/operations/supervision/_index.md b/content/operations/supervision/_index.md deleted file mode 100644 index ee71625..0000000 --- a/content/operations/supervision/_index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = "Supervision" -description = "Supervision" -weight = 40 -sort_by = "weight" -+++ - -# Métriques - -# Journaux - -# Alertes diff --git a/content/operations/vue_ensemble/_index.md b/content/operations/vue_ensemble.md similarity index 96% rename from content/operations/vue_ensemble/_index.md rename to content/operations/vue_ensemble.md index acd5d28..cbd337d 100644 --- a/content/operations/vue_ensemble/_index.md +++ b/content/operations/vue_ensemble.md @@ -1,9 +1,11 @@ -+++ -title = "Vue d'ensemble" -description = "Vue d'ensemble" -sort_by = "weight" -weight = 2 -+++ +--- +title: "Vue d'ensemble" +description: "Vue d'ensemble" +sort_by: "weight" +weight: 0 +extra: + parent: 'operations/_index.md' +--- *Ajouter un schéma*