Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPXC-1378: add labels to every resource #1823

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_custom-proxysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_custom-pxc-k127.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_custom-pxc-oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_custom-pxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: custom
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_hostname-pxc-oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_hostname-pxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: hostname
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_region-proxysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_region-pxc-k127.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_region-pxc-oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_region-pxc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: region
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_zone-proxysql-oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_zone-proxysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: proxysql
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: proxydata
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_zone-pxc-k127-oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/affinity/compare/statefulset_zone-pxc-k127.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ spec:
type: RollingUpdate
volumeClaimTemplates:
- metadata:
labels:
app.kubernetes.io/component: pxc
app.kubernetes.io/instance: zone
app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
app.kubernetes.io/name: percona-xtradb-cluster
app.kubernetes.io/part-of: percona-xtradb-cluster
name: datadir
spec:
accessModes:
Expand Down
Loading
Loading