Repository navigation
Expand file tree
/
Copy pathvalues.yaml
More file actions
95 lines (92 loc) · 3.25 KB
/
Copy pathvalues.yaml
File metadata and controls
95 lines (92 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# ClickStack with AWS ALB Ingress
#
# This example deploys ClickStack with an AWS Application Load Balancer
# using the chart's passthrough ingress pattern. Annotations and spec are
# passed through directly, so any ALB-specific configuration is supported.
#
# Prerequisites:
# - AWS Load Balancer Controller installed in the cluster
# https://kubernetes-sigs.github.io/aws-load-balancer-controller/
# - ACM certificate provisioned for your domain
# - Subnets tagged for ALB auto-discovery (or specify them explicitly)
#
# Usage:
# helm install my-clickstack clickstack/clickstack -f values.yaml
# # From repo root:
# # helm install my-clickstack clickstack/clickstack -f examples/alb-ingress/values.yaml
#
# Customize the values below for your environment:
# - Replace certificate-arn with your ACM certificate ARN
# - Replace clickstack.example.com with your domain
# - Adjust ALB annotations as needed (scheme, target-type, etc.)
hyperdx:
ingress:
enabled: true
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:us-east-1:123456789:certificate/your-cert-id"
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/group.name: clickstack
alb.ingress.kubernetes.io/healthcheck-path: /api/health
alb.ingress.kubernetes.io/healthcheck-interval-seconds: "15"
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: "5"
alb.ingress.kubernetes.io/healthy-threshold-count: "2"
alb.ingress.kubernetes.io/unhealthy-threshold-count: "3"
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=3600
spec:
ingressClassName: alb
rules:
- host: clickstack.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: '{{ include "clickstack.hyperdx.fullname" . }}'
port:
name: app
additionalIngresses:
- name: otel-collector
annotations:
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/group.name: clickstack-otel
alb.ingress.kubernetes.io/healthcheck-path: /
alb.ingress.kubernetes.io/healthcheck-port: "13133"
ingressClassName: alb
hosts:
- host: otel.internal.example.com
paths:
- path: /
pathType: Prefix
port: 4318
deployment:
replicas: 2
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: "2"
memory: 2Gi
autoscaling:
enabled: true
spec:
minReplicas: 2
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 75
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 80