Skip to content

Instantly share code, notes, and snippets.

@rjferguson21
Created May 2, 2022 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjferguson21/a94c235309da7dd7459b91300441bed8 to your computer and use it in GitHub Desktop.
Save rjferguson21/a94c235309da7dd7459b91300441bed8 to your computer and use it in GitHub Desktop.
bb-values-loki-ent
kiali:
enabled: true
monitoring:
enabled: true
grafana:
enterprise:
enabled: true
licenseContents: <license>
values:
grafana:
grafana.ini:
server:
# this has to match the license
root_url: http://grafana.bigbang.dev/
loki:
# -- Toggle deployment of Loki.
enabled: true
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/loki.git
path: "./chart"
tag: "3.0.1-bb.1"
# -- Loki architecture. Options are monolith and scalable
strategy: scalable
# this has to match the license cluster_name
releaseName: defense-unicorns-gel
enterprise:
enabled: true
licenseContents: <license>
values:
minio:
tenants:
buckets:
- name: loki-logs
- name: loki-admin
loki-simple-scalable:
read:
replicas: 1
write:
replicas: 1
gateway:
enabled: true
global:
objectStorage:
endpoint: minio.logging.svc.cluster.local
region: us-east-1
bucketnames: loki-logs
access_key_id: minio
secret_access_key: minio123
adminBucketName: loki-admin
config: |
auth:
type: enterprise
auth_enabled: true
license:
path: "/etc/enterprise-logs/license/license.jwt"
cluster_name: {{ .Release.Name }}
server:
http_listen_port: 3100
grpc_listen_port: 9095
common:
replication_factor: 1
storage:
filesystem: null
s3:
bucketnames: {{ .Values.global.objectStorage.bucketnames }}
endpoint: {{ .Values.global.objectStorage.endpoint }}
region: {{ .Values.global.objectStorage.region }}
secret_access_key: {{ .Values.global.objectStorage.secret_access_key }}
access_key_id: {{ .Values.global.objectStorage.access_key_id }}
insecure: true
s3forcepathstyle: true
memberlist:
join_members:
- {{ include "loki.fullname" . }}-memberlist-tcp
admin_client:
storage:
type: s3
s3:
bucket_name: {{ .Values.global.objectStorage.adminBucketName }}
insecure: true
endpoint: {{ .Values.global.objectStorage.endpoint }}
secret_access_key: {{ .Values.global.objectStorage.secret_access_key }}
access_key_id: {{ .Values.global.objectStorage.access_key_id }}
compactor:
shared_store: s3
working_directory: /var/loki/boltdb-shipper-compactor
compaction_interval: 30s
ingester:
lifecycler:
num_tokens: 512
chunk_idle_period: 30m
chunk_block_size: 262144
chunk_encoding: snappy
chunk_retain_period: 1m
wal:
dir: /var/loki/wal
ingester_client:
grpc_client_config:
max_recv_msg_size: 104857600
max_send_msg_size: 104857600
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
max_cache_freshness_per_query: 10m
frontend:
log_queries_longer_than: 10s
compress_responses: true
tail_proxy_url: http://{{ include "loki.fullname" . }}:3100
querier:
query_ingesters_within: 12h
query_range:
split_queries_by_interval: 24h
align_queries_with_step: true
cache_results: true
results_cache:
cache:
memcached:
expiration: 1h
memcached_client:
timeout: 1s
schema_config:
configs:
- from: 2021-01-01
store: boltdb-shipper
object_store: aws
schema: v11
index:
prefix: index_
period: 24h
storage_config:
aws:
endpoint: {{ .Values.global.objectStorage.endpoint }}
bucketnames: {{ .Values.global.objectStorage.bucketnames }}
access_key_id: {{ .Values.global.objectStorage.access_key_id }}
secret_access_key: {{ .Values.global.objectStorage.secret_access_key }}
region: {{ .Values.global.objectStorage.region }}
s3forcepathstyle: true
insecure: true
boltdb_shipper:
active_index_directory: /var/loki/index
cache_location: /var/loki/cache
cache_ttl: 24h
shared_store: s3
ruler:
storage:
type: s3
s3:
bucketnames: {{ .Values.global.objectStorage.bucketnames }}
enable_alertmanager_discovery: false
enable_api: true
enable_sharding: true
rule_path: /var/loki
addons:
minioOperator:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment