tech:awx_-_build_to_run
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:awx_-_build_to_run [2025/11/12 16:01] – Jean-Baptiste | tech:awx_-_build_to_run [2026/01/20 10:43] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 16: | Ligne 16: | ||
| | RAM | | RAM | ||
| | CPUs | 4 | | | CPUs | 4 | | ||
| - | | Local disk | 40 GB min & min 20GB available under / | + | | Local disk | 40 GB min (20GB min available under / |
| | Local disk | 1500 IOPS | | | Local disk | 1500 IOPS | | ||
| Ligne 54: | Ligne 54: | ||
| * Réactiver SELinux | * Réactiver SELinux | ||
| * Après avoir redéfini '' | * Après avoir redéfini '' | ||
| + | |||
| + | Changer dans Job settings - Container Run Options | ||
| + | ~~~python | ||
| + | [ | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | ~~~ | ||
| + | |||
| + | Désactiver le SWAP. Totalement ou `memory.swap.max=0` ? | ||
| + | Voir | ||
| + | ~~~bash | ||
| + | cat / | ||
| + | ~~~ | ||
| Ligne 61: | Ligne 75: | ||
| ~~~bash | ~~~bash | ||
| - | podman update --restart-policy=always kind-control-plane | + | podman update --restart=always kind-control-plane |
| ~~~ | ~~~ | ||
| A la place de '' | A la place de '' | ||
| + | |||
| + | |||
| + | |||
| + | ## Réseau | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| Ligne 81: | Ligne 103: | ||
| * ipv6_disabled | * ipv6_disabled | ||
| + | |||
| + | |||
| + | ## Sauvegarde | ||
| + | |||
| + | De tous les objets AWX : | ||
| + | ~~~bash | ||
| + | awx -f yaml export > all.yaml | ||
| + | ~~~~ | ||
| + | |||
| + | FIXME: prévoir l' | ||
| Ligne 86: | Ligne 118: | ||
| ## PoC Stockage | ## PoC Stockage | ||
| - | '' | + | Voir : |
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | '' | ||
| ~~~yaml | ~~~yaml | ||
| kind: Cluster | kind: Cluster | ||
| Ligne 141: | Ligne 184: | ||
| ~~~bash | ~~~bash | ||
| - | create cluster kind create cluster --config=cluster-config.yml | + | kubectl |
| + | ~~~ | ||
| + | |||
| + | |||
| + | '' | ||
| + | ~~~yaml | ||
| + | --- | ||
| + | |||
| + | kind: Cluster | ||
| + | apiVersion: kind.x-k8s.io/ | ||
| + | nodes: | ||
| + | - role: control-plane | ||
| + | extraPortMappings: | ||
| + | - containerPort: | ||
| + | hostPort: 30000 | ||
| + | protocol: TCP | ||
| + | extraMounts: | ||
| + | - containerPath: | ||
| + | hostPath: / | ||
| + | - containerPath: | ||
| + | hostPath: / | ||
| + | - containerPath: | ||
| + | hostPath: / | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | Fixer la version avec l' | ||
| + | ~~~bash | ||
| + | kind create cluster --image kindest/ | ||
| + | ~~~ | ||
| + | Available tags can be found at https:// | ||
| + | |||
| + | ~~~bash | ||
| + | kind create cluster --config=cluster-config.yml | ||
| + | |||
| + | # kubectl create deployment nginx --image=nginx --port=80 | ||
| + | # kubectl create service nodeport nginx --tcp=80:80 --node-port=30000 | ||
| + | |||
| + | kubectl create service nodeport awx-service --tcp=80:80 --node-port=30000 | ||
| + | ~~~ | ||
| + | |||
| - | #create deployment kubectl create deployment nginx --image=nginx --port=80 | + | Dans jobs settings changer |
| - | #create service kubectl create service nodeport nginx --tcp=80:80 --node-port=30000 | + | |
| - | create service kubectl create service nodeport awx-service | + | Paths to expose to isolated jobs |
| + | ~~~python | ||
| + | [ | ||
| + | "/ | ||
| + | "/ | ||
| + | ] | ||
| ~~~ | ~~~ | ||
tech/awx_-_build_to_run.1762959691.txt.gz · Dernière modification : de Jean-Baptiste
