This repository was archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 236
How to label pods? #86
Labels
Comments
It would be nice to have custom labels, for example, to define pod affinity or antiaffinity. |
Hi @marcogiacomassi, MySQLCluster has an affinity field for this purpose: @kirreen does that solve your use-case too? |
No, my use case is a NetworkPolicy.
…On Fri, 27 Apr 2018, 17:07 Andrew Pryde, ***@***.***> wrote:
Hi @marcogiacomassi <https://github.com/marcogiacomassi>, MySQLCluster
has an affinity
<https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.10/#affinity-v1-core>
field for this purpose: .spec.affinity. Its not documented anywhere
though which we should fix.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQLSiW63Oh7H9GkTivDi0xCaVvStzt3ks5tszQzgaJpZM4TbkA4>
.
|
@kirreen Ah right. We should add a |
Some Docs on this would still be nice... BR B |
tony84727
added a commit
to tony84727/mysql-operator
that referenced
this issue
Jan 8, 2020
Signed-off-by: tony84727 <[email protected]>
tony84727
added a commit
to tony84727/mysql-operator
that referenced
this issue
Jan 8, 2020
Signed-off-by: tony84727 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
FEATURE REQUEST (?)
How can I label the mysql-pods? Is it possible to achieve from the mysqlcluster-resource?
The text was updated successfully, but these errors were encountered: