Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions helm/templates/ingestor-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ spec:
{{- end }}
- name: P_MODE
value: "ingest"
{{- if .Values.parseable.kafkaConnector.enabled }}
{{- range $key, $value := .Values.parseable.kafkaConnector.env }}
- name: {{ $key }}
value: {{ tpl $value $ | quote }}
{{- end }}
{{- end }}

ports:
- containerPort: {{ .Values.parseable.highAvailability.ingestor.port }}
{{- with .Values.readinessProbe }}
Expand Down
11 changes: 10 additions & 1 deletion helm/templates/standalone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
imagePullPolicy: {{ .Values.parseable.image.pullPolicy }}
# Uncomment to debug
# command: [ "/bin/sh", "-c", "sleep 1000000" ]
args: ["/usr/bin/parseable", {{ if eq .Values.parseable.store "gcs-store" }}"s3-store"{{ else }}{{ .Values.parseable.store | quote }}{{ end }}]
args: [ "/usr/bin/parseable", {{ if eq .Values.parseable.store "gcs-store" }}"s3-store"{{ else }}{{ .Values.parseable.store | quote }}{{ end }}]
env:
- name: HOSTNAME
valueFrom:
Expand Down Expand Up @@ -70,6 +70,13 @@ spec:
value: {{ .Values.parseable.auditLogging.p_password | quote }}
{{- end }}

{{- if .Values.parseable.kafkaConnector.enabled }}
{{- range $key, $value := .Values.parseable.kafkaConnector.env }}
- name: {{ $key }}
value: {{ tpl $value $ | quote }}
{{- end }}
{{- end }}

{{- if and .Values.parseable.s3ModeSecret .Values.parseable.s3ModeSecret.enabled }}
{{- range $secret := .Values.parseable.s3ModeSecret.secrets }}
{{- range $key := $secret.keys }}
Expand Down Expand Up @@ -111,6 +118,8 @@ spec:
{{- end }}
{{- end }}
{{- end }}


ports:
- containerPort: 8000
{{- with .Values.readinessProbe }}
Expand Down
138 changes: 99 additions & 39 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ parseable:
## Please note that highAvailability is not supported in local mode
highAvailability:
enabled: false
ingestor:
affinity: {}
ingestor:
affinity: { }
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchLabels:
# app: parseable
# component: ingestor
# topologyKey: kubernetes.io/hostname
# component: ingestor
# topologyKey: kubernetes.io/hostname
port: 8000
extraLabels:
app: parseable
podAnnotations: {}
nodeSelector: {}
tolerations: []
podAnnotations: { }
nodeSelector: { }
tolerations: [ ]
labels:
app: parseable
component: ingestor
count: 3
env:
env:
RUST_LOG: warn
## Use this endpoint to send events to ingestors
## Console (UI) is available on the other service (that points to the query pod)
Expand Down Expand Up @@ -85,8 +85,8 @@ parseable:
storageClass: ""
accessMode: ReadWriteOnce
size: 5Gi
## enabling the disk on querier adds the hot-tier.
## local-store is not supported on hot-tier.
## enabling the disk on querier adds the hot-tier.
## local-store is not supported on hot-tier.
querier:
enabled: false
storageClass: ""
Expand Down Expand Up @@ -155,16 +155,16 @@ parseable:
serviceAccount:
create: true
name: "parseable"
annotations: {}
nodeSelector: {}
annotations: { }
nodeSelector: { }
service:
type: ClusterIP
port: 80
readinessProbe:
httpGet:
path: /api/v1/readiness
port: 8000
toleration: []
toleration: [ ]
resources:
limits:
cpu: 500m
Expand All @@ -181,9 +181,9 @@ parseable:
repository: busybox
tag: latest
pullPolicy: IfNotPresent
command: []
args: []
env:
command: [ ]
args: [ ]
env:
RUST_LOG: warn
ports: 8000
volumeMounts:
Expand Down Expand Up @@ -217,39 +217,99 @@ parseable:
fsGroupChangePolicy: "Always"
nameOverride: ""
fullnameOverride: ""
nodeSelector: {}
affinity: {}
affinity: { }
podLabels:
app: parseable
component: query
tolerations: []
tolerations: [ ]
## Use this section to create ServiceMonitor object for
## this Parseable deployment. Read more on ServiceMonitor
## here: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.ServiceMonitor
metrics:
serviceMonitor:
enabled: false
labels: {}
labels: { }
namespace: ""
spec:
jobLabel: ""
targetLabels: []
podTargetLabels: []
endpoints: []
selector: {}
namespaceSelector: {}
targetLabels: [ ]
podTargetLabels: [ ]
endpoints: [ ]
selector: { }
namespaceSelector: { }
sampleLimit: 0
scrapeProtocols: []
scrapeProtocols: [ ]
targetLimit: 0
labelLimit: 0
labelNameLengthLimit: 0
labelValueLengthLimit: 0
keepDroppedTargets: 0
attachMetadata: {}
attachMetadata: { }
scrapeClass: ""
bodySizeLimit: {}
bodySizeLimit: { }
kafkaConnector:
enabled: false
env:
# General Kafka Configuration
P_KAFKA_BOOTSTRAP_SERVERS: "my-kafka.kafka.svc.cluster.local:9092" # Comma-separated list of Kafka bootstrap servers
P_KAFKA_PARTITION_LISTENER_CONCURRENCY: "2" # Number of parallel threads for Kafka partition listeners
P_KAFKA_CONSUMER_TOPICS: "test-log-stream-0,test-log-stream-1"
# P_KAFKA_CLIENT_ID: "parseable-connect" # Client ID for Kafka connection
# P_CONNECTOR_BAD_DATA_POLICY: "fail" # Default Policy for handling bad data

# Consumer Configurations. These config are Default Parseable KafkaConnector configs. Change only if necessary.
# P_KAFKA_CONSUMER_GROUP_ID: "parseable-connect-cg"
# P_KAFKA_CONSUMER_BUFFER_SIZE: "10000"
# P_KAFKA_CONSUMER_BUFFER_TIMEOUT: "10000ms"
# P_KAFKA_CONSUMER_SESSION_TIMEOUT: "60000"
# P_KAFKA_CONSUMER_HEARTBEAT_INTERVAL: "3000"
# P_KAFKA_CONSUMER_PARTITION_STRATEGY: "roundrobin,range"
# P_KAFKA_CONSUMER_MAX_POLL_INTERVAL: "300000"
# P_KAFKA_CONSUMER_ENABLE_AUTO_OFFSET_STORE: "true"
# P_KAFKA_CONSUMER_AUTO_OFFSET_RESET: "earliest"
# P_KAFKA_CONSUMER_FETCH_MIN_BYTES: "1"
# P_KAFKA_CONSUMER_FETCH_MAX_BYTES: "52428800"
# P_KAFKA_CONSUMER_FETCH_MAX_WAIT: "500"
# P_KAFKA_CONSUMER_MAX_PARTITION_FETCH_BYTES: "1048576"
# P_KAFKA_CONSUMER_QUEUED_MIN_MESSAGES: "100000"
# P_KAFKA_CONSUMER_QUEUED_MAX_MESSAGES_KBYTES: "65536"
# P_KAFKA_CONSUMER_ENABLE_PARTITION_EOF: "false"
# P_KAFKA_CONSUMER_CHECK_CRCS: "false"
# P_KAFKA_CONSUMER_ISOLATION_LEVEL: "read_committed"
# P_KAFKA_CONSUMER_FETCH_MESSAGE_MAX_BYTES: "1048576"
# P_KAFKA_CONSUMER_STATS_INTERVAL: "10000"

# Security Configuration Options - By Default PLAINTEXT

# Option 1: SSL Encryption Only
# P_KAFKA_SECURITY_PROTOCOL: "SSL"
# P_KAFKA_SSL_CA_LOCATION: "/etc/ssl/certs/ca-certificates.crt"
# P_KAFKA_SSL_CERTIFICATE_LOCATION: "/etc/ssl/certs/client-cert.pem"
# P_KAFKA_SSL_KEY_LOCATION: "/etc/ssl/private/client-key.pem"
# P_KAFKA_SSL_KEY_PASSWORD: "my-key-password" # Optional: only if key is password protected

# Option 2: SASL Authentication with SSL Encryption
# P_KAFKA_SECURITY_PROTOCOL: "SASL_SSL"
# P_KAFKA_SSL_CA_LOCATION: "/etc/ssl/certs/ca-certificates.crt"
# P_KAFKA_SASL_MECHANISM: "SCRAM-SHA-512" # Can also be PLAIN, SCRAM-SHA-256, or GSSAPI
# P_KAFKA_SASL_USERNAME: "kafka-user"
# P_KAFKA_SASL_PASSWORD: "kafka-password"

# Option 3: SASL Authentication without Encryption
# P_KAFKA_SECURITY_PROTOCOL: "SASL_PLAINTEXT"
# P_KAFKA_SASL_MECHANISM: "PLAIN" # Can also be SCRAM-SHA-256, SCRAM-SHA-512, or GSSAPI
# P_KAFKA_SASL_USERNAME: "kafka-user"
# P_KAFKA_SASL_PASSWORD: "kafka-password"

# Option 4: OAuth Bearer Token Authentication (Not supported yet)
# P_KAFKA_SECURITY_PROTOCOL: "SASL_SSL"
# P_KAFKA_SASL_MECHANISM: "OAUTHBEARER"
# P_KAFKA_OAUTH_TOKEN_ENDPOINT: "https://oauth.example.com/token"
# P_KAFKA_OAUTH_CLIENT_ID: "kafka-client"
# P_KAFKA_OAUTH_CLIENT_SECRET: "client-secret"
# P_KAFKA_OAUTH_SCOPE: "kafka-access" # Optional: only if required by OAuth provider

# Default values for Vector
## Default values for Vector
# See Vector helm documentation to learn more:
# https://vector.dev/docs/setup/installation/package-managers/helm/
vector:
Expand All @@ -259,7 +319,7 @@ vector:
image:
repository: timberio/vector
pullPolicy: IfNotPresent
pullSecrets: []
pullSecrets: [ ]
tag: ""
sha: ""
replicas: 1
Expand All @@ -272,7 +332,7 @@ vector:
create: true
serviceAccount:
create: true
annotations: {}
annotations: { }
name:
automountToken: true
podLabels:
Expand All @@ -284,13 +344,13 @@ vector:
service:
enabled: true
type: "ClusterIP"
annotations: {}
topologyKeys: []
ports: []
annotations: { }
topologyKeys: [ ]
ports: [ ]
externalTrafficPolicy: ""
loadBalancerIP: ""
ipFamilyPolicy: ""
ipFamilies: []
ipFamilies: [ ]
serviceHeadless:
enabled: true
dnsPolicy: ClusterFirst
Expand Down Expand Up @@ -353,7 +413,7 @@ fluent-bit:
tag: latest
serviceAccount:
create: true
annotations: {}
annotations: { }
name:
rbac:
create: true
Expand All @@ -364,8 +424,8 @@ fluent-bit:
type: ClusterIP
port: 2020
loadBalancerClass:
loadBalancerSourceRanges: []
labels: {}
loadBalancerSourceRanges: [ ]
labels: { }
livenessProbe:
httpGet:
path: /
Expand Down Expand Up @@ -457,7 +517,7 @@ fluent-bit:
Password {{ .Values.serverPassword }}
Stream k8s-events

upstream: {}
upstream: { }

customParsers: |
[PARSER]
Expand Down