Skip to main content

About Managing Stateful Services

This topic provides recommendations for managing stateful services that you install into existing clusters.

Preflight Checks for Stateful Services

If you expect to also install stateful services into existing clusters, you will likely want to expose preflight analyzers that check for the existence of a storage class.

If you are allowing end users to provide connection details for external databases, you can often use a troubleshoot.sh built-in collector and analyzer to validate the connection details for Postgres, Redis, and many other common datastores. These can be included in both Preflight and SupportBundle specifications.

About Adding Persistent Datastores

You can integrate persistent stores, such as databases, queues, and caches. There are options to give an end user, such as embedding an instance alongside the application or connecting an application to an external instance that they will manage.

For an example of integrating persistent datastores, see Example: Adding Database Configuration Options.