docs: document constellation-cluster.log file (#2285)

This commit is contained in:
Adrian Stobbe 2023-08-25 12:50:12 +02:00 committed by GitHub
parent 0f4bd8296b
commit 19893c565e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -237,7 +237,7 @@ func (i *initCmd) initialize(
if errors.As(err, &nonRetriable) { if errors.As(err, &nonRetriable) {
cmd.PrintErrln("Cluster initialization failed. This error is not recoverable.") cmd.PrintErrln("Cluster initialization failed. This error is not recoverable.")
cmd.PrintErrln("Terminate your cluster and try again.") cmd.PrintErrln("Terminate your cluster and try again.")
cmd.PrintErrf("The cluster logs were saved to %q\n", constants.ErrorLog) cmd.PrintErrf("Fetched bootstrapper logs are stored in %q\n", i.pf.PrefixPrintablePath(constants.ErrorLog))
} }
return err return err
} }

View file

@ -93,3 +93,7 @@ export KUBECONFIG="$PWD/constellation-admin.conf"
``` ```
🏁 That's it. You've successfully created a Constellation cluster. 🏁 That's it. You've successfully created a Constellation cluster.
### Troubleshooting
In case `init` fails, the CLI collects logs from the bootstrapping instance and stores them inside `constellation-cluster.log`.