[
https://issues.apache.org/jira/browse/YUNIKORN-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849433#comment-17849433
]
Tseng Hsi-Huang commented on YUNIKORN-2569:
-------------------------------------------
Hello [~mani] , I'm trying to check if there are problems during upgrade.
For each step, Here are how I am trying to do:
1. Create cluster using kind create.
{code:sh}
cd ~/yunikorn/yunikorn-k8shim
kind create cluster --name yk8s --image kindest/node:v1.30.0
--config=./scripts/kind.yaml
kubectl create namespace yunikorn{code}
2. Deploy old versions of Yunikorn (say, 1.2 or 1.3 or 1.4) using helm deploy.
{code:sh}
helm repo add yunikorn https://apache.github.io/yunikorn-release
helm repo update
helm install yunikorn yunikorn/yunikorn --namespace yunikorn --version 1.2{code}
then use this command to launch web UI
{code:java}
kubectl port-forward svc/yunikorn-service 9889:9889 -n yunikorn {code}
3. Sanity checks to ensure deployed version is working as expected.
what I am trying is that
{code:sh}
cd ~/yunikorn/yunikorn-k8shim/deployments/examples/nginx
kubectl apply -f nginx.yaml -n yunikorn{code}
4. Upgrade YK version to the latest master (1.6) using helm upgrade.
{code:sh}
helm upgrade yunikorn yunikorn/yunikorn --namespace yunikorn{code}
Using the steps above (1.2 to latest, 1.3 to latest, 1.4 to latest), it work
fine for me.
There are two points that I am confused:
1.When I use helm to upgrade to the latest version
{code:sh}
$ helm list --namespace yunikorn
NAME NAMESPACE REVISION UPDATED
STATUS CHART APP VERSION
yunikorn yunikorn 8 2024-05-25 15:08:32.718188135
+0800 CST deployedyunikorn-1.5.1
{code}
Seems like that the version used is not 1.6 but 1.5.1.
2. What approaches to "3. Sanity checks to ensure deployed version is working
as expected." could I do it better and formally?
If I did anything wrong or any suggestion, I would appreciate for advice, thank
you.
> Helm upgrade behaviour
> ----------------------
>
> Key: YUNIKORN-2569
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2569
> Project: Apache YuniKorn
> Issue Type: Test
> Reporter: Manikandan R
> Assignee: Tseng Hsi-Huang
> Priority: Major
>
> Need to test the Yunikorn upgrade behaviour through Helm.
> For example,
> 1. Create cluster using kind create.
> 2. Deploy old versions of Yunikorn (say, 1.2 or 1.3 or 1.4) using helm deploy.
> 3. Sanity checks to ensure deployed version is working as expected.
> 4. Upgrade YK version to the latest master (1.6) using helm upgrade.
> 5. Document the behaviour especially when there are any issues.
> Repeat for each old versions (1.2, 1.3 and 1.4).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]