tech:notes_k8s_-_kind_pour_awx
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:notes_k8s_-_kind_pour_awx [2025/12/12 09:24] – Jean-Baptiste | tech: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:// | ||
| Avantage / Intérêts d' | Avantage / Intérêts d' | ||
| 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:// | ||
| + | Source : https:// | ||
| + | |||
| + | Pour rootless avec iptables | ||
| + | |||
| + | `/ | ||
| + | ~~~ | ||
| + | ip6_tables | ||
| + | ip6table_nat | ||
| + | ip_tables | ||
| + | iptable_nat | ||
| + | ~~~ | ||
| + | |||
| + | Si nftable à la place d' | ||
| + | ~~~yaml | ||
| + | kind: Cluster | ||
| + | apiVersion: kind.x-k8s.io/ | ||
| + | networking: | ||
| + | ipFamily: ipv4 | ||
| + | kubeProxyMode: | ||
| ~~~ | ~~~ | ||
| Ligne 197: | Ligne 223: | ||
| # | # | ||
| ExecStart=/ | ExecStart=/ | ||
| - | ExecStop=/ | + | ExecStop=/ |
| NotifyAccess=all | NotifyAccess=all | ||
| Ligne 228: | Ligne 254: | ||
| Solution | Solution | ||
| - | ~~~ | ||
| - | #sudo sysctl -w fs.inotify.max_user_watches=2099999999 | ||
| - | #sudo sysctl -w fs.inotify.max_user_instances=2099999999 | ||
| - | #sudo sysctl -w fs.inotify.max_queued_events=2099999999 | ||
| - | |||
| - | #sysctl -w fs.inotify.max_user_watches=1048576 | ||
| - | #sysctl -w fs.inotify.max_user_instances=8192 | ||
| - | ~~~ | ||
| - | |||
| ''/ | ''/ | ||
| Ligne 299: | Ligne 316: | ||
| - containerPath: | - containerPath: | ||
| hostPath: / | hostPath: / | ||
| + | |||
| + | # Si module nf_tables est présent à la pace de iptables | ||
| + | networking: | ||
| + | kubeProxyMode: | ||
| ~~~ | ~~~ | ||
tech/notes_k8s_-_kind_pour_awx.1765527847.txt.gz · Dernière modification : de Jean-Baptiste
