This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Kerno — Le copilote IA de votre infrastructure</title> | |
| <meta name="description" content="Kerno détecte, diagnostique et résout les incidents de votre infrastructure cloud avant qu'ils n'impactent vos utilisateurs."> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| terraform { | |
| required_providers { | |
| virtualbox = { | |
| source = "terra-farm/virtualbox" | |
| version = "0.2.2-alpha.1" | |
| } | |
| } | |
| } | |
| provider "virtualbox" {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl https://${KUBERNETES_SERVICE_HOST} \ | |
| --header "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \ | |
| --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| mkdir -p Configs ||true | |
| python3 wg.py status |grep 'Client:' | while read a b c | |
| do | |
| python3 wg.py config $b | sed "s/b'//g; s/\\\\n/\n/g" > Configs/$c.conf | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker volume rm portainer_data | |
| docker volume create portainer_data | |
| docker run -d -p 8000:8000 -p 9443:9443 \ | |
| --name portainer \ | |
| --restart=always \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ | |
| -v portainer_data:/data \ | |
| portainer/portainer-ce:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| glusterName=glusterfs-cluster | |
| glusterEP=10.240.0.10 | |
| glusterNode01Path=gluster01:/storage-pool | |
| glusterNode02Path=gluster02:/storage-pool | |
| while true; do | |
| check=$(kubectl get pvc --all-namespaces --no-headers |grep Pending | head -1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // main.go | |
| package main | |
| import ( | |
| "crypto/tls" | |
| "log" | |
| "net/http" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- shell-script -*- | |
| # | |
| # Configuration file for ferm(1). | |
| # | |
| # Chain policies | |
| # We define our Docker IPv4 ranges | |
| @def $DOCKER_RANGE = (172.16.0.0/12); | |
| # We drop INPUT/FORWARD by default and ACCEPT output |
NewerOlder
