diff --git a/site/config.yaml b/site/config.yaml index 4c81b414d..70f8f7661 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -152,10 +152,14 @@ menu: weight: 1060 parent: user-guide + - identifier: examples + title: Examples + parent: user-guide + - identifier: kwokctl-advanced-usage title: "`kwokctl` Advanced Usage" weight: 200010 - parent: user-guide + parent: examples - identifier: snapshots pageRef: "/docs/user/kwokctl-snapshot" parent: kwokctl-advanced-usage @@ -172,24 +176,32 @@ menu: pageRef: "/docs/user/kwokctl-platform-specific-binaries" parent: kwokctl-advanced-usage - - identifier: examples - title: Examples - parent: kwokctl-advanced-usage + - identifier: kwokctl-integration + title: "`kwokctl` Integration" + weight: 200020 + parent: examples - identifier: argo pageRef: "/docs/examples/argo" - parent: examples + parent: kwokctl-integration - identifier: linkerd pageRef: "/docs/examples/linkerd" - parent: examples + parent: kwokctl-integration - identifier: istio pageRef: "/docs/examples/istio" - parent: examples + parent: kwokctl-integration - identifier: metrics-server pageRef: "/docs/examples/metrics-server" - parent: examples + parent: kwokctl-integration - identifier: metrics pageRef: "/docs/examples/prometheus" + parent: kwokctl-integration + + - identifier: chaos + title: Chaos parent: examples + - identifier: injectfailure + pageRef: "/docs/user/examples/injectfailure" + parent: chaos - identifier: tools title: Tools diff --git a/site/content/en/docs/user/examples/injectfailure/_index.md b/site/content/en/docs/user/examples/injectfailure/_index.md new file mode 100644 index 000000000..fb5ed2794 --- /dev/null +++ b/site/content/en/docs/user/examples/injectfailure/_index.md @@ -0,0 +1,31 @@ +--- +title: Inject Failure +--- + +# Inject Failure Demo + +{{< hint "info" >}} + +This is a demo that introduces how to inject fault to initContainer in an existing minikube cluster. + +{{< /hint >}} + + + +{{< expand "Demo Detail Steps" >}} + +{{< code-sample file="init-container-error-injection.demo" language="bash" >}} + +{{< /expand >}} + +{{< expand "virtual-gpu-node.yaml" >}} + +{{< code-sample file="virtual-gpu-node.yaml" >}} + +{{< /expand >}} + +{{< expand "failed-pod.yaml" >}} + +{{< code-sample file="failed-pod.yaml" >}} + +{{< /expand >}}