Outils pour utilisateurs

Outils du site


tech:notes_k8s_-_kind_pour_awx

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_k8s_-_kind_pour_awx [2026/01/20 10:55] Jean-Baptistetech:notes_k8s_-_kind_pour_awx [2026/03/03 13:51] (Version actuelle) Jean-Baptiste
Ligne 14: Ligne 14:
 Voir aussi : Voir aussi :
   * kinder   * kinder
 +  * https://github.com/kurokobo/awx-on-k3s
  
 Avantage / Intérêts d'utiliser AWX : Avantage / Intérêts d'utiliser AWX :
Ligne 72: Ligne 73:
 ~~~ ~~~
  
-Install de kind via asdf+Install de kind via asdf (voir aussi mise.run)
 ~~~bash ~~~bash
 asdf plugin add kind asdf plugin add kind
Ligne 94: Ligne 95:
 export KIND_EXPERIMENTAL_PROVIDER=podman export KIND_EXPERIMENTAL_PROVIDER=podman
 systemd-run --scope --user kind create cluster systemd-run --scope --user kind create cluster
 +~~~
 +
 +
 +Rootless
 +
 +Enable cgroup v2 delegation, see https://rootlesscontaine.rs/getting-started/common/cgroup2/ . This step is required; the rootless kubelet will fail to start without the proper cgroups delegated.
 +Source : https://docs.k3s.io/advanced
 +
 +Pour rootless avec iptables
 +
 +`/etc/modules-load.d/iptables.conf`
 +~~~
 +ip6_tables
 +ip6table_nat
 +ip_tables
 +iptable_nat
 +~~~
 +
 +Si nftable à la place d'iptables
 +~~~yaml
 +kind: Cluster
 +apiVersion: kind.x-k8s.io/v1alpha4
 +networking:
 +  ipFamily: ipv4
 +  kubeProxyMode: "nftables"
 ~~~ ~~~
  
Ligne 197: Ligne 223:
 #TimeoutStopSec=60 #TimeoutStopSec=60
 ExecStart=/bin/bash -c '/usr/bin/podman start kind-control-plane &' ExecStart=/bin/bash -c '/usr/bin/podman start kind-control-plane &'
-ExecStop=/bin/bash '/usr/bin/podman stop kind-control-plane &'+ExecStop=/bin/bash -c '/usr/bin/podman stop kind-control-plane &'
 NotifyAccess=all NotifyAccess=all
  
Ligne 290: Ligne 316:
     - containerPath: /shares     - containerPath: /shares
       hostPath: /data/shares       hostPath: /data/shares
 +
 +# Si module nf_tables est présent à la pace de iptables
 +networking:
 +  kubeProxyMode: "nftables"
 ~~~ ~~~
  
tech/notes_k8s_-_kind_pour_awx.1768902911.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki