Commit Graph

144 Commits (69d3480fbffa62b2861d8ca71fbb614aecee3fda)

Author SHA1 Message Date
John Collier 7ac34636bc Add option to specify additional cluster role for workspaces. (#13178)
Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-04-26 19:34:28 +02:00
John Collier febc6a4b56 Add option to enable Postgres debug logs in the Che Helm chart (#13093)
Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-04-11 11:28:42 +03:00
Oleksandr Andriienko 0ce0408863
Fix licence year for some files. (#13082)
* Fix licence year.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Revert changes for .sql files

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Revert more sql files.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-04-11 10:14:48 +03:00
Mykhailo Kuznietsov e0226c891a
Add metrics for number of users (#13001) 2019-04-04 11:01:02 +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
Masaki Muranaka dbe72d1478
Merge pull request #12970 from stnnguyen95/master
Running Che and workspaces as non-root in a Kubernetes cluster.
2019-03-29 13:23:57 +09:00
John Collier 86436a88e6 Allow sidecar containers to list Kubernetes services by default (#12983)
* Allow workspace pods to list Kubernetes services by default
* Update workspace-view-role.yaml to allow listing
of Kubernetes services
* Allow sidecar containers to list services on OpenShift
* Add services resource to workspace-view role for OpenShift

Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-03-28 15:25:55 +02:00
Son Nguyen 15fcd712c5 Running Che and Che workspaces as a non-root in a Kubernetes cluster.
Signed-off-by: Son Nguyen <son.nguyen@softwareag.com>
2019-03-26 01:01:50 -04:00
M J Shashank 570b0de3aa Fix typo in metrics ingress (#12601)
Signed-off-by: M J Shashank <iamshashankmj@gmail.com>
2019-03-21 09:26:24 +02:00
John Collier 7948770831 Add option to Che deployment.yaml to allow self-signed certificates (#12874)
Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-03-19 08:23:39 +01:00
Sergii Kabashniuk fb93ef7c06
Workspace start time metrics (#12859)
* Workspace start time metrics

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-15 09:50:46 +02:00
Mykola Morhun eec3b38fa6
Fix Che 6 workspaces on multiuser deployment (#12877)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2019-03-14 17:39:11 +02:00
Sergii Kabashniuk 7a1d3964a6
Successfully started workspaces ratio (#12852)
Successfully started workspaces ratio

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-12 13:25:11 +02:00
Eugene Ivantsov a9b952297a
Create view role rather than rely on view clusterRole (#12789)
* Create view role rather than rely on view clusterRole

* Create view role for k8s. Fix typo

* Typo and Java doc sync

* Add namespaced role to k8s and openshift templates. Role instead ClusterRole for k8s

* Rename view role to workspace-view

* Fix formatting

* Fix javadoc. Revent erroneous changes to postgres template

* Remove hidden Dockerfile

* Revert pg changes
2019-03-11 18:20:37 +02:00
Sergii Kabashniuk a5b06d444f
Introduced two web-socket endpoints for workspace master to split JSON-RPC messages (#12673)
* Introduced two web-socket endpoints for workspace master to split JSON-RPC messages
Based on Dmytro's Kulieshov  work https://github.com/eclipse/che/pull/12252

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-27 13:29:43 +02:00
Sergii Kabashniuk 577eba85ea
Add ProcessMemoryMetrics ProcessThreadMetrics (#12749)
* Add ProcessMemoryMetrics ProcessThreadMetrics

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-26 14:47:41 +02: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
David Martin 892d16a23e Add keycloak realm & client id parameters (#10646)
When using an existing Keycloak instance, it may be necessary to specify a particular realm or client.
This allows them to be speicfied at install time via parameters.

Signed-off-by: David Martin <david.martin@redhat.com>
2019-02-11 09:16:20 +02:00
WeiYan 76417012f6 Fix link for deploying multi-user che to kubernetes (#12623)
Signed-off-by: Wei Yan <ywskycn@gmail.com>
2019-02-08 11:40:21 +02:00
Sergii Kabashniuk 3b43f8d8c1
Used non-blocking randomizer for Che master on OpenShift (#12563)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-01-31 16:03:50 +02:00
Angel Misevski 40131c332e Enable precreate subpaths property by default in templates
The property CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS is required
for PVC cleanup on current versions of Kubernetes/OpenShift.

Without the property enabled, subpaths are created in PVCs by Kubernetes
when they are needed for pods. However, only the leaf directory created
in this way has write permissions for nonroot users. As a result, the
cleanup pod cannot delete directories created (e.g. the
workspaceX/projects) directory.

For more details, see https://github.com/eclipse/che/issues/12445

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-01-25 19:31:46 -05: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 51f945a550
Use 'envFrom' in Che Deployment instead of duplicating of entries from config map (#12289) 2019-01-03 11:27:48 +02:00
Mykhailo Kuznietsov 69288516c8
Upgrade Tomcat and change default CORS configuration (#12144) 2018-12-22 10:56:27 +02:00
Lukas Krejci adec44ae9a Only deploy metrics ingress if metrics are enabled.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2018-12-14 11:21:56 +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
Innovimax f95511f2ef FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
FIX Typo "doesn't exists" -> "doesn't exist" (#12154)
2018-12-11 09:37:04 +02:00
Sergii Leshchenko 331a63cd06 Rename OPENSHIFT_IDENTITY_PROVIDER_CERTIFICATE to CHE_SELF__SIGNED__CERT 2018-12-05 13:18:06 +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
Lukas Krejci d789f290dd Add prometheus and grafana to the Helm chart (#12088)
* Adds prometheus and grafana as to the deployment

moves che's custom charts into "custom-charts" directory so that they don't
interfere with helm which uses the "charts" directory to download and use
all the other remote dependencies.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>

* Deploy our own ingress for prometheus and grafana so that we can have
templatized names of the same format as the same of the deployment.

Also removed the hardcoded time interval in the sample dashboard so that
it uses the default of "last 6 hrs".

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>

* New lines at the end of the files and whitespace removal.
2018-12-05 13:06:35 +02:00
Lukas Krejci 55022e22cd Introducing Jaeger tracing support to the Che Helm chart. (#12049)
Introducing Jaeger tracing support to the Che Helm chart. (#12049)

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2018-12-04 16:20:49 +02:00
Mykhailo Kuznietsov 3d366a1c19
Add ability to change CORS configuration on Che Server through env vars (#12046) 2018-12-04 14:56:38 +02:00
Shashank MJ 4f991e77df set PROXY_ADDRESS_FORWARDING in keycloak deployment when tls is enabled 2018-11-30 17:09:17 +02:00
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Eugene Ivantsov cc1fb31ec4
Use proxy forwarding (#11137)
* Use proxy forwarding

* Double quotes for bool
2018-11-20 06:55:08 +02:00
Sergii Leshchenko 8514aae427 Update comment about helm chart parameter 2018-11-15 14:43:51 +02:00
Mykhailo Kuznietsov bbc7e7d751
Remove pure kubectl deployment (#11894) 2018-11-14 10:00:05 +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 Leshchenko a204733883 CHE-11349 Update helm chart to configure default service account (PR #11834) 2018-11-08 08:36:42 +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 Andriienko a6b945728e
Fix view rolebinding for kubernetes. (#11629)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-10-17 14:20:12 +03:00
Sergii Leshchenko 79e2813a10 Set Plugin Broker pull policy according to parameter 2018-10-04 21:12:36 +03: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