-
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
Add Kubernetes Job support to Weave Scope #3609
Conversation
This covers: - Implementation of the job resource in probe - Reporter changes for the job - Add Describe Control to the job - Pass job object to the kube controller renderer ToDo: - Need to decide the shape for the Job. Signed-off-by: Satyam Zode <satyamzode@gmail.com>
Just an idea, we can have the |
That's awesome, thanks!
Sure, you can also add me as a reviewer for your PR in |
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.
The code LGTM! 👍
I'll test out the behavior once the final changes are in.
report/report.go
Outdated
@@ -297,6 +302,10 @@ func MakeReport() Report { | |||
WithTag(Camera). | |||
WithLabel("volume snapshot data", "volume snapshot data"), | |||
|
|||
Job: MakeTopology(). | |||
WithShape(StorageSheet). |
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.
Just a reminder to replace this with DottedTriangle
once we get the new shape from ui-components
.
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.
Yes!
@qiell The new |
- Include shape for dottedtriangle Signed-off-by: Satyam Zode <satyamzode@gmail.com>
Signed-off-by: Satyam Zode <satyamzode@gmail.com>
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.
LGTM 👍
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.
It worked nicely for me, good job! 👍
Just one small thing before merging - could you please add the get
verb to the batch
API group for jobs in examples/k8s/cluster-role.yaml
? Otherwise the describe action is forbidden when trying to run the examples.
Signed-off-by: Satyam Zode <satyamzode@gmail.com>
Good catch @fbarl! I updated the examples. |
This covers:
1. Jobs in the controllers topology (In the square shape)
2. Job weave scope native description
3. Job control option, kubectl describe
TODO:
Need to decide the shape for the Job.fixes: #3362
Signed-off-by: Satyam Zode satyamzode@gmail.com