Has anyone run into a problem with upgrading the k...
# questions-and-troubleshooting
j
Has anyone run into a problem with upgrading the kubernetes operator, but the CRD is not updated? My HPA is failing after the upgrade, the starrocksclusters.starrocks.com crd is missing a
scale
section that I see in my dev cluster that was upgraded properly. The version is also old in my CRD. I upgraded the operator from 1.10.2 to 1.11.2 and this is in my crd
Copy code
apiVersion: <http://apiextensions.k8s.io/v1|apiextensions.k8s.io/v1>
kind: CustomResourceDefinition
metadata:
  annotations:
    <http://controller-gen.kubebuilder.io/version|controller-gen.kubebuilder.io/version>: v0.14.0
    version: v1.10.2
Well something didn't go right with the upgrade of the operator, I had to manually patch the CRD...
Copy code
curl -o crd.yaml <https://raw.githubusercontent.com/StarRocks/starrocks-kubernetes-operator/v1.11.2/deploy/starrocks.com_starrocksclusters.yaml> 

kubectl apply -f crd.yaml
🙌 1