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
We see one error when trying with kubectl apply -f service-per-pod.yaml as part of Smart Client approach
decoratorcontroller.metacontroller.k8s.io/service-per-pod created
decoratorcontroller.metacontroller.k8s.io/pod-name-label created
service/service-per-pod created
error: unable to recognize "service-per-pod.yaml": no matches for kind "Deployment" in version "apps/v1beta1"
because of apiVersion: apps/v1beta1 in service-per-pod.yaml
If I change this to apiVersion: apps/v1, pods are created but no load balancer
kubectl version
Client Version: version.Info{Major:“1", Minor:“21”, GitVersion:“v1.21.1", GitCommit:“5e58841cce77d4bc13713ad2b91fa0d961e69192”, GitTreeState:“clean”, BuildDate:“2021-05-12T14:11:29Z”, GoVersion:“go1.16.3", Compiler:“gc”, Platform:“darwin/amd64"}
Server Version: version.Info{Major:“1”, Minor:“18", GitVersion:“v1.18.17”, GitCommit:“68b4e26caf6ede7af577db4af62fb405b4dd47e6", GitTreeState:“clean”, BuildDate:“2021-03-18T00:54:02Z”, GoVersion:“go1.13.15”, Compiler:“gc”, Platform:“linux/amd64”}
WARNING: version difference between client (1.21) and server (1.18) exceeds the supported minor version skew of +/-1
The text was updated successfully, but these errors were encountered:
We see one error when trying with
kubectl apply -f service-per-pod.yaml
as part of Smart Client approachbecause of
apiVersion: apps/v1beta1 in service-per-pod.yaml
If I change this to
apiVersion: apps/v1
, pods are created but no load balancerThe text was updated successfully, but these errors were encountered: