Merge pull request #34583 from windsonsea/docsite1

[zh] Resync konnectivity-server.yaml
pull/34620/head
Kubernetes Prow Robot 2022-06-25 18:26:58 -07:00 committed by GitHub
commit 6273aa1be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -12,14 +12,13 @@ spec:
command: ["/proxy-server"] command: ["/proxy-server"]
args: [ args: [
"--logtostderr=true", "--logtostderr=true",
# This needs to be consistent with the value set in egressSelectorConfiguration. # 下一行需与 egressSelectorConfiguration 中设置的值一致。
"--uds-name=/etc/kubernetes/konnectivity-server/konnectivity-server.socket", "--uds-name=/etc/kubernetes/konnectivity-server/konnectivity-server.socket",
# The following two lines assume the Konnectivity server is # 下面两行假定 Konnectivity 服务器被部署在与 apiserver 相同的机器上,
# deployed on the same machine as the apiserver, and the certs and # 并且该 API 服务器的证书和密钥位于指定的位置。
# key of the API Server are at the specified location.
"--cluster-cert=/etc/kubernetes/pki/apiserver.crt", "--cluster-cert=/etc/kubernetes/pki/apiserver.crt",
"--cluster-key=/etc/kubernetes/pki/apiserver.key", "--cluster-key=/etc/kubernetes/pki/apiserver.key",
# This needs to be consistent with the value set in egressSelectorConfiguration. # 下一行需与 egressSelectorConfiguration 中设置的值一致。
"--mode=grpc", "--mode=grpc",
"--server-port=0", "--server-port=0",
"--agent-port=8132", "--agent-port=8132",