Commit Graph

224 Commits (a92c8bfe72cf50662f685c8fec12ca48c65d7cee)

Author SHA1 Message Date
Anatolii Bazko ca5fc35d33
Remove deploy.sh (#16376)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-17 11:49:10 +02:00
Michal Vala 14cea1b912
Logwatchers metrics (#16285)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

* add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

* set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* watch current logwatch instances

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix module version in pom.xml, fix log message grammar, format

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

explicitly set charset when counting runtime log bytes

Signed-off-by: Michal Vala <mvala@redhat.com>

* javadoc and fix pom module dependency

Signed-off-by: Michal Vala <mvala@redhat.com>

* tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* add grafana dashboard graph with current watchers

Signed-off-by: Michal Vala <mvala@redhat.com>

* removed infrastructure-metrics module

Signed-off-by: Michal Vala <mvala@redhat.com>

* Revert "removed infrastructure-metrics module"

This reverts commit 16392f5936378204031330971e0a874aacf0723a.

* moved CurrentLogwatchersMeterBinder into own maven and guice module and events into kubernetes module

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-11 13:12:08 +01:00
Michal Vala 7ec8158fed
Runtme log metrics (#16263)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

explicitly set charset when counting runtime log bytes

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-10 11:12:45 +01:00
Michal Vala 6beb2cdfca
count workspace starts in debug mode (#16210)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix grafana datasource

Signed-off-by: Michal Vala <mvala@redhat.com>

* set mins for workspace start attempts grafana graphs

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-10 10:12:32 +01:00
Igor Vinokur 95fc64fdc9
Add an ability to add public key certificate to Java trust store (#16006) 2020-03-04 10:50:33 +02:00
Igor Vinokur cbaf94e69c
Apply OpenShift OAuth provider (#15963) 2020-03-04 10:49:25 +02:00
Mykola Morhun 98b36c7f1e
Move cert-manager related templates into Che repository (#16144)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-02-26 17:28:40 +02:00
Mykola Morhun 579cb67548
Remove selfSignedCertSecretName property (#15878)
* Remove selfSignedCertSecretName property

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-02-26 11:26:31 +02:00
Lukas Krejci 84cbaecfb1
Add a configuration property to the helm chart to not define liveness and (#15429)
readiness probes on che server. This is helpful when debugging and pausing
the server for a longer time.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2020-01-30 12:59:43 +01:00
Sergii Kabashniuk d98602c371
Replace hardcoded prometheus datasource with template (#15767)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-22 08:16:28 +01:00
Oleksandr Andriienko d13f9d3ecb
Add ability to set up Che workspace and postgress pvc class names using helm. (#15677)
*  Add ability to set up Che workspace and postgress pvc names using helm.

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

* improve helm value chePostgresPVCStorageClassName location

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

* Fix indent in the yaml.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-01-16 12:30:21 +02:00
Masaki Muranaka 9d6cb68aa8
Merge pull request #15227 from kellyhyomin/che-15168
Update prometheus and grafana version in requirement.yaml file to be compatible with k8s v1.16
2020-01-14 09:33:24 +09:00
Vitalii Parfonov c07e261ee3
Move to the quay.io (#15569)
* Move to the quay.io: change image id to use quay.io

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-11 16:11:34 +02:00
Sergii Kabashniuk 2e38478b4c
Disable CORS by default in helm (#15637)
* Disable CORS by default in helm. Align helm and che-operator configuration
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-09 09:54:52 +01:00
Mario Loriedo 8845446c2a Fix missing {{end}} in helm chart template
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2019-12-18 22:10:12 +01:00
Kelly(hyomin.kim) 48751373e7 Add spec.selector field in che-jaeger deployment.yaml (#15498)
Signed-off-by: 김효민 <hmkim@popcornsar.com>
2019-12-18 10:51:43 +02:00
Masaki Muranaka b06e062e4d Enable to set the value `che.workspace.plugin_broker.wait_timeout_min`
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-12-17 06:28:28 +09:00
hmkim 5454f5670b Update prometheus and grafana version in requirement.yaml file to be compatible with k8s v1.16
Signed-off-by: hmkim <hmkim@popcornsar.com>
2019-12-11 13:44:52 +09:00
Lukas Krejci b2b6f5f488
User selection of the workspace namespace/project (#15040)
Enrich `RuntimeIdentity` with `infrastructureNamespace` property so that it can be used by the namespace/project factories to create/obtain appropriate namespaces for the workspaces and make use of it throughout the workspace provisioning.

Add an explicit query parameter to assign a workspace to a specific namespace, if possible, at workspace creation time.
2019-11-28 14:36:25 +01:00
Vitalii Parfonov 1b2a484f32
Support git operation for repos with self-signed SSL certs (#15218)
* Support git operation for repositories with self-signed SSL certs
2019-11-21 17:29:52 +02:00
Sergii Leshchenko fcc628fe0f
Add an ability to configure PVC strategy with helm chart (#15142)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-11-21 10:49:27 +02:00
Sergii Kabashniuk 29aa04cb2f
Provide metrics of k8s API execution (#15207)
* Provide metrics of k8s API execution
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-20 08:17:04 +01:00
Angel Misevski d205b84c94 Remove/update deprecated machine start timeout env var in templates
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-11-13 12:44:24 -05:00
Sergii Kabashniuk 3de4e7ffac
Monitoring & Tracing capability for multiple Thread pools of Che Server (#14727)
* Monitoring & Tracing capability for multiple Thread pools of Che Server
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-30 14:11:02 +01:00
Tom George ab5113e8eb Set postgres deployment to use recreate deployment strategy
Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-30 11:47:49 +01:00
Lukas Krejci 7d56354a5e
Use che.infrastructure.kubernetes.namespace.default during workspace namespace resolution (#14828)
Load the workspace during then namespace resolution so that we can check
for the attribute stored in the workspace attributes.

Switch the default namespace to `<username>-che`.

Update the property descriptions in che.properties and use the new
CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT in the helm chart.

Move the delete to the KubernetesNamespace/OpenShiftProject to
concentrate the handling in one place.

Split the isNamespaceStatic() (previously called isPredefined()) into
isCreatingNamespaces() and isManagingNamespaces() to separately capture
the two usecases in which that single method was previously incorrectly
called. Also make these methods workspace-specific to be able to
consistently work with the legacy logic across all methods.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-10-23 13:22:51 +02:00
Tom George 6889118aa2 Change grafana configuration to match hosted che configuration (#14684)
* Change grafana configuration to match hosted che configuration

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-04 12:54:18 +02:00
Sergii Kabashniuk 6a09c52253
Changed default idle timeout and limit of running workspaces per user (#14747) 2019-10-04 09:34:18 +02:00
Mario Loriedo a684d211d6 Update Deployments yamls in helm charts to be compatible with k8s v1.16
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2019-10-03 12:18:00 +02:00
Tom George 3eaa9f2055 Set Y axis unit to none (#14682)
Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-01 08:52:33 +02:00
Mykhailo Kuznietsov 8fd46cd4d6
Minor fixes to new Che workspace Grafana panels (#14626) 2019-09-25 17:28:14 +03:00
Tom George 053b2fd304 Change grafana dashboards for number of workspaces/users to be graphs with axes (#14588)
che #14155 Change grafana dashboards for number of workspaces/users to be graphs that show axes, legends. Create a new "Users" panel

Signed-off-by: Tom George <tg82490@gmail.com>
2019-09-25 10:15:55 +02:00
Mykhailo Kuznietsov 4ba2ec72ee
Add new Tomcat metrics dashboard in Grafana (#14578) 2019-09-19 16:07:46 +03:00
Mykhailo Kuznietsov ea77052d10
Add workspaces started under 60 seconds ratio panel (#14533) 2019-09-17 11:38:02 +03:00
Mykhailo Kuznietsov 8ab8c2a38f
Add Grafana panels with workspace traces metrics (#14500) 2019-09-12 14:01:56 +03:00
Samuel Hogg 10c9c2476c Correct Che image tag in Helm Chart values file (#14396)
Signed-off-by: Sam Hogg <sam.hogg@arm.com>
2019-09-11 12:18:43 +02:00
Mykhailo Kuznietsov 40ee503a05 Remove Stack service (#14078)
* Remove Che6 Stack concept

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-09-03 08:00:12 +02:00
Lukas Krejci af26d29b96
Generalize the ingress configuration to support single-host in single-user mode on kubernetes (#14134) 2019-08-26 16:27:52 +02:00
Vitalii Parfonov 608882a3ee
use the latest nightly image, adapt e2e tests for new behavior of debug settings in Theia (#14285)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-23 07:30:12 +03:00
Vitalii Parfonov c732524e4d
Set che-plugin-registry image version to 7.0.0 (#14278)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-19 15:34:25 +03:00
Vitalii Parfonov c3b0abbe5d
Set all image version to the 7.0.0 to align it with CheTheia version (#14264)
* Set all image version to the 7.0.0 to aligen it with CheTheia version until #14248 not fixed

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-16 17:34:38 +03:00
Vitalii Parfonov f57a95e22c set plugin registry image to nightly
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-16 13:27:44 +02:00
Vitalii Parfonov e08d24c7ff set 7.0.0 version for plugin registry
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-15 17:07:16 +02:00
Sergii Leshchenko f24796bd2a
Use different secrets for TLS and self-signed-cert (#14176)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-08-12 13:01:55 +03:00
Michal Vala 1af529cc4b increase registries memory limit to 256Mi in helm charts (#14135)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-08-06 14:57:21 +02:00
Vitalii Parfonov e743a4124e
Set 'next' version for che-machine-exec as default (#14061)
* Set 'next' version for che-machine-exec as default

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>

* Use 'nightly' images instead of 'latest'. Change organization 'openshiftio->eclipse'

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-01 10:48:00 +03:00
Sergii Leshchenko 32e5f63d54 Improve configuring of self-signed certificate
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-07-30 10:30:30 +03:00
Sergii Leshchenko 320178a842 Delete unused cheWorkspace helm chart value
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-07-30 10:30:30 +03:00
Sergii Leshchenko 8165028eeb Update helm chart to provide Che Server TLS secret data for propagation
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-07-30 10:30:30 +03:00
Sergii Leshchenko 229671be28 Document TLS section parameters of helm chart
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-07-30 10:30:30 +03:00