Open sunidhi271 opened 6 months ago
@elchenberg adthonb JStickler TsengSR alexandreMegel Could any of you help here ?
With this value file configuration at least the pods are now in running state:
###Promtail Values###
promtail:
fullnameOverride: promtail
image:
registry: registry.dac.nokia.com
repository: public/grafana/promtail
config:
clients:
- url: http://loki-gateway/loki/api/v1/push
extraPorts:
syslog:
name: promtail
annotations: {}
labels: {}
containerPort: 8514
protocol: TCP
service:
type: ClusterIP
clusterIP: null
port: 8514
externalIPs: []
nodePort: null
loadBalancerIP: null
loadBalancerSourceRanges: []
externalTrafficPolicy: null
#########Loki Values #########
##Default value file
loki:
global:
image:
registry: registry.xyz.com
fullnameOverride: loki
imagePullSecrets: [dacsecret]
test:
enabled: false
gateway:
enabled: true
image:
registry: registry.xyz.com
repository: public/nginxinc/nginx-unprivileged
tag: 1.24-alpine
lokiCanary:
enabled: false
chunksCache:
enabled: false
resultsCache:
enabled: false
# SimpleScalable Mode related values
deploymentMode: SimpleScalable
sidecar:
image:
repository: registry.xyz.com/public/kiwigrid/k8s-sidecar
tag: 1.24.3
memcached:
image:
repository: registry.xyz.com/public/memcached
#default# tag: 1.6.23-alpine
tag: 1.6.25
memcachedExporter:
image:
repository: registry.xyz.com/public/prom/memcached-exporter
tag: v0.14.2
minio:
enabled: true
image:
repository: registry.xyz.com/public/minio
mcImage:
repository: registry.xyz.com/public/quay.io/minio/mc
persistence:
enabled: true
storageClass: "rook-block"
size: 20Gi
backend:
replicas: 2
persistence:
volumeClaimsEnabled: true
size: 10Gi
storageClass: "rook-block"
enableStatefulSetAutoDeletePVC: false
read:
replicas: 2
persistence:
volumeClaimsEnabled: true
storageClass: "rook-block"
enableStatefulSetAutoDeletePVC: false
write:
replicas: 2
persistence:
volumeClaimsEnabled: true
storageClass: "rook-block"
enableStatefulSetAutoDeletePVC: false
singleBinary:
replicas: 0
ingester:
replicas: 0
querier:
replicas: 0
queryFrontend:
replicas: 0
queryScheduler:
replicas: 0
distributor:
replicas: 0
compactor:
replicas: 0
indexGateway:
replicas: 0
bloomCompactor:
replicas: 0
bloomGateway:
replicas: 0
tableManager:
enabled: false
# extraArgs:
# - -config.expand-env=true
# extraEnv:
# - name: GRAFANA-LOKI-S3-ENDPOINT
# valueFrom:
# secretKeyRef:
# name: loki-credentials
# key: s3-endpoint
# - name: GRAFANA-LOKI-S3-ACCESSKEY
# valueFrom:
# secretKeyRef:
# name: loki-credentials
# key: s3-access-key
# - name: GRAFANA-LOKI-S3-SECRETKEY
# valueFrom:
# secretKeyRef:
# name: loki-credentials
# key: s3-secret-key
# extraEnvFrom:
# - secretRef:
# name: loki-s3-secret
loki:
image:
registry: registry.dac.nokia.com
repository: public/grafana/loki
schemaConfig:
configs:
- from: 2024-04-01
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
ingester:
chunk_encoding: snappy
tracing:
enabled: true
querier:
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
max_concurrent: 4
minio:
enabled: true
auth_enabled: false
Describe the bug Simple Scalable loki pods are in CrashLoopBackOff.
To Reproduce Steps to reproduce the behavior:
create a proxy helm chart
dependencies:
loki version 3.0.0
update the helm chart with loki chart helm dependency update .
Update the value file with the below values: cat values.yaml
SimpleScalable Mode related values
deploymentMode: SimpleScalable sidecar: image: repository: registry.xyz.com/public/kiwigrid/k8s-sidecar tag: 1.24.3 resources: limits: cpu: 100m memory: 100Mi requests: cpu: 50m memory: 50Mi rules: enabled: true label: loki_rule labelValue: "" folder: /rules memcached: image: repository: registry.xyz.com/public/memcached
default# tag: 1.6.23-alpine
memcachedExporter: image: repository: registry.xyz.com/public/prom/memcached-exporter tag: v0.14.2 minio: enabled: true image: repository: registry.xyz.com/public/minio mcImage: repository: registry.xyz.com/public/quay.io/minio/mc backend: replicas: 3 autoscaling: enabled: false minReplicas: 3 maxReplicas: 6 persistence: volumeClaimsEnabled: true
-- Parameters used for the
data
volume when volumeClaimEnabled if falseread: replicas: 3 autoscaling: enabled: false minReplicas: 3 maxReplicas: 6 targetCPUUtilizationPercentage: 60 persistence: volumeClaimsEnabled: true size: 10Gi storageClass: rook-block resources: limits: memory: 50Gi requests: memory: 1Gi write: replicas: 3 autoscaling: enabled: false minReplicas: 3 maxReplicas: 6 targetCPUUtilizationPercentage: 60 resources: {} persistence: volumeClaimsEnabled: true
-- Parameters used for the
data
volume when volumeClaimEnabled if falsetableManager: enabled: false extraVolumes:
name: data mountPath: /var/loki retention_period: 24h
loki: image: registry: registry.xyz.com repository: public/grafana/loki ingester: chunk_encoding: snappy replicas: 0 tracing: enabled: true querier:
Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
max_concurrent: 4 replicas: 0 minio: enabled: true singleBinary: replicas: 0 queryFrontend: replicas: 0 queryScheduler: replicas: 0 distributor: replicas: 0 compactor: replicas: 0 indexGateway: replicas: 0 bloomCompactor: replicas: 0 bloomGateway: replicas: 0
SimpleScalable Mode related values ends here
structuredConfig: