169 lines
4.5 KiB
YAML
169 lines
4.5 KiB
YAML
# Default values for uptime-kuma.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
image:
|
|
repository: louislam/uptime-kuma
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "1.21.3-debian"
|
|
|
|
dedicatedValue: true
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: prd-infra-uptime-kuma
|
|
|
|
labels:
|
|
bu: "infra"
|
|
team: "sre"
|
|
service: "prd-infra-uptime-kuma"
|
|
env: "prd"
|
|
priority: "p0"
|
|
type: "uptime-kuma"
|
|
arch: "amd64"
|
|
runpod: "ondemand"
|
|
|
|
# If this option is set to false a StateFulset instead of a Deployment is used
|
|
useDeploy: true
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: false
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
podLabels: {}
|
|
# app: uptime-kuma
|
|
podEnv:
|
|
# a default port must be set. required by container
|
|
- name: "UPTIME_KUMA_PORT"
|
|
value: "3001"
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 3001
|
|
nodePort:
|
|
annotations: {}
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx-internal
|
|
extraLabels: {}
|
|
# vhost: uptime-kuma.company.corp
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
|
nginx.ingress.kubernetes.io/server-snippets: |
|
|
location / {
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header X-Forwarded-Host $http_host;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
hosts:
|
|
- host: prd-infra-uptime-kuma.meeshogcp.in
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
|
|
tls:
|
|
[]
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
resources:
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
nodeSelector:
|
|
dedicated: "vmselect-temp"
|
|
|
|
tolerations:
|
|
- key: "dedicated"
|
|
operator: "Equal"
|
|
value: "vmselect-temp"
|
|
effect: "NoSchedule"
|
|
|
|
affinity: {}
|
|
|
|
livenessProbe:
|
|
enabled: true
|
|
timeoutSeconds: 2
|
|
initialDelaySeconds: 15
|
|
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
|
|
volume:
|
|
enabled: true
|
|
accessMode: ReadWriteOnce
|
|
size: 13Gi
|
|
# If you want to use a storage class other than the default, uncomment this
|
|
# line and define the storage class name
|
|
# storageClassName: meesho-gp3
|
|
# Reuse your own pre-existing PVC.
|
|
existingClaim: ""
|
|
|
|
strategy:
|
|
type: Recreate
|
|
|
|
# Prometheus ServiceMonitor configuration
|
|
serviceMonitor:
|
|
enabled: false
|
|
# -- Scrape interval. If not set, the Prometheus default scrape interval is used.
|
|
interval: 60s
|
|
# -- Timeout if metrics can't be retrieved in given time interval
|
|
scrapeTimeout: 10s
|
|
# -- Scheme to use when scraping, e.g. http (default) or https.
|
|
scheme: ~
|
|
# -- TLS configuration to use when scraping, only applicable for scheme https.
|
|
tlsConfig: {}
|
|
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
|
|
relabelings: []
|
|
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
|
|
metricRelabelings: []
|
|
# -- Prometheus ServiceMonitor selector, only select Prometheus's with these
|
|
# labels (if not set, select any Prometheus)
|
|
selector: {}
|
|
|
|
# -- Namespace where the ServiceMonitor resource should be created, default is
|
|
# the same as the release namespace
|
|
namespace: ~
|
|
# -- Additional labels to add to the ServiceMonitor
|
|
additionalLabels: {}
|
|
# -- Additional annotations to add to the ServiceMonitor
|
|
annotations: {}
|