From ec2ee29c7a0f4ce61d6e5a0634282ba9e436da45 Mon Sep 17 00:00:00 2001 From: Eric Van Norman Date: Thu, 1 Sep 2022 13:54:41 -0500 Subject: [PATCH] Enable ops/configuration/mesh/config-resource-ready (#11784) * Enable ops/configuration/mesh/config-resource-ready Requires another env variable to be set * Some doc updates with new env var --- .../ops/configuration/mesh/config-resource-ready/index.md | 4 ++-- .../ops/configuration/mesh/config-resource-ready/snips.sh | 2 +- .../mesh/config-resource-ready/{test_skip.sh => test.sh} | 0 content/en/docs/reference/config/config-status/index.md | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) rename content/en/docs/ops/configuration/mesh/config-resource-ready/{test_skip.sh => test.sh} (100%) diff --git a/content/en/docs/ops/configuration/mesh/config-resource-ready/index.md b/content/en/docs/ops/configuration/mesh/config-resource-ready/index.md index 5f39984c40..f9da787711 100644 --- a/content/en/docs/ops/configuration/mesh/config-resource-ready/index.md +++ b/content/en/docs/ops/configuration/mesh/config-resource-ready/index.md @@ -28,10 +28,10 @@ status, which Istio updates as it propagates configuration changes. ## Before you begin This feature is off by default. Enable the `status` field as part of Istio -installation using the following command. +installation using the following command. You must also enable `config_distribution_tracking`. {{< text syntax=bash snip_id=install_with_enable_status >}} -$ istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.global.istiod.enableAnalysis=true +$ istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.global.istiod.enableAnalysis=true {{< /text >}} ## Wait for resource readiness diff --git a/content/en/docs/ops/configuration/mesh/config-resource-ready/snips.sh b/content/en/docs/ops/configuration/mesh/config-resource-ready/snips.sh index a4d7408b84..8541148d26 100644 --- a/content/en/docs/ops/configuration/mesh/config-resource-ready/snips.sh +++ b/content/en/docs/ops/configuration/mesh/config-resource-ready/snips.sh @@ -21,7 +21,7 @@ #################################################################################################### snip_install_with_enable_status() { -istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.global.istiod.enableAnalysis=true +istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.global.istiod.enableAnalysis=true } snip_apply_and_wait_for_httpbin_vs() { diff --git a/content/en/docs/ops/configuration/mesh/config-resource-ready/test_skip.sh b/content/en/docs/ops/configuration/mesh/config-resource-ready/test.sh similarity index 100% rename from content/en/docs/ops/configuration/mesh/config-resource-ready/test_skip.sh rename to content/en/docs/ops/configuration/mesh/config-resource-ready/test.sh diff --git a/content/en/docs/reference/config/config-status/index.md b/content/en/docs/reference/config/config-status/index.md index 6d141de89f..b95062be10 100644 --- a/content/en/docs/reference/config/config-status/index.md +++ b/content/en/docs/reference/config/config-status/index.md @@ -16,10 +16,11 @@ control plane revision. Istio 1.6 and later provides information about the propagation of configuration changes through the mesh, using the `status` field of the resource. -Status is disabled by default, and can be enabled during install with: +Status is disabled by default, and can be enabled during install with +(you must also enable `config_distribution_tracking`): {{< text bash >}} -$ istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.global.istiod.enableAnalysis=true +$ istioctl install --set values.pilot.env.PILOT_ENABLE_STATUS=true --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.global.istiod.enableAnalysis=true {{< /text >}} The `status` field contains the state of a resource's configuration with various