Open virtyos opened 3 years ago
@virtyos can you please try with microk8s helm upgrade --set replicas.tserver=5 yb-demo yugabytedb/yugabyte
This was successfully executed
microk8s helm3 upgrade --set replicas.tserver=2 yb-demo yugabytedb/yugabyte --namespace yb-demo
but now I got
Error: UPGRADE FAILED: cannot patch "yb-master" with kind StatefulSet: StatefulSet.apps "yb-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden && cannot patch "yb-tserver" with kind StatefulSet: StatefulSet.apps "yb-tserver" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
Can you share the command which you used to install the chart?
Can you share the command which you used to install the chart?
microk8s helm3 install yb-demo yugabytedb/yugabyte --set resource.master.requests.cpu=0.5,resource.master.requests.memory=0.5Gi,resource.tserver.requests.cpu=0.5,resource.tserver.requests.memory=0.5Gi --namespace yb-demo
I tried to run following commands in sequence and I did not get the above error.
$ helm3 install yb-demo yugabytedb/yugabyte --set resource.master.requests.cpu=0.5,resource.master.requests.memory=0.5Gi,resource.tserver.requests.cpu=0.5,resource.tserver.requests.memory=0.5Gi --namespace yb-demo
$ helm3 upgrade --set replicas.tserver=2 yb-demo yugabytedb/yugabyte --namespace yb-demo
Can you also share output of
helm3 ls -n yb-demo
helm3 search repo yugabytedb
microk8s helm3 version
helm3 ls -n yb-demo:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
yb-demo yb-demo 10 2020-12-29 03:52:44.432470542 +0300 MSK failed yugabyte-2.3.3 2.3.3.0-b106
helm3 search repo yugabytedb:
NAME CHART VERSION APP VERSION DESCRIPTION
yugabytedb/yugabyte 2.3.3 2.3.3.0-b106 YugabyteDB is the high-performance distributed ...
yugabytedb/yugaware 2.3.3 2.3.3.0-b106 YugaWare is YugaByte Database's Orchestration a...
microk8s helm3 version:
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
I've intalled yugabyte db (https://docs.yugabyte.com/latest/deploy/kubernetes/single-zone/oss/helm-chart/) on kubernetes cluster (microk8s) and now I'm trying to execute next command
microk8s helm upgrade --set replicas.tserver=5 yb-demo ./yugabyte
but I got an error Error: path "./yugabyte" not found
version of helm is 3