Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
2e86c543
Unverified
Commit
2e86c543
authored
3 years ago
by
amorphous-1
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #3261 from project-sunbird/release-4.7.0
Merge 4.7.0 to 4.8.0
parents
cf36364f
705dda2a
master
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
upstream/release-5.1.0-vdn
release-5.2.0-inquiry_RC1
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
release-5.0.2
release-5.0.2_RC1
release-5.0.1
release-5.0.1_RC1
release-5.0.0
release-5.0.0_RC5
release-5.0.0_RC4
release-5.0.0_RC3
release-5.0.0_RC2
release-5.0.0_RC1
release-4.10.2_RC1
release-4.10.1
release-4.10.1_RC2
release-4.10.1_RC1
release-4.10.0
release-4.10.0_RC1
release-4.9.0
release-4.9.0_RC4
release-4.9.0_RC3
release-4.9.0_RC2
release-4.9.0_RC1
release-4.8.0
release-4.8.0_RC8
release-4.8.0_RC7
release-4.8.0_RC6
release-4.8.0_RC5
release-4.8.0_RC4
release-4.8.0_RC3
No related merge requests found
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
ansible/roles/stack-sunbird/templates/uci_api.env
+1
-1
ansible/roles/stack-sunbird/templates/uci_api.env
kubernetes/ansible/roles/sunbird-monitoring/templates/additional-scrape-configs.yaml
+1
-1
...nbird-monitoring/templates/additional-scrape-configs.yaml
kubernetes/helm_charts/core/gotenberg/templates/hpa.yaml
+27
-0
kubernetes/helm_charts/core/gotenberg/templates/hpa.yaml
kubernetes/helm_charts/core/gotenberg/values.j2
+6
-1
kubernetes/helm_charts/core/gotenberg/values.j2
kubernetes/helm_charts/core/ml-core-service/templates/hpa.yaml
+27
-0
...netes/helm_charts/core/ml-core-service/templates/hpa.yaml
kubernetes/helm_charts/core/ml-core-service/values.j2
+6
-0
kubernetes/helm_charts/core/ml-core-service/values.j2
kubernetes/helm_charts/core/ml-projects-service/templates/hpa.yaml
+27
-0
...s/helm_charts/core/ml-projects-service/templates/hpa.yaml
kubernetes/helm_charts/core/ml-projects-service/values.j2
+7
-0
kubernetes/helm_charts/core/ml-projects-service/values.j2
kubernetes/helm_charts/core/ml-reports-service/templates/hpa.yaml
+27
-0
...es/helm_charts/core/ml-reports-service/templates/hpa.yaml
kubernetes/helm_charts/core/ml-reports-service/values.j2
+6
-0
kubernetes/helm_charts/core/ml-reports-service/values.j2
kubernetes/helm_charts/core/ml-survey-service/templates/hpa.yaml
+27
-0
...tes/helm_charts/core/ml-survey-service/templates/hpa.yaml
kubernetes/helm_charts/core/ml-survey-service/values.j2
+6
-0
kubernetes/helm_charts/core/ml-survey-service/values.j2
with
168 additions
and
3 deletions
+168
-3
ansible/roles/stack-sunbird/templates/uci_api.env
+
1
−
1
View file @
2e86c543
...
...
@@ -8,7 +8,7 @@ HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup, http-log, webhook-log, websocket-log,
HASURA_GRAPHQL_ENABLE_CONSOLE=true
#Kafka
KAFKA_HOST={{
kafka_broker
_host}}
KAFKA_HOST={{
sunbird_processing_kafka
_host}}
KAFKA_PASS=""
KAFKA_PORT=9092
KAFKA_USER=""
...
...
This diff is collapsed.
Click to expand it.
kubernetes/ansible/roles/sunbird-monitoring/templates/additional-scrape-configs.yaml
+
1
−
1
View file @
2e86c543
...
...
@@ -47,7 +47,7 @@ scrapeconfig:
-
job_name
:
'
process-exporter'
metrics_path
:
/metrics
static_configs
:
-
targets
:
[
"
{{
groups['process-exporter']
|
difference(["
localhost"
]
) | map('regex_replace', '^(.*)$', '\\1:
1111
' ) | list | join("\", \"") }}"]
-
targets
:
[
"
{{
groups['process-exporter']
|
difference(["
localhost"
]
) | map('regex_replace', '^(.*)$', '\\1:
9256
' ) | list | join("\", \"") }}"]
-
job_name
:
'
cassandra-exporter'
metrics_path
:
/metrics
...
...
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/gotenberg/templates/hpa.yaml
0 → 100644
+
27
−
0
View file @
2e86c543
{{
- if .Values.autoscaling.enabled
}}
apiVersion
:
autoscaling/v2beta1
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
{{
.Chart.Name
}}
minReplicas
:
{{
.Values.autoscaling.minReplicas
}}
maxReplicas
:
{{
.Values.autoscaling.maxReplicas
}}
metrics
:
{{
- if .Values.autoscaling.targetCPUUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
cpu
targetAverageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
memory
targetAverageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/gotenberg/values.j2
+
6
−
1
View file @
2e86c543
...
...
@@ -23,5 +23,10 @@ strategy:
maxsurge: {{ gotenberg_maxsurge|default('25%') }}
maxunavailable: {{ gotenberg_maxunavailable|default('25%') }}
autoscaling:
enabled: {{ gotenberg_autoscaling_enabled | default('false') }}
minReplicas: {{ gotenberg_autoscaling_minReplicas|default(1) }}
maxReplicas: {{ gotenberg_autoscaling_maxReplicas|default(2) }}
targetCPUUtilizationPercentage: {{ gotenberg_autoscaling_targetCPUUtilizationPercentage|default(60) }}
targetMemoryUtilizationPercentage: {{ gotenberg_autoscaling_targetMemoryUtilizationPercentage|default('') }}
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-core-service/templates/hpa.yaml
0 → 100644
+
27
−
0
View file @
2e86c543
{{
- if .Values.autoscaling.enabled
}}
apiVersion
:
autoscaling/v2beta1
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
{{
.Chart.Name
}}
minReplicas
:
{{
.Values.autoscaling.minReplicas
}}
maxReplicas
:
{{
.Values.autoscaling.maxReplicas
}}
metrics
:
{{
- if .Values.autoscaling.targetCPUUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
cpu
targetAverageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
memory
targetAverageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-core-service/values.j2
+
6
−
0
View file @
2e86c543
...
...
@@ -25,3 +25,9 @@ strategy:
{{ ml_core_liveness_readiness | to_nice_yaml }}
ml_core_access_basepath: {{ ml_core_access_basepath | default('/opt/core/keycloak-public-keys/') }}
autoscaling:
enabled: {{ ml_core_autoscaling_enabled | default('false') }}
minReplicas: {{ ml_core_autoscaling_minReplicas|default(1) }}
maxReplicas: {{ ml_core_autoscaling_maxReplicas|default(2) }}
targetCPUUtilizationPercentage: {{ ml_core_autoscaling_targetCPUUtilizationPercentage|default(60) }}
targetMemoryUtilizationPercentage: {{ ml_core_autoscaling_targetMemoryUtilizationPercentage|default('') }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-projects-service/templates/hpa.yaml
0 → 100644
+
27
−
0
View file @
2e86c543
{{
- if .Values.autoscaling.enabled
}}
apiVersion
:
autoscaling/v2beta1
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
{{
.Chart.Name
}}
minReplicas
:
{{
.Values.autoscaling.minReplicas
}}
maxReplicas
:
{{
.Values.autoscaling.maxReplicas
}}
metrics
:
{{
- if .Values.autoscaling.targetCPUUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
cpu
targetAverageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
memory
targetAverageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-projects-service/values.j2
+
7
−
0
View file @
2e86c543
...
...
@@ -24,3 +24,10 @@ strategy:
{{ ml_projects_liveness_readiness | to_nice_yaml }}
ml_projects_access_basepath : {{ ml_projects_access_basepath | default('/opt/projects/keycloak-public-keys/') }}
autoscaling:
enabled: {{ ml_projects_autoscaling_enabled | default('false') }}
minReplicas: {{ ml_projects_autoscaling_minReplicas|default(1) }}
maxReplicas: {{ ml_projects_autoscaling_maxReplicas|default(2) }}
targetCPUUtilizationPercentage: {{ ml_projects_autoscaling_targetCPUUtilizationPercentage|default(60) }}
targetMemoryUtilizationPercentage: {{ ml_projects_autoscaling_targetMemoryUtilizationPercentage|default('') }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-reports-service/templates/hpa.yaml
0 → 100644
+
27
−
0
View file @
2e86c543
{{
- if .Values.autoscaling.enabled
}}
apiVersion
:
autoscaling/v2beta1
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
{{
.Chart.Name
}}
minReplicas
:
{{
.Values.autoscaling.minReplicas
}}
maxReplicas
:
{{
.Values.autoscaling.maxReplicas
}}
metrics
:
{{
- if .Values.autoscaling.targetCPUUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
cpu
targetAverageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
memory
targetAverageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-reports-service/values.j2
+
6
−
0
View file @
2e86c543
...
...
@@ -26,3 +26,9 @@ strategy:
{{ ml_reports_liveness_readiness | to_nice_yaml }}
ml_reports_access_basepath: {{ ml_reports_access_basepath | default('/opt/reports/keycloak-public-keys/') }}
autoscaling:
enabled: {{ ml_reports_autoscaling_enabled | default('false') }}
minReplicas: {{ ml_reports_autoscaling_minReplicas|default(1) }}
maxReplicas: {{ ml_reports_autoscaling_maxReplicas|default(2) }}
targetCPUUtilizationPercentage: {{ ml_reports_autoscaling_targetCPUUtilizationPercentage|default(60) }}
targetMemoryUtilizationPercentage: {{ ml_reports_autoscaling_targetMemoryUtilizationPercentage|default('') }}
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-survey-service/templates/hpa.yaml
0 → 100644
+
27
−
0
View file @
2e86c543
{{
- if .Values.autoscaling.enabled
}}
apiVersion
:
autoscaling/v2beta1
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
{{
.Chart.Name
}}
minReplicas
:
{{
.Values.autoscaling.minReplicas
}}
maxReplicas
:
{{
.Values.autoscaling.maxReplicas
}}
metrics
:
{{
- if .Values.autoscaling.targetCPUUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
cpu
targetAverageUtilization
:
{{
.Values.autoscaling.targetCPUUtilizationPercentage
}}
{{
- end
}}
{{
- if .Values.autoscaling.targetMemoryUtilizationPercentage
}}
-
type
:
Resource
resource
:
name
:
memory
targetAverageUtilization
:
{{
.Values.autoscaling.targetMemoryUtilizationPercentage
}}
{{
- end
}}
{{
- end
}}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/ml-survey-service/values.j2
+
6
−
0
View file @
2e86c543
...
...
@@ -25,4 +25,10 @@ strategy:
{{ ml_survey_liveness_readiness | to_nice_yaml }}
ml_survey_access_basepath: {{ ml_survey_access_basepath | default('/opt/survey/keycloak-public-keys/') }}
autoscaling:
enabled: {{ ml_survey_autoscaling_enabled | default('false') }}
minReplicas: {{ ml_survey_autoscaling_minReplicas|default(1) }}
maxReplicas: {{ ml_survey_autoscaling_maxReplicas|default(2) }}
targetCPUUtilizationPercentage: {{ ml_survey_autoscaling_targetCPUUtilizationPercentage|default(60) }}
targetMemoryUtilizationPercentage: {{ ml_survey_autoscaling_targetMemoryUtilizationPercentage|default('') }}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets