Last active
February 20, 2025 19:59
-
-
Save atomlab/59000e4bf245e367b9d7af156d357c75 to your computer and use it in GitHub Desktop.
Revisions
-
atomlab revised this gist
Feb 20, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Encountered an error in Talos when running `nft list ruleset` ```sh % kubectl debug -n kube-system -it --image alpine node/$NODE / # apk add nftables / # nft list ruleset netlink: Error: cache initialization failed: Operation not permitted -
atomlab revised this gist
Feb 20, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Encountered an error in Talos when running `nft list ruleset` ```sh % kubectl debug -n kube-system --profile=sysadmin -it --image alpine node/$NODE / # apk add nftables -
atomlab created this gist
Feb 20, 2025 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ Encountered an error in Talos when running nft list ruleset ```sh % kubectl debug -n kube-system --profile=sysadmin -it --image alpine node/$NODE / # apk add nftables / # nft list ruleset netlink: Error: cache initialization failed: Operation not permitted ``` The issue was related to security capabilities and was resolved by using `--profile=sysadmin`: ```sh % kubectl debug -n kube-system --profile=sysadmin -it --image alpine node/$NODE / # apk add nftables / # nft list ruleset table ip mangle { chain KUBE-IPTABLES-HINT { } } table inet talos { ... } ```