Skip to content

Commit 2887489

Browse files
authored
chore(addons): add plans for pmm grafana prometheus
1 parent 57fc827 commit 2887489

19 files changed

Lines changed: 219 additions & 39 deletions

File tree

addons/grafana/10/plans/standard-1c1g5/values.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
##
33
fullnameOverride: hb-grafana-standard-5
44

5-
resources:
6-
limits:
7-
cpu: 1000m
8-
memory: 1024Mi
9-
requests:
10-
cpu: 1000m
11-
memory: 1024Mi
5+
grafana:
6+
resources:
7+
limits:
8+
cpu: 1000m
9+
memory: 1Gi
10+
requests:
11+
cpu: 1000m
12+
memory: 1Gi
1213

1314
persistence:
1415
size: 5Gi
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
## @param fullnameOverride String to fully override common.names.fullname template
22
##
33
fullnameOverride: hb-grafana-standard-10
4-
5-
resources:
6-
limits:
7-
cpu: 2000m
8-
memory: 4Gi
9-
requests:
10-
cpu: 2000m
11-
memory: 4Gi
4+
grafana:
5+
resources:
6+
limits:
7+
cpu: 2000m
8+
memory: 4Gi
9+
requests:
10+
cpu: 2000m
11+
memory: 4Gi
1212

1313
persistence:
1414
size: 10Gi

addons/grafana/10/plans/standard-4c8g15/values.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
##
33
fullnameOverride: hb-grafana-standard-15
44

5-
resources:
6-
limits:
7-
cpu: 4000m
8-
memory: 8Gi
9-
requests:
10-
cpu: 4000m
11-
memory: 8Gi
5+
grafana:
6+
resources:
7+
limits:
8+
cpu: 4000m
9+
memory: 8Gi
10+
requests:
11+
cpu: 4000m
12+
memory: 8Gi
1213

1314
persistence:
1415
size: 15Gi

addons/pmm/2.41/plans/standard-2c2g10/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## @param fullnameOverride String to fully override common.names.fullname template
22
##
3-
fullnameOverride: pmm-standard-10
3+
fullnameOverride: pmm-standard-2c2g10
44

55
## MinIO® containers' resource requests and limits
66
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
@@ -13,12 +13,12 @@ fullnameOverride: pmm-standard-10
1313
##
1414
pmmResources:
1515
requests:
16-
memory: "4Gi"
17-
cpu: "4"
16+
memory: "2Gi"
17+
cpu: "2"
1818
hugepages-2Mi: 4Mi
1919
limits:
20-
memory: "4Gi"
21-
cpu: "4"
20+
memory: "2Gi"
21+
cpu: "2"
2222
hugepages-2Mi: 4Mi
2323

2424
## @section Persistence parameters
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
credential:
2+
{{- if (eq .Values.service.type "LoadBalancer") }}
3+
- name: EXTRANET_HOST
4+
valueFrom:
5+
serviceRef:
6+
name: {{ include "pmm.fullname" . }}
7+
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8+
{{- end }}
9+
- name: HOST
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "pmm.fullname" . }}
13+
jsonpath: '{ .spec.clusterIP }'
14+
- name: PORT
15+
value: 80

addons/pmm/2.41/plans/standard-2c2g10/create-instance-schema.json~merged renamed to addons/pmm/2.41/plans/standard-4c8g100/create-instance-schema.json

File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: "standard-4c8g100"
2+
id: f0056f40-4cf2-40f1-935c-9d7f6f98ea72
3+
description: "pmm standard-4c8g100G"
4+
displayName: "standard-4c8g100"
5+
bindable: true
6+
maximum_polling_duration: 1800
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## @param fullnameOverride String to fully override common.names.fullname template
2+
##
3+
fullnameOverride: pmm-standard-4c8g100
4+
5+
## MinIO® containers' resource requests and limits
6+
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
7+
## We usually recommend not to specify default resources and to leave this as a conscious
8+
## choice for the user. This also increases chances charts run on environments with little
9+
## resources, such as Minikube. If you do want to specify resources, uncomment the following
10+
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
11+
## @param resources.limits The resources limits for the MinIO® container
12+
## @param resources.requests The requested resources for the MinIO® container
13+
##
14+
pmmResources:
15+
requests:
16+
memory: "8Gi"
17+
cpu: "4"
18+
hugepages-2Mi: 4Mi
19+
limits:
20+
memory: "8Gi"
21+
cpu: "4"
22+
hugepages-2Mi: 4Mi
23+
24+
## @section Persistence parameters
25+
26+
## Enable persistence using Persistent Volume Claims
27+
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
28+
##
29+
storage:
30+
size: 100Gi
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
credential:
2+
{{- if (eq .Values.service.type "LoadBalancer") }}
3+
- name: EXTRANET_HOST
4+
valueFrom:
5+
serviceRef:
6+
name: {{ include "pmm.fullname" . }}
7+
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8+
{{- end }}
9+
- name: HOST
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "pmm.fullname" . }}
13+
jsonpath: '{ .spec.clusterIP }'
14+
- name: PORT
15+
value: 80
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"type": "object",
4+
"properties": {
5+
"imagePullPolicy": {
6+
"type": "string",
7+
"enum": ["Always", "IfNotPresent", "Never"],
8+
"default": "IfNotPresent",
9+
"title": "Image pull policy"
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)