[zh] resync egress-selector-configuration.yaml
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
apiVersion: apiserver.k8s.io/v1beta1
|
||||
kind: EgressSelectorConfiguration
|
||||
egressSelections:
|
||||
# Since we want to control the egress traffic to the cluster, we use the
|
||||
# "cluster" as the name. Other supported values are "etcd", and "master".
|
||||
# 由于我们要控制集群的出站流量,所以将 “cluster” 用作 name。
|
||||
# 其他支持的值有 “etcd” 和 “master”。
|
||||
- name: cluster
|
||||
connection:
|
||||
# This controls the protocol between the API Server and the Konnectivity
|
||||
# server. Supported values are "GRPC" and "HTTPConnect". There is no
|
||||
# end user visible difference between the two modes. You need to set the
|
||||
# Konnectivity server to work in the same mode.
|
||||
# 这一属性将控制 API 服务器 Konnectivity 服务器之间的协议。
|
||||
# 支持的值为 “GRPC” 和 “HTTPConnect”。
|
||||
# 最终用户不会察觉这两种模式之间的差异。
|
||||
# 你需要将 Konnectivity 服务器设为在相同模式下工作。
|
||||
proxyProtocol: GRPC
|
||||
transport:
|
||||
# This controls what transport the API Server uses to communicate with the
|
||||
# Konnectivity server. UDS is recommended if the Konnectivity server
|
||||
# locates on the same machine as the API Server. You need to configure the
|
||||
# Konnectivity server to listen on the same UDS socket.
|
||||
# The other supported transport is "tcp". You will need to set up TLS
|
||||
# config to secure the TCP transport.
|
||||
# 此属性控制 API 服务器使用哪种传输方式与 Konnectivity 服务器通信。
|
||||
# 如果 Konnectivity 服务器与 API 服务器位于同一台机器上,建议使用 UDS。
|
||||
# 你需要将 Konnectivity 服务器配置为侦听同一个 UDS 套接字。
|
||||
# 另一个支持的传输方式是 “tcp”。
|
||||
# 你将需要设置 TLS config 以确保 TCP 传输的安全。
|
||||
uds:
|
||||
udsName: /etc/kubernetes/konnectivity-server/konnectivity-server.socket
|
||||
|
||||
Reference in New Issue
Block a user