Tools
See below various products and services related to cluster deployments and optimizations.
Renovate
This repository uses Renovate to automate release pull requests and keep dependencies up-to-date.
Configuration
Follow the Renovate onboarding instructions and once the k3s-cluster forked repository is configured, review the renovate.json5 configuration file for the current Renovate implementation.
See a PR example with a new release version generated by Renovate.
Robusta KRR
This repository follows the Kubernetes resource optimization common practices — see the Robusta blog entry for more details. Use krr to optimize the cluster resources allocation.
Configuration
Install the application on your computer:
brew tap robusta-dev/homebrew-krr
brew install krrExample of running a simple strategy, using the Prometheus endpoint:
krr simple -p https://metrics.domain.com/prometheus -n kube-system --allow-hpaAdjust the resources accordingly — example of resources configuration present in the external-dns main.yaml defaults file, where resources.limits.cpu is set to null:
resources:
limits:
cpu: null
memory: 128Mi
requests:
cpu: 10m
memory: 128Mi