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
|`request <url>`| Request a URL, e.g., `request https://www.kubermatic.com/`|
51
49
|`delay / <seconds>`| Set delay for the root endpoint (`/`) in seconds, e.g., `delay / 5`|
52
50
51
+
> **_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.
52
+
53
+
> **_INSIDE A POD_** If you want to send commands to the application you have have to use of `kubectl attach -it training-application-pod` and have the following flags set in the pod manifest:
| Path to the config file | string | "./training-application.conf" || application arg, you can set this via eg `./training-application --configFilePath my.conf`|
- **Usage**: application arg, you can set this via eg `./training-application --configFilePath my.conf`
62
80
63
81
### `alive`
64
82
65
-
-**Description**:
66
-
-**Type**:
67
-
-**Default Value**:
68
-
-**Usage**:
69
-
70
-
| Flag to indicate the applications liveness | bool | true || configurable via the commands `set alive` and `set dead`|
83
+
- **Description**: Flag to indicate the applications liveness
84
+
- **Type**: bool
85
+
- **Default Value**: true
86
+
- **Usage**: configurable via the commands `set alive` and `set dead`
71
87
72
88
### `ready`
73
89
74
-
-**Description**:
75
-
-**Type**:
76
-
-**Default Value**:
77
-
-**Usage**:
78
-
79
-
| Flag to indicate the applications readiness | bool | false || true after `startUpDelaySeconds` , false on graceful shutdown; configurable via the commands `set ready` and `set unready`|
90
+
- **Description**: Flag to indicate the applications readiness
91
+
- **Type**: bool
92
+
- **Default Value**: false
93
+
- **Usage**: true after `startUpDelaySeconds` , false on graceful shutdown; configurable via the commands `set ready` and `set unready`
80
94
81
95
### `name`
82
96
83
-
-**Description**:
84
-
-**Type**:
85
-
-**Default Value**:
86
-
-**Usage**:
87
-
88
-
| The name of the application | string | "not set" || via config file or via the environment variable `APP_NAME`|
97
+
- **Description**: The name of the application
98
+
- **Type**: string
99
+
- **Default Value**: "not set"
100
+
- **Usage**: via config file or via the environment variable `APP_NAME`
89
101
90
102
### `version`
91
103
92
-
-**Description**:
93
-
-**Type**:
94
-
-**Default Value**:
95
-
-**Usage**:
96
-
97
-
| The version of the application | string | "not set" || via config file or via the environment variable `APP_VERSION`|
104
+
- **Description**: The version of the application
105
+
- **Type**: string
106
+
- **Default Value**: "not set"
107
+
- **Usage**: via config file or via the environment variable `APP_VERSION`
98
108
99
109
### `message`
100
110
101
-
-**Description**:
102
-
-**Type**:
103
-
-**Default Value**:
104
-
-**Usage**:
105
-
106
-
| A message to be shown on the root endpoint | string | "not set" || via config file or via the environment variable `APP_MESSAGE`|
111
+
- **Description**: A message to be shown on the root endpoint
112
+
- **Type**: string
113
+
- **Default Value**: "not set
114
+
- **Usage**: via config file or via the environment variable `APP_MESSAGE`
107
115
108
116
### `color`
109
117
110
-
-**Description**:
111
-
-**Type**:
112
-
-**Default Value**:
113
-
-**Usage**:
114
-
115
-
| The background color of the root endpoint | string | "not set" || via config file or via the environment variable `APP_COLOR`|
118
+
- **Description**: The background color of the root endpoint
119
+
- **Type**: string
120
+
- **Default Value**: "not set"
121
+
- **Usage**: via config file or via the environment variable `APP_COLOR`
116
122
117
123
### `rootDelaySeconds`
118
124
119
-
-**Description**:
120
-
-**Type**:
121
-
-**Default Value**:
122
-
-**Usage**:
123
-
124
-
| For delaying requests to the root endpoint | int | 0 || via config file or via the environment variable `APP_ROOT_DELAY_SECONDS`|
125
+
- **Description**: For delaying requests to the root endpoint
126
+
- **Type**: int
127
+
- **Default Value**: 0
128
+
- **Usage**: via config file or via the command `delay / <seconds>`, eg "delay / 10"
125
129
126
130
### `startUpDelaySeconds`
127
131
128
-
-**Description**:
129
-
-**Type**:
130
-
-**Default Value**:
131
-
-**Usage**:
132
-
133
-
|Time the application will take to start | int | 0 || via config file or via the environment variable `APP_START_UP_DELAY_SECONDS`|
132
+
- **Description**: Time the application will take to start
133
+
- **Type**: int
134
+
- **Default Value**: 0
135
+
- **Usage**: via config file
134
136
135
137
### `tearDownDelaySeconds`
136
138
137
-
-**Description**:
138
-
-**Type**:
139
-
-**Default Value**:
140
-
-**Usage**:
141
-
142
-
| Time the application will take to gracefully shut down | int | 0 || via config file or via the environment variable `APP_TEAR_DOWN_DELAY_SECONDS`|
139
+
- **Description**: Time the application will take to gracefully shut down
140
+
- **Type**: int
141
+
- **Default Value**: 0
142
+
- **Usage**: via config file
143
143
144
144
### `logToFileOnly`
145
145
146
-
-**Description**:
147
-
-**Type**:
148
-
-**Default Value**:
149
-
-**Usage**:
150
-
151
-
| Log **only** to the file `training-application.log`, if set to true no logging to stdout will happen | bool | false || via config file |
146
+
- **Description**: Log **only** to the file named `training-application.log`, if set to true no logging to stdout will happen
147
+
- **Type**: bool
148
+
- **Default Value**: false
149
+
- **Usage**: via config file
152
150
153
151
### `catMode`
154
152
155
-
-**Description**:
156
-
-**Type**:
157
-
-**Default Value**:
158
-
-**Usage**:
153
+
- **Description**: Flag to get cute cat images in the root endpoint
154
+
- **Type**: bool
155
+
- **Default Value**: false
156
+
- **Usage**: via config file
159
157
160
-
| Flag to get cute cat images in the rood endpoint | bool | false || via config file |
0 commit comments