Commit Graph

46 Commits (ea4b2eeb68a1dd38510ab1d3f7bae72edd077b17)

Author SHA1 Message Date
Sergii Kabashniuk ea4b2eeb68
Decoupled monitoring configuration and deployment (#13152)
* Decoupled monitoring configuration and deployment

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-06-07 09:23:13 +03:00
Lukas Krejci c4726cc725
Attempt to create the che project multiple times if it was previously deleted. (#13443)
Attempt to create the che project multiple times if it was previously
deleted.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-06-03 14:33:35 +02:00
Sergii Leshchenko 6ba43f00d8
Integrate Che Server with Devfile Registry (#13430)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-05-30 13:30:15 +03:00
Oleksandr Garagatyi 3e6d195f48 Configure new plugin registry and broker
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-05-13 16:38:32 -04:00
Oleksandr Garagatyi 35ce3544f7
Adapt UD and wsmaster to new plugin notation (#13204)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-05-02 09:50:01 +03:00
Oleksandr Garagatyi bbd4e10778 Change default plugin registry image
Change default plugin registry image to one pushed to quay.io
2019-04-28 09:03:33 +03:00
Sergii Leshchenko 5bfe67b7e7 Increase failure threshold instead of removing probes
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-04-03 11:16:40 +03:00
Sergii Kabashniuk acfee5a206
Deployment of tracing/monitoring/debug on OpenShift (#12683)
* Deployment of tracing/monitoring/debug on OpenShift

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-19 13:56:29 +02:00
Sergii Leshchenko b0754087f5
Added an ability to deploy Che Plugin Registry with argument for deploy_che.sh script (#12310) 2019-01-09 11:26:49 +02:00
Sergii Leshchenko 31d39ae363 Create or update oauth client instead of try to create a new one 2018-12-11 15:59:08 +02:00
Sergii Leshchenko b22b5fddc5 Remove supressing output/input during execution 2018-12-11 15:59:08 +02:00
Sergii Leshchenko 0dbf9e185e Add an ability to specify self-signed certificate during deploying che 2018-12-11 15:59:08 +02:00
Sergii Leshchenko 5cad285d74 Add more info about current deploying state 2018-12-11 15:59:08 +02:00
Sergii Leshchenko abe0a19232 Add an ability to set up oauth provided from deploy_che.sh with the argument 2018-12-11 15:59:08 +02:00
Sergii Leshchenko cd1153f471 Add settings in deploy_che.sh script 2018-12-11 15:59:08 +02:00
Sergii Leshchenko 7d6ea15850 Add parameter to ocp.sh to deploy Che with SSL enabled 2018-12-05 13:18:06 +02:00
Sergii Leshchenko b3a6f94bf5 Fix creating of oauth client when SLL is enabled 2018-12-05 13:18:06 +02:00
Sergii Kabashniuk 8a38002dd9
Basic tracing support for OpenShift (#11844)
Basic tracing support for OpenShift (#11844)
2018-11-09 14:42:52 +02:00
Sergii Kabashniuk b53c0e5825
PostgreSQL debug mode (#9343)
* Added eclipse/che-postgres:nightly-debug image to run postgresql with configured logger format compatible with pgbadger reporting tool
2018-10-31 09:54:38 +02:00
Oleksandr Garagatyi a44570e2f8 CHE-11408: Disable probes of Che master when debug is enabled
Remove readiness/liveness probes from Che deployment when debug is
enabled.
This allows to debug Che master for a long period of time without
Che container being killed because of unresponsive probes.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-10-01 09:31:47 +03:00
Sergii Kabashniuk e53b34b2b1
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL (#11354)
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL
2018-09-26 14:01:02 +03:00
Sergii Leshchenko 41b14c71b6
Make OpenShift infrastructure to create workspace service account if needed (#11199) 2018-09-21 08:50:25 +03:00
Sergii Leshchenko b10c305d10 CHE-10991 Add creating of workspace service account in deployment Che on OpenShift 2018-09-13 11:03:09 +03:00
Sergii Kabashniuk 77a00179db
Add che.workspace.plugin_registry_url information to workspace/settings Rest method (#11015)
Add che.workspace.plugin_registry_url information to workspace/settings Rest method
2018-09-04 10:09:20 +03:00
Eugene Ivantsov 733d7bbd34
Multiple changes to deploy scripts (#11025)
* Multiple changes to deploy scripts

* Remove debug echo

* Fix formatting

* Fix formatting

* Fixup
2018-09-03 14:38:14 +03:00
Oleksandr Garagatyi 27bed82d5c
CHE-10561: Rework WS.NEXT flow to latest concept of plugin broker (#10740)
* Move wsnext flow in Kubernetes infra implementation

Now we need to start a broker and pass meta.yaml files to it.
Starting a broker is infra-specific stuff, so it has to be done
on the infra implementation side because we don't have a part
in the infra SPI that would allow us to start a broker.
Passing Meta files using InternalEnvironment object is more
invasive than passing only attributes. So, this commit applies
less invasive scheme.

* CHE-10202,10561: Add fetching of Che editor, plugins meta from the registry

Add fetching of Che editor ID from workspace attributes.
Add fetching of Che plugins IDs from workspace attributes.
Use colon sign for separating editor/plugin ID and version
instead of the slash.
Remove old Workspace.Next model objects.

* CHE-10561: Share WS.NEXT between k8s and OS infras

Use WS.NEXT in both k8s and OS infrastructure implementations.

* CHE-10561: fix fetching meta.yaml files from che-plugin-registry

* CHE-10561: Fix sidecar model serialization

Fixes the fact that some fields in workspace sidecar tooling model
POJOs were incorrectly named or required custom serialization of
fields.

* CHE-10561: Add listening of che-plugin-broker

Add code that allows listening for events from Che plugin broker.
An event might contain workspace tooling config as a result if the broker
finished successfully or error otherwise.

* CHE-10561: Add PluginBrokerManager to control broker lifecycle

Adds PluginBrokerManager that configures/starts/waits Che plugin
broker.

Remove unused code.
Remove notion of Workspace next.

* Align plugin registry property between different components

* Fix extra  path in che plugin registry URL

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-03 08:57:32 +03:00
Dmytro Nochevnov 265e044e0a
Fix path to OCP oauth certificate (#11010)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-31 13:57:08 +03:00
Sergii Kabashniuk 2b7ebd8f85
Added ability to deploy che plugin registry with ocp.sh (#10954)
Added ability to deploy che plugin registry with ocp.sh ./ocp.sh --deploy-che --deploy-che-plugin-registry
Add environment variableCHE_PLUGIN_REGISTRY_URL for che-master with a link to che plugin registry
2018-08-30 10:18:51 +03:00
Eugene Ivantsov 193a395f87
Merge pull request #10766 from eclipse/openshift_v_3_10
Multiple changes to deploy scripts
2018-08-22 20:52:57 +03:00
Eugene Ivantsov e5ed7028ae Remove local dir. Fix path to crt file 2018-08-21 12:28:38 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Eugene Ivantsov 3eb094a7c1 Multiple changes to deploy scripts 2018-08-14 12:39:45 +03:00
Angel Misevski 44588aa775 Remove unnecessary properties from kubernetes/OS infrastructure
Removes properties

- che.infra.kubernetes.username : can change, requiring reconfiguration
- che.infra.kubernetes.password : can change, requiring reconfiguration
- che.infra.kubernetes.oauth_token : expires

as they complicate setup and all represent suboptimal running scenarios.
Use che serviceaccount instead.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-08-07 10:11:12 -04:00
Dmytro Nochevnov 363126c7a5
Fix start of workspaces of Eclipse Che Singleuser on OCP (#10146)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-22 10:30:26 +03:00
Roman Iuvshyn 86a56b0133
Update deploy_che.sh (#10126) 2018-06-21 10:37:28 +03:00
Dmytro Nochevnov c55a2db96c
Setup OCP to create objects under the certain user account (#10114)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-20 12:41:27 +03:00
Eugene Ivantsov 5fed493c90 Fix ocp.sh 2018-06-13 09:19:09 +03:00
Dmytro Nochevnov 6c0f87c29a
Wait until Che is available when deploying it on OCP (#9783)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-05-23 23:13:21 +03:00
Sergii Leshchenko 459acb5bb6 Fix project parameter usage example in deploy_che.sh script 2018-05-17 11:50:00 +03:00
Sergii Leshchenko 279d85b728 Add name of an unknown argument in error message 2018-05-04 17:36:01 +03:00
Eugene Ivantsov a22a2b3510
Update deploy_che script (#9513)
* Update OpenShift Origin version to 3.9

* Deploy script uses templates

* Pass args to deploy script

* Remove old scripts and yamls

* Add missing args to ocp.sh help and and help to deploy_che.sh

* Small fixes

* Remove mistakenly added file

* Remove mistakenly added file

* Remove -a in docker ps to get registry container

* Do not pass args but export envs in ocp.sh

* Messed envs a bit

* Delete test service that is used to compute routing suffix

* Remove unnecessary port from Keycloak route

* Fixes

* Fixes

* Typo

* Minor fixes
2018-05-04 11:36:41 +02:00
Anton Korneta 0afb356487 Disable che-data pvc creation for musltiuser che deployment 2018-03-28 11:17:20 +03:00
Roman Iuvshyn e2e8ad95ae fix wait CHE pod in deploy script
both `available` and `progressing` should be "True" to treat deployment as successful
2018-03-22 16:30:16 +02:00
Roman Iuvshyn 67e95e9eaf fix deploy che multiuser
make KC configuration before CHE pod start
2018-03-22 14:44:03 +02:00
Roman Iuvshyn bd3c1956a2
fix deploy_che.sh ability to be launched from any place (#9165)
* fix deploy_che.sh ability to be launched from any place
2018-03-21 14:31:51 +02:00
Oleksandr Garagatyi d047863484 Move deployment files out of dockerfiles folder
Move openshift/k8s deployment files from dockerfiles/init folder
to deploy folder with a better structure because they are not
related to init dockerfile.
Add readme files in each deployment target folder with links to
Che docs where the process of deployment is described.
Remove delivery of deployment files by init image which is
useless.
Remove empty docs files from the repo and init image.
Fix some minor typos and trailing spaces.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-03-20 22:13:24 +02:00