Repository navigation
ノードの受信の防火壁を Cilium の Host Firewall で作る - #658
Merged
Merged
Conversation
Talos の防火壁は conntrack の invalid を捨てる規則を必ず入れ、Envoy の帰りを NOTRACK に する Cilium と噛み合わず、Pod からノード自身の IP の Gateway が捨てられた(#652)。 hostFirewall を有効にし、ノードを選ぶ CiliumClusterwideNetworkPolicy で外から通す ポートを決める。boot CI で、外から 443 は通り 10250 は通らない・LAN からは通る・ Pod からノードの IP の Gateway に届く、を見る。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs
|
Claude finished @5ym's task in 23s —— View job レビュー結果(PR は merge 済み)
確認できたこと:
要確認(実機に当てる前に):
テストは boot CI で、外から 443 は通り 10250 は通らない、LAN から 10250 は通る、Pod からノード IP(v4 / v6)の Gateway に届く、の 3 点を見ています。今回の変更に対して必要な点は押さえられています。 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#657(Talos の防火壁 + NOTRACK の DaemonSet)の代わりの案。Talos の防火壁は使わず、Cilium の Host Firewall で外から通すポートを決める。
bootstrap/cilium-values.yaml:hostFirewall.enabled: truedeploy/cluster/host-firewall.yaml: ノードを選ぶ CiliumClusterwideNetworkPolicy。外からは docs/router.md の表のポート(TCP 80・443・853・3129・6443・8443、UDP 8443・51820)と ICMP / ICMPv6 の要るものだけ、クラスタの中と内側のアドレス(10/8・100.64/10・fc00::/7・fe80::/10)からは全部実機には当てていない。当てるときは、ホストのエンドポイントを監査モードにしてから入れる。
🤖 Generated with Claude Code
https://claude.ai/code/session_01T9PbUfqG4pPxus99UeLiJs