fix
This commit is contained in:
@@ -11,6 +11,7 @@ metadata:
|
||||
app.kubernetes.io/version: "10.2.3"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
# Source: grafana/templates/hpa.yaml
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: vynil-monitor
|
||||
labels:
|
||||
app.kubernetes.io/name: grafana
|
||||
helm.sh/chart: grafana-7.2.4
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/instance: grafana
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: grafana
|
||||
minReplicas: 1
|
||||
maxReplicas: 5
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
targetAverageUtilization: 60
|
||||
@@ -60,15 +60,4 @@ data "kustomization_overlay" "data" {
|
||||
value: "${var.namespace}"
|
||||
EOF
|
||||
}
|
||||
patches {
|
||||
target {
|
||||
kind = "HorizontalPodAutoscaler"
|
||||
name = "grafana"
|
||||
}
|
||||
patch = <<-EOF
|
||||
- op: replace
|
||||
path: /apiVersion
|
||||
value: "autoscaling/v2"
|
||||
EOF
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,15 +6,10 @@ metadata:
|
||||
name: grafana
|
||||
description: null
|
||||
options:
|
||||
sub-domain:
|
||||
default: grafana
|
||||
app-group:
|
||||
default: monitor
|
||||
examples:
|
||||
- grafana
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
- monitor
|
||||
type: string
|
||||
volume:
|
||||
default:
|
||||
@@ -35,21 +30,21 @@ options:
|
||||
default: 10Gi
|
||||
type: string
|
||||
type: object
|
||||
app-group:
|
||||
default: monitor
|
||||
sub-domain:
|
||||
default: grafana
|
||||
examples:
|
||||
- monitor
|
||||
- grafana
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
admin_name:
|
||||
default: grafana_admin
|
||||
examples:
|
||||
- grafana_admin
|
||||
type: string
|
||||
images:
|
||||
default:
|
||||
busybox:
|
||||
@@ -147,16 +142,21 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
admin_name:
|
||||
default: grafana_admin
|
||||
examples:
|
||||
- grafana_admin
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
dependencies: []
|
||||
providers:
|
||||
kubernetes: true
|
||||
|
||||
Reference in New Issue
Block a user