You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current automation is not cleaning up the resources properly before installing the operator freshly.
The deployment is getting failed to install the operator -
While installing the operator, the script (tasks/main.yaml line#34) is looking for operator name as verticalpodautoscaler but the operator is getting installed with name - vertical-pod-autoscaler.
So, can we use vertical-?pod-?autoscaler in the script instead of verticalpodautoscaler
- name: Get the installed ClusterServiceVersion of VPA
shell: oc get csv -n openshift-vertical-pod-autoscaler --no-headers | awk '{ if ($1 ~ /^verticalpodautoscaler/) print $1 }'
register: installed_csv
and, for (tasks/main.yaml line#172), the condition should be vpa_service.stdout|int == 2 instead of vpa_service.stdout|int == 1
# oc get service -n openshift-vertical-pod-autoscaler --no-headers
vpa-metrics-service ClusterIP 172.30.46.17 <none> 8443/TCP 9m26s
vpa-webhook ClusterIP 172.30.183.168 <none> 443/TCP 8m58s
The text was updated successfully, but these errors were encountered:
The current automation is not cleaning up the resources properly before installing the operator freshly.
The deployment is getting failed to install the operator -
Suggestion
While installing the operator, the script (tasks/main.yaml line#34) is looking for operator name as
verticalpodautoscaler
but the operator is getting installed with name -vertical-pod-autoscaler
.So, can we use
vertical-?pod-?autoscaler
in the script instead ofverticalpodautoscaler
and, for (tasks/main.yaml line#172), the condition should be
vpa_service.stdout|int == 2
instead ofvpa_service.stdout|int == 1
The text was updated successfully, but these errors were encountered: