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
create horizontalpodautoscalers with apiversion autoscaling/v2beta2, kubectl(kube-apiserver) resulted with success, but kubectl-clusternet(clusternet-hub) report with the API version in the data (autoscaling/v2beta2) does not match the expected API version (autoscaling/v1).
# use kubectl clusternet
kubectl clusternet apply -f hpa.yaml
Error from server (BadRequest): error when creating "hpa.yaml": the API version in the data (autoscaling/v2beta2) does not match the expected API version (autoscaling/v1)
# use kubectl
kubectl apply -f hpa.yaml
horizontalpodautoscaler.autoscaling/test-hpa created
This is a known issue that clusternet-hub will pick out preferred version or highest semantic version. In Kubernetes v1.22, autoscaling/v1 has the highest priority than autoscaling/v2beta2.
autoscaling/v1
is prioritized for horizontalpodautoscalersautoscaling/v2beta2
, kubectl(kube-apiserver) resulted with success, but kubectl-clusternet(clusternet-hub) report withthe API version in the data (autoscaling/v2beta2) does not match the expected API version (autoscaling/v1)
.Environment:
Clusternet version:
clusternet-hub --version=json
): v0.10.0Kubernetes version (use
kubectl version
): v1.22.5The text was updated successfully, but these errors were encountered: