From 0ed10f8a0a3555f9558d1a3aa7dc24414d7b2f34 Mon Sep 17 00:00:00 2001 From: saaror <31900410+saaror@users.noreply.github.com> Date: Thu, 8 Oct 2020 15:17:20 -0700 Subject: [PATCH 1/4] Update onboarding_instructions.md Updated the documentation to reflect where to update the config map. --- Health/onboarding_instructions.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Health/onboarding_instructions.md b/Health/onboarding_instructions.md index 9c07b2167..d284ff2b9 100644 --- a/Health/onboarding_instructions.md +++ b/Health/onboarding_instructions.md @@ -7,8 +7,11 @@ For on-boarding to Health(Tab), you would need to complete two steps ## Configure agent through ConfigMap 1. Include the following section in ConfigMap yaml file -```cmd:agent-settings: |- - [agent_settings.health_model] +``` +agent-settings: |- + # agent health model feature settings + [agent_settings.health_model] + # In the absence of this configmap, default value for enabled is false enabled = true ``` 2. Run the following kubectl command: From d24c951d6908c0c7289bded1e8fb65785a611732 Mon Sep 17 00:00:00 2001 From: saaror <31900410+saaror@users.noreply.github.com> Date: Thu, 8 Oct 2020 16:37:30 -0700 Subject: [PATCH 2/4] Update onboarding_instructions.md --- Health/onboarding_instructions.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Health/onboarding_instructions.md b/Health/onboarding_instructions.md index d284ff2b9..098f768d7 100644 --- a/Health/onboarding_instructions.md +++ b/Health/onboarding_instructions.md @@ -6,15 +6,28 @@ For on-boarding to Health(Tab), you would need to complete two steps ## Configure agent through ConfigMap -1. Include the following section in ConfigMap yaml file +1. If you are configuring your existing ConfigMap, append the following section in your existing ConfigMap yaml file ``` +#Append this section in your existing configmap agent-settings: |- # agent health model feature settings [agent_settings.health_model] # In the absence of this configmap, default value for enabled is false enabled = true ``` -2. Run the following kubectl command: +2. Else if you don't have ConfigMap, download the new ConfigMap from [here.](https://github.com/microsoft/OMS-docker/blob/ci_feature_prod/Kubernetes/container-azm-ms-agentconfig.yaml) & then set `enabled =true` + +``` +#For new downloaded configmap enabled this default setting to true +agent-settings: |- + # agent health model feature settings + [agent_settings.health_model] + # In the absence of this configmap, default value for enabled is false + enabled = true +``` + + +3. Run the following kubectl command: `kubectl apply -f ` Example: `kubectl apply -f container-azm-ms-agentconfig.yaml`. From 2a7ab31f9bb6f1664667e452db3bc44cfec9d753 Mon Sep 17 00:00:00 2001 From: saaror <31900410+saaror@users.noreply.github.com> Date: Sun, 11 Oct 2020 20:27:55 -0700 Subject: [PATCH 3/4] Update onboarding_instructions.md --- Health/onboarding_instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Health/onboarding_instructions.md b/Health/onboarding_instructions.md index 098f768d7..d2ec872bc 100644 --- a/Health/onboarding_instructions.md +++ b/Health/onboarding_instructions.md @@ -15,7 +15,7 @@ agent-settings: |- # In the absence of this configmap, default value for enabled is false enabled = true ``` -2. Else if you don't have ConfigMap, download the new ConfigMap from [here.](https://github.com/microsoft/OMS-docker/blob/ci_feature_prod/Kubernetes/container-azm-ms-agentconfig.yaml) & then set `enabled =true` +2. Else if you don't have ConfigMap, download the new ConfigMap from [here.](https://github.com/microsoft/Docker-Provider/blob/ci_dev/kubernetes/container-azm-ms-agentconfig.yaml) & then set `enabled =true` ``` #For new downloaded configmap enabled this default setting to true From 8edfb77475c40a68344a563653ee4b4f57c9d31d Mon Sep 17 00:00:00 2001 From: saaror <31900410+saaror@users.noreply.github.com> Date: Mon, 12 Oct 2020 14:59:37 -0700 Subject: [PATCH 4/4] Update onboarding_instructions.md Updated the link --- Health/onboarding_instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Health/onboarding_instructions.md b/Health/onboarding_instructions.md index d2ec872bc..4c83577b5 100644 --- a/Health/onboarding_instructions.md +++ b/Health/onboarding_instructions.md @@ -15,7 +15,7 @@ agent-settings: |- # In the absence of this configmap, default value for enabled is false enabled = true ``` -2. Else if you don't have ConfigMap, download the new ConfigMap from [here.](https://github.com/microsoft/Docker-Provider/blob/ci_dev/kubernetes/container-azm-ms-agentconfig.yaml) & then set `enabled =true` +2. Else if you don't have ConfigMap, download the new ConfigMap from [here.](https://github.com/microsoft/Docker-Provider/blob/ci_prod/kubernetes/container-azm-ms-agentconfig.yaml) & then set `enabled =true` ``` #For new downloaded configmap enabled this default setting to true