Mattermost-server: Implement Affinity for Mattermost operator

Created on 6 Aug 2019  路  6Comments  路  Source: mattermost/mattermost-server

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.


Notes: Jira ticket

The Mattermost Operator is a Kubernetes operator that manages the lifecycle of a Mattermost installation.

Currently we have Affinity as a field in the type definition for a ClusterInstallation, however, this is not implemented to set mattermost to use specific nodes.

See the field here https://github.com/mattermost/mattermost-operator/blob/master/pkg/apis/mattermost/v1alpha1/clusterinstallation_types.go#L49

For this ticket implement node affinity using the existing field.

Read https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity for more information on node affinity.

Easy Help Wanted PR Exists TecGo TecKubernetes

All 6 comments

Can I look at this one?

That'd be great @jesperhansen17 !

@jesperhansen17 Are you still working on it? I'd like to pick it too.

Yes @ankitrgadiya, I'm still working on this. Will let you know otherwise.

@ankitrgadiya, go ahead and do this one. Realise I need to get more experience on Kubernetes.

@jesperhansen17 Sure.

Was this page helpful?
0 / 5 - 0 ratings