Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions doc/02-Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,11 @@ or install [from source](02-Installation.md.d/From-Source.md).

## Setting up the Database

A MySQL (≥5.5) or MariaDB (≥10.1) database is required to run Icinga for Kubernetes.
Please follow the steps listed for your target database,
which guide you through setting up the database and user, and importing the schema.
A MySQL (≥8.0) or MariaDB (≥10.5) database is required to run Icinga for Kubernetes.
Please follow the steps, which guide you through setting up the database and user, and importing the schema.

### Setting up a MySQL or MariaDB Database

If you use a version of MySQL < 5.7 or MariaDB < 10.2, the following server options must be set:

```
innodb_file_format=barracuda
innodb_file_per_table=1
innodb_large_prefix=1
```

Set up a MySQL database for Icinga for Kubernetes:

```
Expand All @@ -49,7 +40,7 @@ GRANT ALL ON kubernetes.* TO 'kubernetes'@'localhost';
Icinga for Kubernetes automatically imports the schema on first start and also applies schema migrations if required.
<!-- {% if not from_source %} -->
You can also import the schema file manually, which is located at
`/usr/share/kubernetes/schema/mysql/schema.sql`.
`/usr/share/icinga-kubernetes/schema/mysql/schema.sql`.
<!-- {% endif %} -->

<!-- {% if not from_source %} -->
Expand Down