-
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
Use new k8s go client #2659
Use new k8s go client #2659
Conversation
78fa6c7
to
e3bc6fe
Compare
Rebased due to conflict in |
Tests started failing after I rebased:
|
It's failed with 3 different error messages across 3 runs. And I can't run the integration tests locally, apparently they use GCE and I need creds. |
You should be able to run the tests against local VMs. If that is not working, please raise an issue and fix it. |
This namely involved importing new libraries and using the new Clientset. Changes worth mentioning: * The new kubernetes library doesn't provide StoreToLister wrappers, so now I am going the casting directly. * Deleting the pods and getting their logs is done in a cleaner way (using the Clientset instead of the lower-level RESTclient).
e3bc6fe
to
93b0bc8
Compare
Rebased again to see if the error was transient (no other PR seems to be suffering from this) |
This namely involved importing new libraries and using the new Clientset.
Changes worth mentioning:
StoreToListe
r wrappers, so now I am doing the casting directly.Clientset instead of the lower-level RESTclient).
HostNetwork
is now inlined in the pod specAfter merging this PR we should probably create a new one to replace the raw
cache.Store
s by the newerSharedIndexInformer
. This will allow us to:EventStore
(we can set event handlers directly with the Informer interface)cache.Store
s and castings (we can create listers like PodLister using the indexer).TODO: