aws-ia / terraform-aws-eks-blueprints

Configure and deploy complete EKS clusters.
https://aws-ia.github.io/terraform-aws-eks-blueprints/
Apache License 2.0
2.71k stars 1.42k forks source link

The CustomResourceDefinition "mpijobs.kubeflow.org" is invalid: metadata.annotations: Too long: must have at most 262144 bytes #2041

Open zaptrem opened 5 hours ago

zaptrem commented 5 hours ago

When I try to apply the operator

kubectl apply -f https://raw.githubusercontent.com/kubeflow/mpi-operator/master/deploy/v2beta1/mpi-operator.yaml

I get


serviceaccount/mpi-operator created
clusterrole.rbac.authorization.k8s.io/kubeflow-mpijobs-admin created
clusterrole.rbac.authorization.k8s.io/kubeflow-mpijobs-edit created
clusterrole.rbac.authorization.k8s.io/kubeflow-mpijobs-view created
clusterrole.rbac.authorization.k8s.io/mpi-operator created
clusterrolebinding.rbac.authorization.k8s.io/mpi-operator created
deployment.apps/mpi-operator created
The CustomResourceDefinition "mpijobs.kubeflow.org" is invalid: metadata.annotations: Too long: must have at most 262144 bytes```

Also, all the scripts on the website 404 and I had to find my way here via Google. 
bryantbiggs commented 3 hours ago

to avoid the Too long ... error just change the kubectl apply ... to kubectl apply --server-side ... - we'll have this updated in the docs shortly