Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-proxy对于每个pod的snat转换打标和的不应该是放到nat表中的postrouting链里面吗,下面放到kubesep匹配不到吧 #60

Open
XinyuHu123456 opened this issue Aug 18, 2024 · 0 comments

Comments

@XinyuHu123456
Copy link

// 将源 IP 地址标记为 NAT
if err := im.ipt.Insert("nat", kubesep, 1, "-j", "KUBE-MARK-MASQ",
"-s", podIPList[i]+"/"+strconv.Itoa(config.IP_PREFIX_LENGTH)); err != nil {
k8log.ErrorLog("KUBEPROXY", "Failed to create kubesvc chain: "+err.Error())
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant