From dca37de006d21a026553dc9916653f15d2fb612f Mon Sep 17 00:00:00 2001 From: Cwen Yin Date: Tue, 28 Nov 2023 16:25:13 +0800 Subject: [PATCH] Fix doc crash (#406) * fix dns-chaos crash Signed-off-by: cwen0 * fix helm command Signed-off-by: cwen0 --------- Signed-off-by: cwen0 --- docs/simulate-dns-chaos-on-kubernetes.md | 4 +--- .../version-2.6.2/simulate-dns-chaos-on-kubernetes.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/simulate-dns-chaos-on-kubernetes.md b/docs/simulate-dns-chaos-on-kubernetes.md index 61d2f3ae..0ed945ab 100644 --- a/docs/simulate-dns-chaos-on-kubernetes.md +++ b/docs/simulate-dns-chaos-on-kubernetes.md @@ -12,9 +12,7 @@ To simluate DNS faults, you need to deploy a special DNS service called Chaos DN In the latest version, Chaos Mesh will deploy Chaos DNS Server by default. If you don't need to simulate DNS faults, you can set `dnsServer.create` to `false` when installing Chaos Mesh: - -helm install chaos-mesh chaos-mesh/chaos-mesh -n=chaos-mesh --version latest --set dnsServer.create=false - +{`helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=chaos-mesh --version latest --set dnsServer.create=false`} ::: diff --git a/versioned_docs/version-2.6.2/simulate-dns-chaos-on-kubernetes.md b/versioned_docs/version-2.6.2/simulate-dns-chaos-on-kubernetes.md index 61d2f3ae..0ed945ab 100644 --- a/versioned_docs/version-2.6.2/simulate-dns-chaos-on-kubernetes.md +++ b/versioned_docs/version-2.6.2/simulate-dns-chaos-on-kubernetes.md @@ -12,9 +12,7 @@ To simluate DNS faults, you need to deploy a special DNS service called Chaos DN In the latest version, Chaos Mesh will deploy Chaos DNS Server by default. If you don't need to simulate DNS faults, you can set `dnsServer.create` to `false` when installing Chaos Mesh: - -helm install chaos-mesh chaos-mesh/chaos-mesh -n=chaos-mesh --version latest --set dnsServer.create=false - +{`helm install chaos-mesh chaos-mesh/chaos-mesh --namespace=chaos-mesh --version latest --set dnsServer.create=false`} :::