Kubernetes Power Manager Helm Charts upversion to v2.5.0
This change aims to update the patch applied to the upstream Helm Chart, adapting it to the new version of Kubernetes Power Manager (v2.5.0). Story: 2011069 Task: 50276 Test Plan PASS: AIO-SX: check if the application can be successfully installed. PASS: AIO-SX: check if the application can be successfully uninstalled. PASS: check if installed CRDs are correctly created. Change-Id: Idc2f22ccbca27a47f6b19ed3f5a3faffe111bf47 Signed-off-by: Eduardo Alberti <eduardo.alberti@windriver.com>
This commit is contained in:
parent
274592ab6d
commit
2948efeb39
@ -1,3 +1,9 @@
|
||||
kubernetes-power-manager-helm (2.5-1) unstable; urgency=medium
|
||||
|
||||
* Kubernetes Power Manager upversion to v2.5.0.
|
||||
|
||||
-- Eduardo Alberti <eduardo.alberti@windriver.com> Wed, 5 Jun 2024 12:00:00 -0300
|
||||
|
||||
kubernetes-power-manager-helm (2.4-0) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
@ -1,6 +1,6 @@
|
||||
From e41e68afff0cb0fb5406054a28843f9977b3c691 Mon Sep 17 00:00:00 2001
|
||||
From: Guilherme Santos <guilherme.santos@windriver.com>
|
||||
Date: Mon, 4 Mar 2024 15:55:10 -0300
|
||||
From 0899aef4abd265b67e947ef9fc133595c7eaa480 Mon Sep 17 00:00:00 2001
|
||||
From: Eduardo Alberti <eduardo.alberti@windriver.com>
|
||||
Date: Wed, 5 Jun 2024 08:13:10 -0300
|
||||
Subject: [PATCH] Add STX Power Profile Node Customization
|
||||
|
||||
This patch adds resources to allow power profile customization to each
|
||||
@ -13,14 +13,14 @@ Co-author: Eduardo Alberti <eduardo.alberti@windriver.com>
|
||||
Signed-off-by: Guilherme Santos <guilherme.santos@windriver.com>
|
||||
---
|
||||
.../templates/template.yaml | 36 +++++----
|
||||
helm/kubernetes-power-manager/values.yaml | 24 +++++-
|
||||
helm/kubernetes-power-manager/values.yaml | 23 +++++-
|
||||
.../templates/_cstate.tpl | 13 ++++
|
||||
.../templates/_deployment.tpl | 33 ++++++++-
|
||||
.../templates/_new-shared-power-profile.tpl | 32 +++++---
|
||||
.../templates/_power-config.tpl | 5 +-
|
||||
.../_power-node-agent-ds-override.tpl | 73 +++++++++++++++++++
|
||||
.../templates/_power-workload.tpl | 20 +++++
|
||||
8 files changed, 204 insertions(+), 32 deletions(-)
|
||||
8 files changed, 203 insertions(+), 32 deletions(-)
|
||||
create mode 100644 helm/manager-chart-library/templates/_cstate.tpl
|
||||
create mode 100644 helm/manager-chart-library/templates/_power-node-agent-ds-override.tpl
|
||||
create mode 100644 helm/manager-chart-library/templates/_power-workload.tpl
|
||||
@ -80,15 +80,15 @@ index bb78de4..2b3c980 100644
|
||||
# above checks the version to decide which template to use
|
||||
\ No newline at end of file
|
||||
diff --git a/helm/kubernetes-power-manager/values.yaml b/helm/kubernetes-power-manager/values.yaml
|
||||
index 4dd2d63..61dd135 100644
|
||||
index a93ac6e..feb340f 100644
|
||||
--- a/helm/kubernetes-power-manager/values.yaml
|
||||
+++ b/helm/kubernetes-power-manager/values.yaml
|
||||
@@ -69,11 +69,11 @@ operator:
|
||||
name: intel-power-operator
|
||||
command: /manager
|
||||
args: --enable-leader-election
|
||||
- image: intel/power-operator:v2.4.0
|
||||
+ image: docker.io/intel/power-operator:v2.4.0
|
||||
- image: intel/power-operator:v2.5.0
|
||||
+ image: docker.io/intel/power-operator:v2.5.0
|
||||
name: manager
|
||||
cpu:
|
||||
limits: 100m
|
||||
@ -108,17 +108,16 @@ index 4dd2d63..61dd135 100644
|
||||
|
||||
# Values for the Shared PowerProfile
|
||||
sharedprofile:
|
||||
@@ -96,3 +96,19 @@ sharedprofile:
|
||||
@@ -96,3 +96,18 @@ sharedprofile:
|
||||
min: 1000
|
||||
epp: "power"
|
||||
governor: "powersave"
|
||||
+
|
||||
+
|
||||
+# STX
|
||||
+agent:
|
||||
+ image:
|
||||
+ repository: docker.io/intel/power-node-agent
|
||||
+ tag: v2.4.0
|
||||
+ tag: v2.5.0
|
||||
+ tolerations:
|
||||
+ - key: "node-role.kubernetes.io/control-plane"
|
||||
+ operator: "Exists"
|
||||
@ -128,7 +127,6 @@ index 4dd2d63..61dd135 100644
|
||||
+ effect: "NoSchedule"
|
||||
+imagePullSecrets:
|
||||
+ - name: default-registry-key
|
||||
\ No newline at end of file
|
||||
diff --git a/helm/manager-chart-library/templates/_cstate.tpl b/helm/manager-chart-library/templates/_cstate.tpl
|
||||
new file mode 100644
|
||||
index 0000000..cbb5a9c
|
||||
|
@ -7,7 +7,7 @@ export APP_FOLDER = $(ROOT)/usr/lib/helm
|
||||
export DEB_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
|
||||
export PATCH_VERSION = $(shell echo $(DEB_VERSION) | cut -f 4 -d '.')
|
||||
export CHART_BASE_VERSION = $(shell echo $(DEB_VERSION) | sed 's/-/./' | cut -d '.' -f 1-3)
|
||||
export CHART_VERSION = $(CHART_BASE_VERSION)+STX.$(PATCH_VERSION)
|
||||
export CHART_VERSION = v$(CHART_BASE_VERSION)+STX.$(PATCH_VERSION)
|
||||
export CHART_APP_VERSION=v$(CHART_BASE_VERSION)
|
||||
|
||||
%:
|
||||
|
@ -4,15 +4,16 @@
|
||||
#
|
||||
---
|
||||
debname: kubernetes-power-manager-helm
|
||||
debver: 2.4-0
|
||||
debver: 2.5-1
|
||||
dl_path:
|
||||
name: kubernetes-power-manager-c057acdaa066ab338d7af66135dd1be4ce308e72.tar.gz
|
||||
url: https://github.com/intel/kubernetes-power-manager/archive/c057acd.tar.gz
|
||||
md5sum: e766da0da79e7df28eb6648423cc4493
|
||||
name: kubernetes-power-manager-2.5.0.tar.gz
|
||||
url: https://github.com/intel/kubernetes-power-manager/archive/v2.5.0.tar.gz
|
||||
sha256sum: a3dc6b36eacc2c01e3ffec7af6a4ce71b5c00b753473ebb74a8e7f3c24ea0f79
|
||||
src_files:
|
||||
- kubernetes-power-manager-helm/files/Makefile
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
stx_patch: 1
|
||||
GITREVCOUNT:
|
||||
SRC_DIR: ${MY_REPO}/stx/app-kubernetes-power-manager/helm-charts/upstream/kubernetes-power-manager-helm
|
||||
BASE_SRCREV: 789f333dec616b91ddb871cf21fdb07e6bf8d750
|
||||
|
@ -32,7 +32,7 @@ lint-%: init-%
|
||||
|
||||
build-%: lint-%
|
||||
if [ -d $* ]; then \
|
||||
helm package $(HELM_DIR) --version $(CHART_BASE_VERSION) --app-version $(CHART_APP_VERSION); \
|
||||
helm package $(HELM_DIR) --version $(CHART_VERSION) --app-version $(CHART_APP_VERSION); \
|
||||
fi
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user