StarlingX Metrics Server App
ff77e655d6
Upgrade metrics-server helm charts version from 3.12.0 to 3.12.1 and metrics-server image version from 0.7.0 to 0.7.1. Test Plan: PASS: Build package PASS: App upload/apply/update/remove/delete with k8s v1.24 to v1.29 PASS: Check application version PASS: Run sample application Story: 2010681 Task: 49975 Change-Id: I850b48527d352f037e4c90afb998088b7288fd4e Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com> |
||
---|---|---|
helm-charts/upstream/metrics-server-helm | ||
python3-k8sapp-metrics-server | ||
sample-app | ||
stx-metrics-server-helm | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
bindep.txt | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
readme.md | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
Metrics Server Armada App
This Armada App is responsible to deliver the metrics server inside the ISO.
Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
Structure
metrics-server-armada-app
├── debian_build_layer.cfg
├── debian_iso_image.inc
├── debian_pkg_dirs
├── debian_stable_docker_images.inc
├── metrics-server-helm
│ ├── debian
│ │ ├── deb_folder
│ │ │ ├── changelog
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── metrics-server-helm.install
│ │ │ └── rules
│ │ └── meta_data.yaml
│ └── files
│ ├── 0001-Add-sample-app-to-metrics-server.patch
| ├── 0002-Add-label-platform-application-to-pods.patch
│ └── Makefile
├── readme.md
├── requirements.txt
├── sample-app
│ ├── debian
│ │ └── sample-app.stable_docker_image
│ ├── docker
│ │ ├── Dockerfile.debian
│ │ └── src
│ │ ├── package.json
│ │ └── sample-application.js
│ └── readme.md
├── stx-metrics-server-helm
│ ├── debian
│ │ ├── deb_folder
│ │ │ ├── changelog
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── rules
│ │ │ ├── source
│ │ │ │ └── format
│ │ │ └── stx-metrics-server-helm.install
│ │ └── meta_data.yaml
│ └── stx-metrics-server-helm
│ ├── files
│ │ ├── Makefile
│ │ └── metadata.yaml
│ ├── fluxcd-manifests
│ │ ├── base
│ │ │ ├── helmrepository.yaml
│ │ │ ├── kustomization.yaml
│ │ │ └── namespace.yaml
│ │ ├── kustomization.yaml
│ │ └── metrics-server
│ │ ├── helmrelease.yaml
│ │ ├── kustomization.yaml
│ │ ├── metrics-server-static-overrides.yaml
│ │ └── metrics-server-system-overrides.yaml
│ └── helm-charts
│ └── Makefile
├── test-requirements.txt
└── tox.ini
Important files
- metrics-server_manifest.yaml - Armada Manifest
- helm-charts - Metrics Server helm charts
- stx-metrics-server-helm.spec - Steps to generate
- sample-app - Sample app application
Install
- Navigate to the path
/usr/local/share/applications/helm/
- The
metrics-server-1.0-1.tgz
will be present - Run
system application-upload metrics-server-1.0-1.tgz
- Run
system application-list
to see if it was uploaded - Run
system helm-override-update --reuse-values --set sampleApp.create=true metrics-server metrics-server metrics-server
If you want to deploy the sample app - Run
system application-apply metrics-server
- Run
system application-list
to see if it was applied - Run
kubectl get pods -l app=metrics-server -n metrics-server
to see the pod running