github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/packages/logging-pgl/jackal.yaml (about)

     1  kind: JackalPackageConfig
     2  metadata:
     3    name: init-package-logging
     4  
     5  components:
     6    - name: logging
     7      description: |
     8        Deploys the Promtail Grafana & Loki (PGL) stack.
     9        Aggregates logs from different containers and presents them in a web dashboard.
    10        Recommended if no other logging stack is deployed in the cluster.
    11      images:
    12        - docker.io/grafana/promtail:2.9.2
    13        - grafana/grafana:8.3.5
    14        - grafana/loki:2.6.1
    15        - quay.io/kiwigrid/k8s-sidecar:1.19.2
    16      manifests:
    17        - name: logging-connect
    18          namespace: jackal
    19          files:
    20            - connect.yaml
    21      charts:
    22        - name: loki-stack
    23          releaseName: jackal-loki-stack
    24          url: https://grafana.github.io/helm-charts
    25          version: 2.10.1
    26          namespace: jackal
    27          valuesFiles:
    28            - pgl-values.yaml
    29      actions:
    30        onDeploy:
    31          after:
    32            - wait:
    33                cluster:
    34                  kind: pod
    35                  namespace: jackal
    36                  name: app=loki
    37                  condition: Ready
    38            - wait:
    39                cluster:
    40                  kind: pod
    41                  namespace: jackal
    42                  name: app.kubernetes.io/name=grafana
    43                  condition: Ready
    44            - wait:
    45                cluster:
    46                  kind: pod
    47                  namespace: jackal
    48                  name: app.kubernetes.io/name=promtail
    49                  condition: Ready