Skip to content

Commit 455dc68

Browse files
committed
chore(grafana): add plans
1 parent 889d8ec commit 455dc68

9 files changed

Lines changed: 98 additions & 0 deletions

File tree

File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
credential:
2+
{{- if (eq .Values.service.type "LoadBalancer") }}
3+
- name: EXTRANET_HOST
4+
valueFrom:
5+
serviceRef:
6+
name: {{ include "common.names.fullname" . }}
7+
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8+
{{- end }}
9+
- name: HOST
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "common.names.fullname" . }}
13+
jsonpath: '{ .spec.clusterIP }'
14+
- name: PASSWORD
15+
valueFrom:
16+
secretKeyRef:
17+
name: {{ include "common.names.fullname" . }}-admin
18+
jsonpath: '{ .data.GF_SECURITY_ADMIN_PASSWORD }'
19+
- name: USERNAME
20+
valueFrom:
21+
secretKeyRef:
22+
name: {{ include "common.names.fullname" . }}-admin
23+
jsonpath: '{ .data.GF_SECURITY_ADMIN_USER }'
24+
- name: PORT
25+
valueFrom:
26+
serviceRef:
27+
name: {{ include "common.names.fullname" . }}
28+
jsonpath: '{ .spec.ports[?(@.name=="http")].port }'
29+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: "standard-2c4g10"
2+
id: 837227d2-1522-45b9-abfe-7b631bd3bc91
3+
description: "grafana plan standard-2c4g10 which limit 2c4g ,default persistence size 10Gi."
4+
displayName: "2c4g10"
5+
bindable: true
6+
maximum_polling_duration: 1800
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## @param fullnameOverride String to fully override common.names.fullname template
2+
##
3+
fullnameOverride: hb-grafana-standard-10
4+
5+
resources:
6+
limits:
7+
cpu: 2000m
8+
memory: 4Gi
9+
requests:
10+
cpu: 2000m
11+
memory: 4Gi
12+
13+
persistence:
14+
size: 10Gi
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
credential:
2+
{{- if (eq .Values.service.type "LoadBalancer") }}
3+
- name: EXTRANET_HOST
4+
valueFrom:
5+
serviceRef:
6+
name: {{ include "common.names.fullname" . }}
7+
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
8+
{{- end }}
9+
- name: HOST
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "common.names.fullname" . }}
13+
jsonpath: '{ .spec.clusterIP }'
14+
- name: PASSWORD
15+
valueFrom:
16+
secretKeyRef:
17+
name: {{ include "common.names.fullname" . }}-admin
18+
jsonpath: '{ .data.GF_SECURITY_ADMIN_PASSWORD }'
19+
- name: USERNAME
20+
valueFrom:
21+
secretKeyRef:
22+
name: {{ include "common.names.fullname" . }}-admin
23+
jsonpath: '{ .data.GF_SECURITY_ADMIN_USER }'
24+
- name: PORT
25+
valueFrom:
26+
serviceRef:
27+
name: {{ include "common.names.fullname" . }}
28+
jsonpath: '{ .spec.ports[?(@.name=="http")].port }'
29+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: "standard-4c8g15"
2+
id: bb2f6e62-b279-40a4-967b-20aa5c12e770
3+
description: "grafana plan standard-4c8g15 which limit 4c8g ,default persistence size 15Gi."
4+
displayName: "4c8g15"
5+
bindable: true
6+
maximum_polling_duration: 1800
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## @param fullnameOverride String to fully override common.names.fullname template
2+
##
3+
fullnameOverride: hb-grafana-standard-15
4+
5+
resources:
6+
limits:
7+
cpu: 4000m
8+
memory: 8Gi
9+
requests:
10+
cpu: 4000m
11+
memory: 8Gi
12+
13+
persistence:
14+
size: 15Gi

0 commit comments

Comments
 (0)