Skip to content

Conversation

@ricardomaraschini
Copy link
Contributor

runs host preflights before starting to install or upgrade the cluster. host preflights may be present as part of any embedded helm chart or as part of the embedded kots release.

this is a sample output:

INFO[0001] Running host preflights on nodes
✓  Host Preflight checks completed on host 44.210.139.58
✓  Host Preflight checks completed on host 54.227.214.131
✓  Host Preflight checks completed on host 18.206.223.187
+----------------+--------+---------+---------------------------------------------------+
| ADDRESS        | STATUS | TITLE   | MESSAGE                                           |
+----------------+--------+---------+---------------------------------------------------+
| 54.227.214.131 | PASS   | Port 23 | Port 23 is available                              |
| 54.227.214.131 | PASS   | Port 24 | Port 24 is available                              |
| 18.206.223.187 | PASS   | Port 23 | Port 23 is available                              |
| 18.206.223.187 | PASS   | Port 24 | Port 24 is available                              |
| 44.210.139.58  | PASS   | Port 23 | Port 23 is available                              |
| 44.210.139.58  | PASS   | Port 24 | Port 24 is available                              |
| 54.227.214.131 | WARN   | Port 22 | Another process was already listening on port 22. |
| 18.206.223.187 | WARN   | Port 22 | Another process was already listening on port 22. |
| 44.210.139.58  | WARN   | Port 22 | Another process was already listening on port 22. |
+----------------+--------+---------+---------------------------------------------------+
WARN[0037] preflight had warnings on one or more hosts
? Do you want to continue ? Yes

in case of warnings user is asked for a confirmation before proceeding. in case of failures the install process is aborted.

@ricardomaraschini ricardomaraschini force-pushed the ricardomaraschini/sc-87850/add-hostpreflight-support-on-helmvm branch 2 times, most recently from 7835ca9 to 3691f4c Compare September 4, 2023 11:37
@ricardomaraschini ricardomaraschini changed the title feat: adding support for host preflights feat: adding support for kots application host preflights Sep 4, 2023
@ricardomaraschini ricardomaraschini force-pushed the ricardomaraschini/sc-87850/add-hostpreflight-support-on-helmvm branch 3 times, most recently from 531f075 to 585d7b5 Compare September 4, 2023 14:18
@ricardomaraschini ricardomaraschini marked this pull request as ready for review September 6, 2023 07:22
@ricardomaraschini ricardomaraschini force-pushed the ricardomaraschini/sc-87850/add-hostpreflight-support-on-helmvm branch from bf6305f to 9293c95 Compare September 6, 2023 07:38
runs host preflights before starting to install or upgrade the cluster.
host preflights may be present as part of any embedded helm chart or
as part of the embedded kots release.

this is a sample output:

```
INFO[0001] Running host preflights on nodes
✓  Host Preflight checks completed on host 44.210.139.58
✓  Host Preflight checks completed on host 54.227.214.131
✓  Host Preflight checks completed on host 18.206.223.187
+----------------+--------+---------+---------------------------------------------------+
| ADDRESS        | STATUS | TITLE   | MESSAGE                                           |
+----------------+--------+---------+---------------------------------------------------+
| 54.227.214.131 | PASS   | Port 23 | Port 23 is available                              |
| 54.227.214.131 | PASS   | Port 24 | Port 24 is available                              |
| 18.206.223.187 | PASS   | Port 23 | Port 23 is available                              |
| 18.206.223.187 | PASS   | Port 24 | Port 24 is available                              |
| 44.210.139.58  | PASS   | Port 23 | Port 23 is available                              |
| 44.210.139.58  | PASS   | Port 24 | Port 24 is available                              |
| 54.227.214.131 | WARN   | Port 22 | Another process was already listening on port 22. |
| 18.206.223.187 | WARN   | Port 22 | Another process was already listening on port 22. |
| 44.210.139.58  | WARN   | Port 22 | Another process was already listening on port 22. |
+----------------+--------+---------+---------------------------------------------------+
WARN[0037] preflight had warnings on one or more hosts
? Do you want to continue ? Yes
```

in case of warnings user is asked for a confirmation before proceeding.
in case of failures the install process is aborted.
@ricardomaraschini ricardomaraschini force-pushed the ricardomaraschini/sc-87850/add-hostpreflight-support-on-helmvm branch from 9293c95 to 5ed3274 Compare September 6, 2023 07:39
@ricardomaraschini ricardomaraschini merged commit ba5dfae into main Sep 6, 2023
@ricardomaraschini ricardomaraschini deleted the ricardomaraschini/sc-87850/add-hostpreflight-support-on-helmvm branch September 6, 2023 07:53
emosbaugh pushed a commit that referenced this pull request Aug 30, 2024
…tall-fails-when-overriding-k0s

add networking information to the installation object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants