-
Notifications
You must be signed in to change notification settings - Fork 252
SUBMARINE-1109. Java k8s client version from 6 upgrade to 11 #820
Conversation
pingsutw
left a comment
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.
Others LGTM, thanks.
...tter/submitter-k8s/src/main/java/org/apache/submarine/server/submitter/k8s/K8sSubmitter.java
Outdated
Show resolved
Hide resolved
KUAN-HSUN-LI
left a comment
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.
+1
1b8f33e to
e2d2a9c
Compare
KUAN-HSUN-LI
left a comment
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.
There were some mistakes in fixing the conflict
| istioVirtualService.getPlural(), | ||
| istioVirtualService, | ||
| "true"); |
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.
This is a mistake of replace istioVirtualService with seldonDeployment
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.
Oh, you're right. I'll fix it ASAP.
| api.deleteNamespacedCustomObject(istioVirtualService.getGroup(), | ||
| istioVirtualService.getVersion(), | ||
| "default", | ||
| istioVirtualService.getPlural(), | ||
| istioVirtualService.getMetadata().getName(), | ||
| new V1DeleteOptionsBuilder().withApiVersion(istioVirtualService.getApiVersion()).build(), | ||
| null, null, null); |
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.
Don't remove the istioVirtualService
|
@noidname01 Some tests are failed. It seems like the import error |
Yeah I know, seems that I screw it when rebasing🥲 |
|
@KUAN-HSUN-LI fixed! |
What is this PR for?
The version of k8s client we use is almost out of date, and lacks many features, like CustomResources Management, Generic Api and more concise function.
What type of PR is it?
[Improvement]
Todos
None
What is the Jira issue?
SUBMARINE-1109. Java k8s client version from 6 upgrade to 11
How should this be tested?
None
Screenshots (if appropriate)
None
Questions: