How to upgrade the Metrics Server Package chart📜
This chart is reconciled against the upstream chart as declared in the Kptfile.
When an upgrade is required, kpt
can be ran to pull the updates with a targeted tag.
(from the repository root)
kpt pkg update chart@<new tag> --strategy alpha-git-patch
Once completed, you will need to reconcile the modifications that Big Bang makes back into the orchestration.
Modifications Made to the upstream chart📜
/chart/Chart.yaml📜
- Added
bigbang.dev/applicationVersions
annotation with the metrics server version - Modified Version to include
-bb.x
suffix
/chart/bigbang/networkpolicies/*📜
- Network Policies added to establish allowed communication in/out of namespace
chart/values.yaml📜
- Add common values for Big Bang packages for domain, networkpolicies and Istio
- Increase replicas to 2 for failover
- Add affinity rules to schedule pods to separate nodes
- Addition of
serviceAccount.automountServiceAccountToken
to allow API token automounting behavior to be configurable
chart/templates/serviceaccount.yaml📜
- Addition of
serviceAccount.automountServiceAccountToken
to allow API token automounting behavior to be configurable
chart/templates/deployment.yaml📜
- Overrides
automountServiceAccountToken
hardening at the Pod spec-level due to app requirements
chart/Kptfile📜
- Tracks current upstream chart
Testing a new Metrics Server version📜
Current testing is done manually. Deployment of Big Bang with Istio, Monitoring, Network Policies and metrics server enabled will allow the use of kubectl top nodes
and kubectl top pods -A
to report utilization.
Last update:
2023-11-07 by Joe Foster