diff --git a/content/zh/docs/reference/config/type/_index.md b/content/zh/docs/reference/config/type/_index.md new file mode 100644 index 0000000000..98bfa391ad --- /dev/null +++ b/content/zh/docs/reference/config/type/_index.md @@ -0,0 +1,6 @@ +--- +title: 常见类型 +description: 描述 Istio API 中的常见类型。 +weight: 50 +test: n/a +--- diff --git a/content/zh/docs/reference/config/type/workload-selector/index.html b/content/zh/docs/reference/config/type/workload-selector/index.html new file mode 100644 index 0000000000..4fe20662b5 --- /dev/null +++ b/content/zh/docs/reference/config/type/workload-selector/index.html @@ -0,0 +1,45 @@ +--- +WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL SOURCE IN THE 'https://github.com/istio/api' REPO +source_repo: https://github.com/istio/api +title: Workload Selector +description: Definition of a workload selector. +location: https://istio.io/docs/reference/config/type/workload-selector.html +layout: protoc-gen-docs +generator: protoc-gen-docs +number_of_entries: 1 +--- +
WorkloadSelector specifies the criteria used to determine if a policy can be applied +to a proxy. The matching criteria includes the metadata associated with a proxy, +workload instance info such as labels attached to the pod/VM, or any other info +that the proxy provides to Istio during the initial handshake. If multiple conditions are +specified, all conditions need to match in order for the workload instance to be +selected. Currently, only label based selection mechanism is supported.
+ + +