If user uses wrong image in deployment but used `--deployment` option, error is confusing. #121
Labels
Comments
If Deployment is non-existent there's also a traceback, but an easier one to understand. |
itamarst
added a commit
that referenced
this issue
Apr 28, 2017
Better error messages for misconfigured Deployment. Fixes #121.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What were you trying to do?
Run Telepresence against existing deployment, but I'd used wrong image name so it wasn't findable.
What did you expect to happen?
Meaningful error: "can't find any pods running the expected image
datawire/telepresence-k8s:0.41
, perhaps there's a typo in your Deployment spec?"What happened instead?
Crash.
Automatically included information
Command line:
['/home/itamarst/bin/telepresence', '--deployment', 'myserver', '--expose', '8080', '--run-shell']
Version:
0.41
Python version:
3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609]
kubectl version:
Client Version: v1.6.0
OS:
Linux hexagon 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Traceback:
Logs:
The text was updated successfully, but these errors were encountered: