-
Notifications
You must be signed in to change notification settings - Fork 17
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
adding status updater / device plugin for kwok nodes #91
Conversation
234abe6
to
da9a600
Compare
c249f8d
to
8bacea1
Compare
8bacea1
to
62b10f0
Compare
1e69249
to
d81ff8d
Compare
d81ff8d
to
4e370cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing. Thank you!
c := &ConfigMapController{ | ||
kubeClient: kubeClient, | ||
cmInformer: informerFactory.Core().V1().ConfigMaps().Informer(), | ||
nodeLister: informerFactory.Core().V1().Nodes().Lister(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the node lister?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I will remove it
|
||
type ConfigMapController struct { | ||
kubeClient kubernetes.Interface | ||
cmInformer cache.SharedIndexInformer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to keep it in the struct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I will remove this
informerFactory informers.SharedInformerFactory | ||
handler cmhandler.Interface | ||
|
||
clusterTopology *topology.ClusterTopology |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to keep it in the struct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I will remove this
No description provided.