Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Search
Commits
a035d6ed
Commit
a035d6ed
authored
6 months ago
by
Vadzim Beuzo [EPAM / GCP]
Committed by
Oleksandr Kosse (EPAM)
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
GONRG-10103: add global log level to services
parent
48883f65
No related branches found
No related tags found
1 merge request
!696
GONRG-10103: add global log level to services
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
devops/gc/deploy/README.md
+11
-10
11 additions, 10 deletions
devops/gc/deploy/README.md
devops/gc/deploy/templates/configmap.yaml
+1
-1
1 addition, 1 deletion
devops/gc/deploy/templates/configmap.yaml
devops/gc/deploy/values.yaml
+2
-1
2 additions, 1 deletion
devops/gc/deploy/values.yaml
with
14 additions
and
12 deletions
devops/gc/deploy/README.md
+
11
−
10
View file @
a035d6ed
...
...
@@ -31,14 +31,15 @@ You need to set variables in **values.yaml** file using any code editor. Some of
| Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------|
**global.domain**
| your domain for the external endpoint, ex
`example.com`
| string | - | yes
**global.onPremEnabled**
| whether on-prem is enabled | boolean | false | yes
**global.limitsEnabled**
| whether CPU and memory limits are enabled | boolean | true | yes
**global.onPremEnabled**
| whether on-prem is enabled | boolean |
`false`
| yes
**global.limitsEnabled**
| whether CPU and memory limits are enabled | boolean |
`true`
| yes
**global.logLevel**
| severity of logging level | string |
`ERROR`
| yes
### Configmap variables
| Name | Description | Type | Default |
Required |
|------|-------------|------|---------|---------
-
|
**data.logLevel**
| logging
level | string |
`ERROR`
| yes
| Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------|
**data.logLevel**
| logging
severity level for this service only | string | - | yes, only if differs from the
`global.logLevel`
**data.entitlementsHost**
| Entitlements service host | string |
`http://entitlements`
| yes
**data.indexerHost**
| Indexer service host | string |
`http://indexer`
| yes
**data.policyHost**
| Policy service host | string |
`http://policy`
| yes
...
...
@@ -46,7 +47,7 @@ You need to set variables in **values.yaml** file using any code editor. Some of
**data.policyId**
| policy id from ex
`${POLICY_HOST}/api/policy/v1/policies`
| string |
`search`
| yes
**data.securityHttpsCertificateTrust**
| Elastic client connection uses TrustSelfSignedStrategy(), if it is
`true`
| bool |
`true`
| yes
**data.redisSearchHost**
| The host for redis instance. If empty (by default), helm installs an internal redis instance | string | - | yes
**data.redisSearchPort**
| The port for redis instance | digit | 6379 | yes
**data.redisSearchPort**
| The port for redis instance | digit |
`
6379
`
| yes
### Deployment variables
...
...
@@ -73,10 +74,10 @@ You need to set variables in **values.yaml** file using any code editor. Some of
| Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------|
**istio.proxyCPU**
| CPU request for Envoy sidecars | string | 10m | yes
**istio.proxyCPULimit**
| CPU limit for Envoy sidecars | string | 200m | yes
**istio.proxyMemory**
| memory request for Envoy sidecars | string | 100Mi | yes
**istio.proxyMemoryLimit**
| memory limit for Envoy sidecars | string | 256Mi | yes
**istio.proxyCPU**
| CPU request for Envoy sidecars | string |
`
10m
`
| yes
**istio.proxyCPULimit**
| CPU limit for Envoy sidecars | string |
`
200m
`
| yes
**istio.proxyMemory**
| memory request for Envoy sidecars | string |
`
100Mi
`
| yes
**istio.proxyMemoryLimit**
| memory limit for Envoy sidecars | string |
`
256Mi
`
| yes
## Install the Helm chart
...
...
This diff is collapsed.
Click to expand it.
devops/gc/deploy/templates/configmap.yaml
+
1
−
1
View file @
a035d6ed
...
...
@@ -11,7 +11,7 @@ data:
{{
- else
}}
SPRING_PROFILES_ACTIVE
:
"
gcp"
{{
- end
}}
LOG_LEVEL
:
{{
.Values.data.logLevel | quote
}}
LOG_LEVEL
:
{{
.Values.data.logLevel |
default .Values.global.logLevel |
quote
}}
{{
- if .Values.data.redisSearchHost
}}
REDIS_GROUP_HOST
:
{{
.Values.data.redisSearchHost | quote
}}
REDIS_SEARCH_HOST
:
{{
.Values.data.redisSearchHost | quote
}}
...
...
This diff is collapsed.
Click to expand it.
devops/gc/deploy/values.yaml
+
2
−
1
View file @
a035d6ed
...
...
@@ -2,10 +2,11 @@ global:
domain
:
"
"
onPremEnabled
:
false
limitsEnabled
:
true
logLevel
:
"
ERROR"
data
:
# Configmaps
logLevel
:
"
ERROR
"
logLevel
:
"
"
entitlementsHost
:
"
http://entitlements"
partitionHost
:
"
http://partition"
policyHost
:
"
http://policy"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment