diff --git a/charts/warpstream/Chart.yaml b/charts/warpstream/Chart.yaml new file mode 100644 index 00000000..9ec6f99d --- /dev/null +++ b/charts/warpstream/Chart.yaml @@ -0,0 +1,15 @@ +apiVersion: v2 +name: warpstream +description: A Helm chart for WarpStream - a cloud-native, Kafka-compatible streaming platform +type: application +version: 0.0.1 +appVersion: "v694" +home: https://www.warpstream.com/ +maintainers: + - name: zopdev + url: https://zop.dev + - name: warpstream + url: https://www.warpstream.com +annotations: + # REQUIRED: zop.dev integration annotation + type: "application" diff --git a/charts/warpstream/templates/NOTES.txt b/charts/warpstream/templates/NOTES.txt new file mode 100644 index 00000000..8c6de011 --- /dev/null +++ b/charts/warpstream/templates/NOTES.txt @@ -0,0 +1,32 @@ +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range $host := .Values.ingress.hosts }} + {{- range .paths }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} + {{- end }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "warpstream.fullname" . }}) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo "Kafka endpoint: $NODE_IP:$NODE_PORT" +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "warpstream.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "warpstream.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") + echo "Kafka endpoint: $SERVICE_IP:{{ .Values.service.port }}" +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "warpstream.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") + echo "Visit http://127.0.0.1:9092 to use your WarpStream cluster" + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 9092:$CONTAINER_PORT +{{- end }} + +2. Connect your Kafka clients to: + Bootstrap servers: {{ include "warpstream.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }} + +3. Monitor your WarpStream cluster: + Metrics endpoint: {{ include "warpstream.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.metricsPort }} + +4. Schema Registry endpoint: + {{ include "warpstream.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.schemaRegistryPort }} + \ No newline at end of file diff --git a/charts/warpstream/templates/_helper.tpl b/charts/warpstream/templates/_helper.tpl new file mode 100644 index 00000000..0f8d6e75 --- /dev/null +++ b/charts/warpstream/templates/_helper.tpl @@ -0,0 +1,83 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "warpstream.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +*/}} +{{- define "warpstream.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "warpstream.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "warpstream.labels" -}} +helm.sh/chart: {{ include "warpstream.chart" . }} +{{ include "warpstream.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "warpstream.selectorLabels" -}} +app.kubernetes.io/name: {{ include "warpstream.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "warpstream.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "warpstream.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +WarpStream agent arguments +*/}} +{{- define "warpstream.args" -}} +- "agent" +{{- if .Values.warpstream.agent.virtualClusterId }} +- "-defaultVirtualClusterID" +- {{ .Values.warpstream.agent.virtualClusterId | quote }} +{{- end }} +- "-region" +- {{ .Values.warpstream.agent.region | quote }} +- "-roles" +- {{ join "," .Values.warpstream.agent.roles | quote }} +{{- if .Values.warpstream.agent.agentPoolId }} +- "-agentPoolID" +- {{ .Values.warpstream.agent.agentPoolId | quote }} +{{- end }} +{{- if .Values.warpstream.storage.bucketURL }} +- "-bucketURL" +- {{ .Values.warpstream.storage.bucketURL | quote }} +{{- end }} +{{- end }} diff --git a/charts/warpstream/templates/alerts.yaml b/charts/warpstream/templates/alerts.yaml new file mode 100644 index 00000000..6e43492b --- /dev/null +++ b/charts/warpstream/templates/alerts.yaml @@ -0,0 +1,40 @@ +{{- if .Values.monitoring.alerts.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "warpstream.fullname" . }}-alerts + labels: + {{- include "warpstream.labels" . | nindent 4 }} + grafana_alert: "1" +data: + warpstream-alerts.yaml: | + groups: + - name: warpstream + rules: + - alert: WarpStreamDown + expr: up{job="{{ include "warpstream.fullname" . }}"} == 0 + for: 2m + labels: + severity: critical + annotations: + summary: "WarpStream agent is down" + description: "WarpStream agent {{ "{{ $labels.instance }}" }} has been down for more than 2 minutes." + + - alert: WarpStreamHighMemoryUsage + expr: (container_memory_usage_bytes{pod=~"{{ include "warpstream.fullname" . }}.*"} / container_spec_memory_limit_bytes) > 0.85 + for: 5m + labels: + severity: warning + annotations: + summary: "WarpStream agent high memory usage" + description: "WarpStream agent {{ "{{ $labels.pod }}" }} memory usage is above 85%." + + - alert: WarpStreamHighCPUUsage + expr: (rate(container_cpu_usage_seconds_total{pod=~"{{ include "warpstream.fullname" . }}.*"}[5m]) / container_spec_cpu_quota * container_spec_cpu_period) > 0.85 + for: 5m + labels: + severity: warning + annotations: + summary: "WarpStream agent high CPU usage" + description: "WarpStream agent {{ "{{ $labels.pod }}" }} CPU usage is above 85%." +{{- end }} diff --git a/charts/warpstream/templates/deployment.yaml b/charts/warpstream/templates/deployment.yaml new file mode 100644 index 00000000..71c427ed --- /dev/null +++ b/charts/warpstream/templates/deployment.yaml @@ -0,0 +1,116 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + {{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} + {{- end }} + selector: + matchLabels: + {{- include "warpstream.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "warpstream.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "warpstream.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- range . }} + - maxSkew: {{ .maxSkew }} + topologyKey: {{ .topologyKey }} + whenUnsatisfiable: {{ .whenUnsatisfiable }} + labelSelector: + matchLabels: + {{- include "warpstream.selectorLabels" $ | nindent 14 }} + {{- end }} + {{- end }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + args: + {{- include "warpstream.args" . | nindent 12 }} + ports: + - name: kafka + containerPort: 9092 + protocol: TCP + - name: metrics + containerPort: 8080 + protocol: TCP + - name: schema-registry + containerPort: 9094 + protocol: TCP + env: + - name: WARPSTREAM_API_KEY + valueFrom: + secretKeyRef: + name: {{ include "warpstream.fullname" . }}-secret + key: api-key + - name: WARPSTREAM_LOG_LEVEL + value: {{ .Values.warpstream.agent.logLevel | quote }} + {{- if .Values.warpstream.agent.availabilityZone }} + - name: WARPSTREAM_AVAILABILITY_ZONE + value: {{ .Values.warpstream.agent.availabilityZone | quote }} + {{- end }} + {{- if .Values.warpstream.performance.gomaxprocs }} + - name: GOMAXPROCS + value: {{ .Values.warpstream.performance.gomaxprocs | quote }} + {{- end }} + {{- range .Values.warpstream.extraEnvVars }} + - name: {{ .name }} + value: {{ .value | quote }} + {{- end }} + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 30 + periodSeconds: 30 + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- if .Values.persistence.enabled }} + volumeMounts: + - name: data + mountPath: /tmp/warpstream + {{- end }} + {{- if .Values.persistence.enabled }} + volumes: + - name: data + persistentVolumeClaim: + claimName: {{ include "warpstream.fullname" . }}-pvc + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + \ No newline at end of file diff --git a/charts/warpstream/templates/hpa.yaml b/charts/warpstream/templates/hpa.yaml new file mode 100644 index 00000000..6467323a --- /dev/null +++ b/charts/warpstream/templates/hpa.yaml @@ -0,0 +1,32 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "warpstream.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- end }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + target: + type: Utilization + averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- end }} +{{- end }} diff --git a/charts/warpstream/templates/poddisruptionbudget.yaml b/charts/warpstream/templates/poddisruptionbudget.yaml new file mode 100644 index 00000000..0664799a --- /dev/null +++ b/charts/warpstream/templates/poddisruptionbudget.yaml @@ -0,0 +1,18 @@ +{{- if .Values.podDisruptionBudget.enabled }} +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + {{- if .Values.podDisruptionBudget.minAvailable }} + minAvailable: {{ .Values.podDisruptionBudget.minAvailable }} + {{- end }} + {{- if .Values.podDisruptionBudget.maxUnavailable }} + maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} + {{- end }} + selector: + matchLabels: + {{- include "warpstream.selectorLabels" . | nindent 6 }} +{{- end }} diff --git a/charts/warpstream/templates/pvc.yaml b/charts/warpstream/templates/pvc.yaml new file mode 100644 index 00000000..76255eb2 --- /dev/null +++ b/charts/warpstream/templates/pvc.yaml @@ -0,0 +1,17 @@ +{{- if .Values.persistence.enabled }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "warpstream.fullname" . }}-pvc + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + accessModes: + - {{ .Values.persistence.accessMode }} + resources: + requests: + storage: {{ .Values.persistence.size }} + {{- if .Values.persistence.storageClass }} + storageClassName: {{ .Values.persistence.storageClass }} + {{- end }} +{{- end }} diff --git a/charts/warpstream/templates/rbac.yaml b/charts/warpstream/templates/rbac.yaml new file mode 100644 index 00000000..e7434dcb --- /dev/null +++ b/charts/warpstream/templates/rbac.yaml @@ -0,0 +1,27 @@ +{{- if .Values.rbac.create -}} +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +rules: +- apiGroups: [""] + resources: ["nodes"] + verbs: ["get", "list"] +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ include "warpstream.fullname" . }} +subjects: +- kind: ServiceAccount + name: {{ include "warpstream.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{- end }} diff --git a/charts/warpstream/templates/secret.yaml b/charts/warpstream/templates/secret.yaml new file mode 100644 index 00000000..2c0a0662 --- /dev/null +++ b/charts/warpstream/templates/secret.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "warpstream.fullname" . }}-secret + labels: + {{- include "warpstream.labels" . | nindent 4 }} +type: Opaque +data: + {{- if .Values.warpstream.agent.apiKey }} + api-key: {{ .Values.warpstream.agent.apiKey | b64enc }} + {{- else }} + api-key: {{ "placeholder-key" | b64enc }} + {{- end }} + \ No newline at end of file diff --git a/charts/warpstream/templates/service.yaml b/charts/warpstream/templates/service.yaml new file mode 100644 index 00000000..a91d2aea --- /dev/null +++ b/charts/warpstream/templates/service.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "warpstream.fullname" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: kafka + protocol: TCP + name: kafka + - port: {{ .Values.service.metricsPort }} + targetPort: metrics + protocol: TCP + name: metrics + - port: {{ .Values.service.schemaRegistryPort }} + targetPort: schema-registry + protocol: TCP + name: schema-registry + selector: + {{- include "warpstream.selectorLabels" . | nindent 4 }} + \ No newline at end of file diff --git a/charts/warpstream/templates/serviceMonitor.yaml b/charts/warpstream/templates/serviceMonitor.yaml new file mode 100644 index 00000000..e1d2b7f3 --- /dev/null +++ b/charts/warpstream/templates/serviceMonitor.yaml @@ -0,0 +1,20 @@ +{{- if .Values.monitoring.serviceMonitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ include "warpstream.fullname" . }} + {{- if .Values.monitoring.serviceMonitor.namespace }} + namespace: {{ .Values.monitoring.serviceMonitor.namespace }} + {{- end }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "warpstream.selectorLabels" . | nindent 6 }} + endpoints: + - port: {{ .Values.monitoring.serviceMonitor.port }} + interval: {{ .Values.monitoring.serviceMonitor.interval }} + scrapeTimeout: {{ .Values.monitoring.serviceMonitor.scrapeTimeout }} + path: {{ .Values.monitoring.serviceMonitor.path }} +{{- end }} diff --git a/charts/warpstream/templates/serviceaccount.yaml b/charts/warpstream/templates/serviceaccount.yaml new file mode 100644 index 00000000..666703df --- /dev/null +++ b/charts/warpstream/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "warpstream.serviceAccountName" . }} + labels: + {{- include "warpstream.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/charts/warpstream/values.schema.json b/charts/warpstream/values.schema.json new file mode 100644 index 00000000..fe0dc43d --- /dev/null +++ b/charts/warpstream/values.schema.json @@ -0,0 +1,99 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "image": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "mutable": true, + "description": "WarpStream agent Docker image tag" + } + } + }, + "replicaCount": { + "type": "integer", + "minimum": 1, + "mutable": true, + "description": "Number of WarpStream agent replicas" + }, + "resources": { + "type": "object", + "properties": { + "requests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "default": "500m", + "mutable": true + }, + "memory": { + "type": "string", + "default": "1Gi", + "mutable": true + } + } + }, + "limits": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "default": "1000m", + "mutable": true + }, + "memory": { + "type": "string", + "default": "2Gi", + "mutable": true + } + } + } + }, + "mutable": true, + "description": "Resource limits and requests" + }, + "warpstream": { + "type": "object", + "properties": { + "agent": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "mutable": true, + "description": "WarpStream API key (required)" + }, + "virtualClusterId": { + "type": "string", + "mutable": true, + "description": "Virtual cluster ID (required)" + }, + "region": { + "type": "string", + "mutable": true, + "description": "Cluster region" + } + } + } + }, + "mutable": true, + "description": "WarpStream specific configurations" + }, + "services": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"] + } + } + }, + "required": ["warpstream", "services"] +} diff --git a/charts/warpstream/values.yaml b/charts/warpstream/values.yaml new file mode 100644 index 00000000..80862d24 --- /dev/null +++ b/charts/warpstream/values.yaml @@ -0,0 +1,169 @@ +# Default configuration for WarpStream +replicaCount: 1 + +image: + # Official WarpStream Docker image from Amazon ECR + repository: public.ecr.aws/warpstream-labs/warpstream_agent + pullPolicy: IfNotPresent + tag: "v694" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + name: "" + +podAnnotations: {} + +podSecurityContext: + fsGroup: 2000 + +securityContext: + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsNonRoot: true + runAsUser: 1000 + +service: + type: ClusterIP + # Kafka protocol port + port: 9092 + # Metrics port + metricsPort: 8080 + # Schema Registry port + schemaRegistryPort: 9094 + +resources: + limits: + cpu: 1000m + memory: 2Gi + requests: + cpu: 500m + memory: 1Gi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 10 + targetCPUUtilizationPercentage: 80 + targetMemoryUtilizationPercentage: 80 + +nodeSelector: {} + +tolerations: [] + +affinity: + # Spread across availability zones + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - warpstream + topologyKey: topology.kubernetes.io/zone + +# Topology spread constraints for better distribution +topologySpreadConstraints: + - maxSkew: 1 + topologyKey: topology.kubernetes.io/zone + whenUnsatisfiable: DoNotSchedule + labelSelector: + matchLabels: + app.kubernetes.io/name: warpstream + +# WarpStream specific configuration +warpstream: + # Agent configuration + agent: + # WarpStream API key (required) - will be stored in secret + apiKey: "" + # Virtual cluster ID (required) + virtualClusterId: "" + # Agent Pool ID (optional) + agentPoolId: "" + # Cluster region (required) + region: "us-east-1" + # Log level: debug, info, warn, error, analytics + logLevel: "info" + # Agent roles: Valid roles are proxy, jobs, proxy-produce, proxy-consume, pipelines + # proxy: handles all Kafka requests (produce, consume, metadata) + # jobs: required for background tasks (compaction, cleanup) + roles: + - "proxy" + - "jobs" + # Availability zone (auto-detected if not set) + availabilityZone: "" + + # Object storage configuration + storage: + # Bucket URL for S3-compatible storage (required for production) + # For development/testing, use: "mem://dev-bucket" + # For production, use: "s3://bucket-name?region=us-east-1" + bucketURL: "" + + # Performance tuning + performance: + # GOMAXPROCS setting (should match CPU limit) + gomaxprocs: "" + + # Additional environment variables + extraEnvVars: [] + # - name: CUSTOM_VAR + # value: "custom_value" + +# Kubernetes RBAC for availability zone detection +rbac: + # Specifies whether RBAC resources should be created + create: true + +# Pod Disruption Budget +podDisruptionBudget: + enabled: true + minAvailable: 1 + +# Monitoring configuration (following zopdev patterns) +monitoring: + enabled: true + serviceMonitor: + enabled: true + namespace: "" + interval: 30s + scrapeTimeout: 10s + path: /metrics + port: metrics + # Prometheus alerts + alerts: + enabled: true + +# Ingress configuration +ingress: + enabled: false + className: "" + annotations: {} + hosts: + - host: warpstream.local + paths: + - path: / + pathType: Prefix + tls: [] + +# Persistence for temporary data +persistence: + enabled: false + accessMode: ReadWriteOnce + size: 8Gi + storageClass: "" + +services: [] \ No newline at end of file