-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope 1.3.0 thinks Kubernetes 1.6 doesn't support Deployments or ReplicaSets #2497
Comments
This smells like the vendored k8s client needs updating to work properly with k8s 1.6 . @omkensey Does Scope properly show other k8s views (e.g. Pods)? |
Yep, I can see Pods and Services and all my nodes show up in Hosts. |
Also note that there had been an API group change, prior to 1.6 Deployments and ReplicaSets where in extensions group, and in 1.6 they got moved to apps. This is probably related, but may be not so much. |
I cannot reproduce, I have just launched |
So I think @errordeveloper had the right idea. |
@omkensey How did you exactly deployed scope? |
Using the scope.yaml served from |
That's probably the issue. We now have version-specific resources for kubernetes. We need to update the installation instructions. Can you give this URL a try?
|
I still get a redirect to a 1.5 path:
Also that seems like a really brittle method of determining the version to use. Won't it get confused by changes in any of the version strings for the client or the server? |
it should be |
That gets an error:
|
Looks like the esoteric "v1.6.2+coreos.0" broke things :( we shall have to fix that. cc @marccarre |
you can of course simply fetch the v1.6 specific yaml from https://cloud.weave.works/k8s/v1.6/scope.yaml |
That does successfully display the Deployments and ReplicaSets. However, I did have to fix one thing -- the weave-scope ServiceAccount is in the default namespace, but the ClusterRoleBinding tries to bind it in the kube-system namespace. Once I changed that from "kube-system" to "default", it all worked. |
The yaml is meant to be applied with |
Uhm, I thought copied this from the Weave Cloud instructions. They show |
When I start the agent DaemonSet and look at the logs for a pod, near the top I see this:
My Kube version is:
The text was updated successfully, but these errors were encountered: