Ability to enable/disable Nomad

Description

We need to let users to enable/disable Nomad in PMM.

For the first stage it can be ENV variable.

When nomad is enabled PMM should do following:

  • Nomad server is running on PMM Server and configured

  • Nomad client is running on all PMM Clients and configured to communicate with Nomad Server

Starting nomad server, client and configuring them will be done in https://perconadev.atlassian.net/browse/PMM-13400

Default state of nomad should be disabled.

How to test

We need to test that when ENV variable is passed and public address is set to PMM Server:

  • nomad server is started

  • nomad agent on PMM Server is started

  • nomad agent on PMM Client is started

and the same for disabled case.

With PMM Server 3.X, PMM Client 3.0.0 it still should work.

When we disable feature on PMM Server side nomad agent on PMM clients should be stopped.

How to document

We need to document that:
1. user needs to use ENV variable to enable nomad, also user have to expose nomad port 4647 and restart the server.
2. add a brief note in architectural and release notes about inclusion of Nomad

Smart Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Yes

Needs Doc

Yes

Planned Version/s

Fix versions

Story Points

Sprint

Smart Checklist Progress

Start date

Due date

Smart Checklist

Created September 30, 2024 at 10:09 AM
Updated last week