72 lines
1.8 KiB
YAML
72 lines
1.8 KiB
YAML
## We use this chisel exit node to save money.
|
|
## The exit node is a VPS which cost $5 a month and can handle ingress for multiple services.
|
|
## If we used VKE ingress, it would be $10 a month and it's only good for one service.
|
|
## chisel on this budget VPS is only useful for low-traffic admin tools.
|
|
## For visitor facing production workloads, we pay for the good stuff.
|
|
---
|
|
apiVersion: chisel-operator.io/v2
|
|
kind: ExitNode
|
|
metadata:
|
|
name: grafana-exit-node
|
|
namespace: futureporn
|
|
spec:
|
|
host: "155.138.254.201"
|
|
port: 9090
|
|
auth: chisel
|
|
|
|
---
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: HelmRepository
|
|
metadata:
|
|
name: prometheus-community
|
|
namespace: futureporn
|
|
spec:
|
|
interval: 24h
|
|
url: https://prometheus-community.github.io/helm-charts
|
|
|
|
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: prometheus
|
|
namespace: futureporn
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: kube-prometheus-stack
|
|
version: "60.3.0"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: prometheus-community
|
|
namespace: futureporn
|
|
interval: 12h
|
|
values:
|
|
prometheus:
|
|
prometheusSpec:
|
|
storageSpec:
|
|
volumeClaimTemplate:
|
|
spec:
|
|
storageClassName: vultr-block-storage-hdd
|
|
resources:
|
|
requests:
|
|
storage: 40Gi
|
|
grafana:
|
|
service:
|
|
|
|
annotations:
|
|
# chisel-operator.io/exit-node-name: "grafana-exit-node"
|
|
|
|
admin:
|
|
existingSecret: grafana
|
|
sidecar:
|
|
dashboards:
|
|
enabled: true
|
|
defaultFolderName: "General"
|
|
label: grafana_dashboard
|
|
labelValue: "1"
|
|
folderAnnotation: grafana_folder
|
|
searchNamespace: ALL
|
|
provider:
|
|
foldersFromFilesStructure: true
|