Mattermost-server: Create CLI tool that rolls out new AMI version to all k8s cluster nodes.

Created on 29 Nov 2019  路  1Comment  路  Source: mattermost/mattermost-server

When a new k8s AMI is released in a cluster we need to drain the old instances one by one and spin up new that will get the new AMI version.

Details steps
The CLI tool:

  • Will authenticate with the cluster and get all nodes.
  • Drain the first node and when drain successful delete the instance in AWS.
  • Wait for the new node to become ready and move to the next node drain.
  • Follow this process until the new AMI is rolled out in all new nodes
  • Make sure that all pods are running as expected

The CLI tool should be written in Golang.

For any questions please contact stylianos.rigas or carlos.panato.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-20772

AreCLI Hard Help Wanted PR Exists TecDevOps TecKubernetes

Most helpful comment

I will take that one

>All comments

I will take that one

Was this page helpful?
0 / 5 - 0 ratings