-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Add a page for inject failure demo #1144
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 >}} | ||
Comment on lines
+25
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So are you saying I can reference each file this way? If yes, do I specify the file path to any file I want to reference? For example, on the {{< /expand >}}
{{< expand "demo/technical-outcomes/simulation/scenario-1/node.yaml" >}}
{{< code-sample file="demo/technical-outcomes/simulation/scenario-1/node.yaml" >}}
{{< /expand >}} There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is because it is the same directory, so it can omit the path. https://github.com/kubernetes-sigs/kwok/tree/main/site/content/en/docs/user/examples/injectfailure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lovely. Will this PR be merged today? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I'll merge this #1145 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sweet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview page https://deploy-preview-1144--k8s-kwok.netlify.app/docs/user/examples/injectfailure/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks nice.