error validating data: API version "apps/v1beta2" isn't supported,
only supports API versions
["v1" "batch/v1" "batch/v2alpha1" "rbac.authorization.k8s.io/v1alpha1" "federation/v1beta1" "certificates/v1alpha1"
"componentconfig/v1alpha1"
"extensions/v1beta1" "policy/v1alpha1" "apps/v1alpha1"
"authentication.k8s.io/v1beta1" "authorization.k8s.io/v1beta1"
"autoscaling/v1"]; if you choose to ignore these errors, turn
validation off with --validate=false
How can i resolve this without turning validation off which seems risky?
What determines which API versions are supported?
Is it the version of kubectl or dashboard?
UPDATE:
i used the commandkubectl api-versions
to find that my kubectl supports apps/v1beta2.
So it looks like there is another layer of API checking/versioning in the Dashboard?
Detailskubectl version --short
Client Version: v1.11.0
Server Version: v1.9.8