Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 782 Bytes

kustomize.md

File metadata and controls

39 lines (25 loc) · 782 Bytes

Logging with Logging Operator, Fluentd, and Kustomize

TODO: Intro

Do

cat kustomize/overlays/prod/logging.yaml

yq --inplace ".resources += \"logging.yaml\"" \
    kustomize/overlays/prod/kustomization.yaml

git add .

git commit -m "Logging"

git push

kubectl --namespace production get logging-all
  • Wait until resources are created
curl "http://cncf-demo.$INGRESS_HOST?something=else"

echo "http://grafana.$INGRESS_HOST"
  • Open it in a browser
  • Use admin as the user and prom-operator as the password
  • Open Explore
  • Choose Loki as the data source
  • Filter by app_kubernetes_io_name set to cncf-demo
  • Search for something

Continue The Adventure