File tree Expand file tree Collapse file tree 9 files changed +29
-29
lines changed
charts/kubedb-metrics/templates Expand file tree Collapse file tree 9 files changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-elasticsearch
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : Elasticsearch
9
9
commonLabels :
10
10
- key : app
31
31
valuePath : .spec.storageType
32
32
- key : enableSSL
33
33
valuePath : .spec.enableSSL
34
- - key : terminationPolicy
35
- valuePath : .spec.terminationPolicy
34
+ - key : deletionPolicy
35
+ valuePath : .spec.deletionPolicy
36
36
- key : storageClassName
37
37
valuePath : .spec.storage.storageClassName
38
38
metricValue :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-kafka
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : Kafka
9
9
commonLabels :
10
10
- key : app
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-mariadb
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : MariaDB
9
9
commonLabels :
10
10
- key : app
71
71
valuePath : .spec.requireSSL
72
72
- key : storageType
73
73
valuePath : .spec.storageType
74
- - key : terminationPolicy
75
- valuePath : .spec.terminationPolicy
74
+ - key : deletionPolicy
75
+ valuePath : .spec.deletionPolicy
76
76
metricValue :
77
77
value : 1
78
78
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-mongodb
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : MongoDB
9
9
commonLabels :
10
10
- key : app
62
62
valuePath : .spec.sslMode
63
63
- key : storageType
64
64
valuePath : .spec.storageType
65
- - key : terminationPolicy
66
- valuePath : .spec.terminationPolicy
65
+ - key : deletionPolicy
66
+ valuePath : .spec.deletionPolicy
67
67
- key : version
68
68
valuePath : .spec.version
69
69
metricValue :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-mysql
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : MySQL
9
9
commonLabels :
10
10
- key : app
71
71
valuePath : .spec.useAddressType
72
72
- key : storageType
73
73
valuePath : .spec.storageType
74
- - key : terminationPolicy
75
- valuePath : .spec.terminationPolicy
74
+ - key : deletionPolicy
75
+ valuePath : .spec.deletionPolicy
76
76
- key : requireSSL
77
77
valuePath : .spec.requireSSL
78
78
metricValue :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-perconaxtradb
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : PerconaXtraDB
9
9
commonLabels :
10
10
- key : app
71
71
valuePath : .spec.requireSSL
72
72
- key : storageType
73
73
valuePath : .spec.storageType
74
- - key : terminationPolicy
75
- valuePath : .spec.terminationPolicy
74
+ - key : deletionPolicy
75
+ valuePath : .spec.deletionPolicy
76
76
metricValue :
77
77
value : 1
78
78
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-postgres
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : Postgres
9
9
commonLabels :
10
10
- key : app
71
71
valuePath : .spec.sslMode
72
72
- key : storageType
73
73
valuePath : .spec.storageType
74
- - key : terminationPolicy
75
- valuePath : .spec.terminationPolicy
74
+ - key : deletionPolicy
75
+ valuePath : .spec.deletionPolicy
76
76
- key : version
77
77
valuePath : .spec.version
78
78
- key : standby_mode
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-proxysql
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : ProxySQL
9
9
commonLabels :
10
10
- key : app
67
67
labels :
68
68
- key : version
69
69
valuePath : .spec.version
70
- - key : terminationPolicy
71
- valuePath : .spec.terminationPolicy
70
+ - key : deletionPolicy
71
+ valuePath : .spec.deletionPolicy
72
72
- key : backend
73
73
valuePath : .spec.backend.name
74
74
- key : ssl
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : kubedb-com-redis
5
5
spec :
6
6
targetRef :
7
- apiVersion : kubedb.com/v1alpha2
7
+ apiVersion : kubedb.com/v1
8
8
kind : Redis
9
9
commonLabels :
10
10
- key : app
@@ -31,16 +31,16 @@ spec:
31
31
value : 1
32
32
33
33
- name : cluster_master_nodes
34
- help : " Number of master nodes in redis cluster"
34
+ help : " Number of shards in redis cluster"
35
35
type : gauge
36
36
field :
37
- path : .spec.cluster.master
37
+ path : .spec.cluster.shards
38
38
type : Integer
39
39
metricValue :
40
- valueFromPath : .spec.cluster.master
40
+ valueFromPath : .spec.cluster.shards
41
41
42
42
- name : cluster_replicas
43
- help : " Number of replicas in redis cluster "
43
+ help : " Number of replicas for each shard "
44
44
type : gauge
45
45
field :
46
46
path : .spec.cluster.replicas
98
98
valuePath : .spec.mode
99
99
- key : storageType
100
100
valuePath : .spec.storageType
101
- - key : terminationPolicy
102
- valuePath : .spec.terminationPolicy
101
+ - key : deletionPolicy
102
+ valuePath : .spec.deletionPolicy
103
103
metricValue :
104
104
value : 1
105
105
You can’t perform that action at this time.
0 commit comments