Skip to content

Conform with kubernetes recommended labels #132

@calind

Description

@calind

https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/. We should set them on cluster subresources and on pods.

  • app.kubernetes.io/name -> mysql
  • app.kubernetes.io/instance -> MysqlCluster.Labels[app.kubernetes.io/instance] or MysqlCluster.Name
  • app.kubernetes.io/version -> image tag
  • app.kubernetes.io/component -> MysqlCluster.Labels[app.kubernetes.io/component] or database
  • app.kubernetes.io/part-of -> MysqlCluster.Labels[app.kubernetes.io/part-of]
  • app.kubernetes.io/managed-by -> mysql-operator.presslabs.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions