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

feat: kubernetes keycloak deployment strategy #17304

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

kesslerdev
Copy link
Contributor

What does this PR do?

Allow to set the deployment strategy, for the keycloak deployment chart
the default strategy RollingUpdate fail if multiattach is not supported by volumes

@che-bot che-bot added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 1, 2020
@@ -15,3 +15,4 @@ image: quay.io/eclipse/che-keycloak:nightly
requireAdminPasswordChange: true
keycloakAdminUserName: admin
keycloakAdminUserPassword: admin
deploymentStrategy: RollingUpdate
Copy link
Member

Choose a reason for hiding this comment

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

Allow to set the deployment strategy, the default RollingUpdate fail if multiattach is not supported by volumes

I think in most cases it won't be supported. What about setting default to recreate which mean - introduce an ability to override default but not change the behavior we already have?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but other charts postgres, che, already have Recreate as deploy strategy

@che-bot
Copy link
Contributor

che-bot commented Jul 2, 2020

Can one of the admins verify this patch?

1 similar comment
@che-bot
Copy link
Contributor

che-bot commented Jul 2, 2020

Can one of the admins verify this patch?

@tolusha
Copy link
Contributor

tolusha commented Jul 15, 2020

[test]

@dmytro-ndp
Copy link
Contributor

[ci-build]

@dmytro-ndp
Copy link
Contributor

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Jul 15, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Jul 15, 2020

@tolusha: commands to trigger CI jobs:

[ci-build] - ci.centos.org PR check (build)
[ci-test] - ci.centos.org PR check (java-selenium-tests)
[crw-ci-test] - crw-ci-e2e-happy-path-tests 

@che-bot
Copy link
Contributor

che-bot commented Jul 15, 2020

E2E tests of Eclipse Che Multiuser on OCP has been successful:

@tolusha
Copy link
Contributor

tolusha commented Jul 15, 2020

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Jul 15, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@tolusha
Copy link
Contributor

tolusha commented Jul 29, 2020

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Jul 29, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@mmorhun
Copy link
Contributor

mmorhun commented Jul 29, 2020

cc @dmytro-ndp could you please take a look why the tests failed? Looks like not PR related. Thanks.

@mmorhun
Copy link
Contributor

mmorhun commented Aug 19, 2020

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Aug 19, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@Ohrimenko1988
Copy link
Contributor

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Aug 20, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@flacatus
Copy link
Contributor

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Aug 27, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@dmytro-ndp
Copy link
Contributor

@kesslerdev: PR needs to be updated from master branch, to fix Happy path tests build error:

[Build Che including upstream projects] [ERROR] The build could not read 1 project -> [Help 1]
[Build Che including upstream projects] [ERROR]   
[Build Che including upstream projects] [ERROR]   The project org.eclipse.che.docs:che-docs:7.13.0-SNAPSHOT (/mnt/hudson_workspace/workspace/Multiuser-Che-PR-check-E2E-Happy-path-tests-against-k8s/eclipse/che-docs/pom.xml) has 1 error
[Build Che including upstream projects] [ERROR]     Non-resolvable parent POM for org.eclipse.che.depmgt:maven-depmgt-pom:7.13.0-SNAPSHOT: Could not find artifact org.eclipse.che.parent:maven-parent-pom:pom:7.13.0-SNAPSHOT in ossrh (https://oss.sonatype.org/content/repositories/snapshots/) @ org.eclipse.che.depmgt:maven-depmgt-pom:7.13.0-SNAPSHOT, /home/hudson/.m2/repository/org/eclipse/che/depmgt/maven-depmgt-pom/7.13.0-SNAPSHOT/maven-depmgt-pom-7.13.0-SNAPSHOT.pom, line 17, column 13 -> [Help 2]

@mmorhun
Copy link
Contributor

mmorhun commented Sep 16, 2020

@kesslerdev please rebase your changes. Then we can merge this PR.

kesslerdev and others added 2 commits September 21, 2020 16:23
Allow to set the deployment strategy, the default RollingUpdate fail
if multiattach is not supported by volumes

Signed-off-by: Jean-François Monnier <kessler.dev@gmail.com>
Signed-off-by: Jean-François Monnier <kessler.dev@gmail.com>
Co-authored-by: Serhii Leshchenko <sleshche@redhat.com>
@kesslerdev
Copy link
Contributor Author

@kesslerdev please rebase your changes. Then we can merge this PR.

Done !

@tolusha
Copy link
Contributor

tolusha commented Sep 22, 2020

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Sep 22, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@flacatus
Copy link
Contributor

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Sep 22, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@tolusha
Copy link
Contributor

tolusha commented Sep 23, 2020

The only failed tests is related java ls which is a known issue.
The PR is ready to merge.

@benoitf
Copy link
Contributor

benoitf commented Sep 23, 2020

[ci-build]

@mmorhun mmorhun merged commit ecdb54e into eclipse-che:master Sep 23, 2020
@mmorhun
Copy link
Contributor

mmorhun commented Sep 23, 2020

@kesslerdev thank you for contribution.

@che-bot che-bot added this to the 7.20 milestone Sep 23, 2020
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Sep 23, 2020
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.

None yet

9 participants