You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ The aim of this application is to be used in the context of trainings for Docker
10
10
11
11
<imgwidth="500"alt="Screenshot 2025-06-04 at 15 40 30"src="https://github.com/user-attachments/assets/7cafc452-4f21-4202-8379-2a983ecbf122" />
12
12
13
-
14
13
## Available Endpoints
15
14
16
15
> **_NOTE:_** The application offers the following endpoints on port **8080**
@@ -50,6 +49,8 @@ If everything is fine the application will respond with a 200 status code, if no
50
49
|`leak cpu`| Leak CPU |
51
50
|`request <url>`| Request a URL, e.g., `request https://www.kubermatic.com/`|
52
51
|`delay / <seconds>`| Set delay for the root endpoint (`/`) in seconds, e.g., `delay / 5`|
52
+
|`disable /`| The root endpoint (`/`) will respond with a 503 status code |
53
+
|`enable /`| The root endpoint (`/`) will respond with a 200 status code |
53
54
54
55
> **_INSIDE A CONTAINER_** If you want to send commands to the application you have to use of `docker attach my-training-application-container`. The container als has to have `tty` enabled.
0 commit comments