Skip to content

Commit

Permalink
test remove loki
Browse files Browse the repository at this point in the history
  • Loading branch information
jreynard-code committed Aug 2, 2023
1 parent 9511f77 commit cdbeb49
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions api/kubernetes/deploy_via_helm-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -547,36 +547,6 @@ EOF
helm repo add argo https://argoproj.github.io/argo-helm
helm upgrade --install -n ${NAMESPACE} ${ARGO_RELEASE_NAME} argo/argo-workflows --version ${ARGO_VERSION} --values values-argo.yaml

LOKI_RELEASE_NAME="loki"
helm repo add grafana https://grafana.github.io/helm-charts

cat <<EOF > loki-values.yaml
loki:
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: "${LOKI_PERSISTENCE_MEMORY:-4Gi}"
config:
table_manager:
retention_deletes_enabled: true
retention_period: "${LOKI_RETENTION_PERIOD:-720h}"
grafana:
enabled: true
persistence:
type: pvc
enabled: true
# storageClassName: default
accessModes:
- ReadWriteOnce
size: "${LOKI_PERSISTENCE_MEMORY:-4Gi}"
promtail:
tolerations:
- effect: NoSchedule
operator: Exists
EOF
helm upgrade --install ${LOKI_RELEASE_NAME} grafana/loki-stack -f loki-values.yaml

popd

# cosmotech-api
Expand Down

0 comments on commit cdbeb49

Please sign in to comment.