microservices-demo / load-test

A load-test script & container for Sock Shop
Apache License 2.0
50 stars 137 forks source link

Loadtest not deploying to sock-sock namespace properly #16

Open abuehrle opened 7 years ago

abuehrle commented 7 years ago

Deployed the sock-shop to a Kubernetes cluster in the usual way:

kubectl apply -n sock-shop -f deploy/kubernetes/manifests

Zipkin and the loadtest are returning the following errors:

namespace "zipkin" created
the namespace from the provided object "loadtest" does not match the namespace "sock-shop". You must pass '--namespace=loadtest' to perform this operation.
the namespace from the provided object "zipkin" does not match the namespace "sock-shop". You must pass '--namespace=zipkin' to perform this operation.
abuehrle commented 7 years ago

I am still getting this error. How do you work around it?

error: the namespace from the provided object "loadtest" does not match the namespace "sock-shop". You must pass '--namespace=loadtest' to perform this operation.

abuehrle commented 7 years ago

created it's own namespace for it seemed to work and applying just that file:

kubectl apply -n loadtest -f deploy/kubernetes/manifests/loadtest-dep.yaml