Skip to content

Commit

Permalink
[doc] Add a page for inject failure demo
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jul 5, 2024
1 parent 43853b9 commit 43c0f75
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions site/content/en/docs/user/examples/injectfailure/_index.md
Original file line number Diff line number Diff line change
@@ -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 >}}

<img width="700px" src="init-container-error-injection.svg">

{{< 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 >}}

0 comments on commit 43c0f75

Please sign in to comment.