Skip to content

Commit cb5e3ff

Browse files
committed
feat: add option to disable TCX in Cilium agent configuration
adapt to alinux4 Signed-off-by: l1b0k <[email protected]>
1 parent 41bab9b commit cb5e3ff

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

cmd/terway-cli/policy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ func runCilium(cfg *PolicyConfig) error {
215215
"--ipam=delegated-plugin",
216216
"--enable-bandwidth-manager=true",
217217
"--agent-health-port=" + cfg.HealthCheckPort,
218+
"--enable-tcx=false",
218219
}
219220

220221
if cfg.EnableNetworkPolicy {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-policy=never--labels=k8s:io\.kubernetes\.pod\.namespace--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32
1+
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-tcx=false--enable-policy=never--labels=k8s:io\.kubernetes\.pod\.namespace--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-policy=default--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32
1+
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-tcx=false--enable-policy=default--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-policy=default--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32
1+
cilium-agent--routing-mode=native--cni-chaining-mode=terway-chainer--enable-ipv4-masquerade=false--enable-ipv6-masquerade=false--disable-envoy-version-check=true--local-router-ipv4=169.254.10.1--local-router-ipv6=fe80:2400:3200:baba::1--enable-local-node-route=false--enable-endpoint-health-checking=false--enable-health-checking=false--enable-service-topology=true--k8s-heartbeat-timeout=0--enable-session-affinity=true--install-iptables-rules=false--enable-l7-proxy=false--ipam=delegated-plugin--enable-bandwidth-manager=true--agent-health-port=9099--enable-tcx=false--enable-policy=default--datapath-mode=veth--enable-endpoint-routes=true--enable-l2-neigh-discovery=false--enable-in-cluster-loadbalance=true--terway-host-stack-cidr=169.254.20.10/32

0 commit comments

Comments
 (0)