Skip to content
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

Refactored and updated according to kubernetes 1.9 and openshift 3.9 #1103

Merged
merged 9 commits into from
Jul 9, 2018

Conversation

piyush-garg
Copy link
Contributor

@piyush-garg piyush-garg commented Jun 23, 2018

Fixes #1020

@piyush-garg
Copy link
Contributor Author

So all the client work has been done, now we need to release model to reflect here and all tests(unit and rt) passed on my local system.

@hrishin @oscerd @rohanKanojia @iocanel

Copy link
Member

@hrishin hrishin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is huge work @piyush1594. Thank you for it 👍

Could you please add regression test with OpenShift 3.9 and update the compatibility matrix.

@piyush-garg
Copy link
Contributor Author

@hrishin Upgraded with openshift 3.9.0 RT job and also latest released Kubernetes-Model 3.0.0 🎉

@hrishin
Copy link
Member

hrishin commented Jul 2, 2018

@piyush1594 @rohanKanojia what shall we do for OS 3.6, 3.7 RT's?

@hrishin
Copy link
Member

hrishin commented Jul 2, 2018

@piyush1594 could you please update the compatibility table?

@piyush-garg
Copy link
Contributor Author

piyush-garg commented Jul 2, 2018

@hrishin I can add that, but before this, I want to discuss 3.6, 3.7 jobs as they will not work. This upgrade will be usable for 3.9 only. @iocanel @oscerd Please have a deep look at PR and let me know your thoughts.

Copy link
Member

@iocanel iocanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@piyush-garg
Copy link
Contributor Author

Thanks @iocanel, will update the compatibility matrix and docs after CI get passes.

@piyush-garg
Copy link
Contributor Author

@hrishin Updated the compatibility matrix and also added docs regarding the major changes.

Copy link
Member

@hrishin hrishin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Just to ensure about client.extensions() deprecated API's sets, can one IT case for each? (though interceptor is adding the right API version)

@piyush1594

}

@Test
public void load() {
Deployment aDeployment = client.extensions().deployments().inNamespace(currentNamespace).load(getClass().getResourceAsStream("/test-deployments.yml")).get();
Deployment aDeployment = client.apps().deployments().inNamespace(currentNamespace).load(getClass().getResourceAsStream("/test-deployments.yml")).get();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also ensure about client.extensions()? one use case is sufficient

@@ -74,13 +79,13 @@ public void init(){
.endSpec()
.build();

client.extensions().networkPolicies().create(networkPolicy);
client.network().networkPolicies().create(networkPolicy);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also ensure about client.extensions()? one use case is sufficient

@iocanel
Copy link
Member

iocanel commented Jul 9, 2018

@piyush1594 @hrishin: This is a major blocker for us and I'd like to have this merged as soon as possible. Please let me know if there are things I can do to help with this PR.

Also, does anyone know why tests in CircleCI 3.6.0, 3.6.1, 3.7.0 take so long to run?

@oscerd
Copy link
Member

oscerd commented Jul 9, 2018

What's the situation with 3.9 and 1.9 support?

images in container to run test smoothly and fast
and also lessing down replicas in replica set

Replica down to 1
@piyush-garg
Copy link
Contributor Author

@iocanel @oscerd @hrishin All checks passed 🎉

@iocanel iocanel merged commit bc10cc8 into fabric8io:master Jul 9, 2018
@iocanel
Copy link
Member

iocanel commented Jul 9, 2018

Thanks @piyush1594 !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants