A collection of Kubernetes configurations to integrate with Stackdriver products. For now, it supports Stackdriver Logging and Stackdriver Monitoring. This repo is only used for manual installation on existing clusters.
Setting up git hooks
From the root directory of this repo, please run the following command:
ln -s "$(realpath hooks/pre-commit)" "$(git rev-parse --git-dir)/hooks/pre-commit"
This will ensure that all commits run the
compile-agents-yaml.sh command.
Compile Agents YAML
From the root directory of this repo, you can run the following command:
This will ensure that all commits re-generate the agents.yaml file to keep it
up-to-date with other YAML file changes.