From ad65396875fc7d062c658139c4ed4218a4bc0b8c Mon Sep 17 00:00:00 2001 From: Ed Snible Date: Fri, 13 Nov 2020 09:25:58 -0500 Subject: [PATCH] Analysis message for IST0116 and 117 (#8496) * Analysis message for IST0116 and 117 * make gen --- DOC_OWNERS.md | 6 ++- .../config/analysis/ist0116/index.md | 42 +++++++++++++++++++ .../config/analysis/ist0117/index.md | 12 ++++++ 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 content/en/docs/reference/config/analysis/ist0116/index.md create mode 100644 content/en/docs/reference/config/analysis/ist0117/index.md diff --git a/DOC_OWNERS.md b/DOC_OWNERS.md index d91db8d8ed..92ed020fc6 100644 --- a/DOC_OWNERS.md +++ b/DOC_OWNERS.md @@ -1,7 +1,7 @@ # Istio.io Document Owners -There are 156 owned istio.io docs. +There are 158 owned istio.io docs. ## istio/wg-docs-maintainers: 15 docs @@ -142,7 +142,7 @@ There are 156 owned istio.io docs. - [docs/tasks/security/cert-management/plugin-ca-cert/index.md](https://preliminary.istio.io/latest/docs/tasks/security/cert-management/plugin-ca-cert) - [docs/tasks/traffic-management/egress/egress-gateway-tls-origination-sds/index.md](https://preliminary.istio.io/latest/docs/tasks/traffic-management/egress/egress-gateway-tls-origination-sds) -## istio/wg-user-experience-maintainers: 32 docs +## istio/wg-user-experience-maintainers: 34 docs - [docs/ops/common-problems/injection/index.md](https://preliminary.istio.io/latest/docs/ops/common-problems/injection) - [docs/ops/common-problems/validation/index.md](https://preliminary.istio.io/latest/docs/ops/common-problems/validation) @@ -171,6 +171,8 @@ There are 156 owned istio.io docs. - [docs/reference/config/analysis/ist0111/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0111) - [docs/reference/config/analysis/ist0112/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0112) - [docs/reference/config/analysis/ist0113/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0113) +- [docs/reference/config/analysis/ist0116/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0116) +- [docs/reference/config/analysis/ist0117/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0117) - [docs/reference/config/analysis/ist0118/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0118) - [docs/reference/config/analysis/ist0119/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/ist0119) - [docs/reference/config/analysis/message-format/index.md](https://preliminary.istio.io/latest/docs/reference/config/analysis/message-format) diff --git a/content/en/docs/reference/config/analysis/ist0116/index.md b/content/en/docs/reference/config/analysis/ist0116/index.md new file mode 100644 index 0000000000..e3540c9205 --- /dev/null +++ b/content/en/docs/reference/config/analysis/ist0116/index.md @@ -0,0 +1,42 @@ +--- +title: DeploymentAssociatedToMultipleServices +layout: analysis-message +owner: istio/wg-user-experience-maintainers +test: no +--- + +This message occurs when pods of a deployment are associated with multiple services using the same port but different protocols. + +## An example + +Consider an Istio mesh with the following services: + +{{< text yaml >}} +apiVersion: v1 +kind: Service +metadata: + name: productpage-tcp-v1 +spec: + ports: + - port: 9080 + name: tcp + protocol: TCP + selector: + app: productpage +--- +apiVersion: v1 +kind: Service +metadata: + name: productpage-http-v1 +spec: + ports: + - port: 9080 + name: http + protocol: HTTP + selector: + app: productpage +{{< /text >}} + +This example shows both HTTP and TCP protocols associated with port 9080. + +No two services should select the same pod port with different protocols. diff --git a/content/en/docs/reference/config/analysis/ist0117/index.md b/content/en/docs/reference/config/analysis/ist0117/index.md new file mode 100644 index 0000000000..f4c9efc819 --- /dev/null +++ b/content/en/docs/reference/config/analysis/ist0117/index.md @@ -0,0 +1,12 @@ +--- +title: DeploymentRequiresServiceAssociated +layout: analysis-message +owner: istio/wg-user-experience-maintainers +test: no +--- + +This message occurs when pods are not associated with any services. + +A pod must belong to at least one Kubernetes service even if the pod does NOT expose any port. + +See the [Istio Requirements](../../../../ops/deployment/requirements).