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
johnt ⋯ gitroot compose2kube kubectl create -f ./output master ★ 0.0.2 01:48
replicationcontroller "cache" created
replicationcontroller "database" created
replicationcontroller "web" created
error validating "output/cache-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
error validating "output/database-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
error validating "output/web-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
johnt ⋯ gitroot compose2kube kubectl create -f ./output 1 master ★ 0.0.2 02:05
replicationcontroller "cache" created
replicationcontroller "database" created
replicationcontroller "web" created
error validating "output/cache-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
error validating "output/database-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
error validating "output/web-srv.yml": error validating data: found invalid field ExternalName for v1.ServiceSpec;if you choose to ignore these errors, turn validation off with --validate=false
While attempting to convert the bundled docker-compose.yml to a k8s config, services are generated with an invalid ServiceSpec definition.
Per v1.ServiceSpec there is no field defined as ExternalName.
This has the side effect of causing the services to not launch correctly.
Tested with clusters built with both minikube and kube-aws.
Should this field be removed from the generated file?
I don't see a reference in the source either https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/service.go
The text was updated successfully, but these errors were encountered: