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
lern-data-pipeline
Commits
2404e556
Unverified
Commit
2404e556
authored
2 years ago
by
Reshmi V Nair
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #52 from kumarks1122/release-5.0.1-csp-checkpointing
LR-269 | CSP changes for Checkpointing added
parents
6a9e60a8
09386a4b
release-5.0.1
github/fork/rahulbowade/release-5.0.1-collection-certificate-generator-debug
release-5.0.1_RC2
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ansible/inventory/env/group_vars/all.yml
+12
-6
ansible/inventory/env/group_vars/all.yml
kubernetes/ansible/roles/flink-jobs-deploy/defaults/main.yml
+1
-1
kubernetes/ansible/roles/flink-jobs-deploy/defaults/main.yml
kubernetes/helm_charts/datapipeline_jobs/templates/flink_job_deployment.yaml
+29
-3
...rts/datapipeline_jobs/templates/flink_job_deployment.yaml
kubernetes/helm_charts/datapipeline_jobs/values.j2
+12
-4
kubernetes/helm_charts/datapipeline_jobs/values.j2
with
54 additions
and
14 deletions
+54
-14
ansible/inventory/env/group_vars/all.yml
+
12
−
6
View file @
2404e556
...
...
@@ -85,8 +85,8 @@ search_es7_host: "{{ groups['es7']|join(':9200,')}}:9200"
mlworkbench
:
"
{{
groups['mlworkbench'][0]}}"
cloud_account
:
"
{{
sunbir
d_public_storage_account
_
name
}}"
cloud_secret
:
"
{{
sunbir
d_public_storage_account
_key
}}"
cloud_account
:
"
{{
clou
d_public_storage_accountname
}}"
cloud_secret
:
"
{{
clou
d_public_storage_account
name
}}"
dedup_redis_host
:
"
{{
dp_redis_host
}}"
kp_redis_host
:
"
{{
groups['redisall'][0]
}}"
neo4j_route_path
:
"
bolt://{{
groups['learning-neo4j-node1'][0]
}}:7687"
...
...
@@ -108,10 +108,10 @@ cert_rc_base_url: "http://{{private_ingressgateway_ip}}/registry-service/api/v1"
cert_rc_entity
:
"
TrainingCertificate"
certificate_base_path
:
"
https://{{domain_name}}/certs"
cert_domain_url
:
"
{{proto}}://{{domain_name}}"
cert_container_name
:
"
{{
cert_env_prefix}}-e-credentials
"
cert_container_name
:
"
{{
cloud_storage_certservice_bucketname
}}
"
cert_cloud_storage_type
:
"
{{cloud_service_provider}}"
cert_cloud_storage_secret
:
"
{{
sunbir
d_private_storage_
account_key
}}"
cert_cloud_storage_key
:
"
{{
sunbir
d_private_storage_account
_
name}}"
cert_cloud_storage_secret
:
"
{{
clou
d_private_storage_
secret
}}"
cert_cloud_storage_key
:
"
{{
clou
d_private_storage_accountname}}"
cloud_storage_base_url
:
"
{{cloud_storage_base_url}}"
default_channel
:
"
org.sunbird"
...
...
@@ -151,4 +151,10 @@ kafka_group_collection_pre_processor: "{{env_name}}-collection-cert-pre-processo
kafka_group_certificate_generator
:
"
{{env_name}}-certificate-generator-group"
kafka_group_merge_courses
:
"
{{env_name}}-merge-courses-group"
kafka_group_assessment_aggregator
:
"
{{env_name}}-assessment-aggregator-group"
kafka_group_lms_notification
:
"
{{env_name}}-lms-notification"
\ No newline at end of file
kafka_group_lms_notification
:
"
{{env_name}}-lms-notification"
## Checkpoint Config
checkpoint_store_type
:
"
{{cloud_service_provider}}"
azure_cloud_account
:
"
{{
cloud_public_storage_accountname
}}"
azure_cloud_secret
:
"
{{
cloud_public_storage_secret
}}"
cloud_storage_flink_bucketname
:
"
flink-check-points-store"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/ansible/roles/flink-jobs-deploy/defaults/main.yml
+
1
−
1
View file @
2404e556
...
...
@@ -29,7 +29,7 @@ taskmanager_heap_memory: 1024
### base-config related vars
postgres_max_connections
:
2
flink_container_name
:
flink-check-points-store
flink_container_name
:
"
{{
cloud_storage_flink_bucketname
}}"
checkpoint_interval
:
60000
checkpoint_pause_between_seconds
:
5000
checkpoint_compression_enabled
:
true
...
...
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/datapipeline_jobs/templates/flink_job_deployment.yaml
+
29
−
3
View file @
2404e556
...
...
@@ -109,8 +109,21 @@ spec:
workingDir
:
/opt/flink
command
:
[
"
/opt/flink/bin/standalone-job.sh"
]
args
:
[
"
start-foreground"
,
"
--job-classname={{
.Values.job_classname
}}"
,
"
-Dfs.azure.account.key.{{
.Values.cloud_account
}}.blob.core.windows.net={{
.Values.cloud_secret
}}"
,
"
--job-classname={{
.Values.job_classname
}}"
,
{{
- if eq .Values.checkpoint_store_type "azure"
}}
"
-Dfs.azure.account.key.{{
.Values.azure_cloud_account
}}.blob.core.windows.net={{
.Values.azure_cloud_secret
}}"
,
{{
- end
}}
{{
- if eq .Values.checkpoint_store_type "s3"
}}
"
-Ds3.access-key={{
.Values.s3_access_key
}}"
,
"
-Ds3.secret-key={{
.Values.s3_secret_key
}}"
,
"
-Ds3.endpoint={{
.Values.s3_endpoint
}}"
,
"
-Ds3.path.style.access={{
.Values.s3_path_style_access
}}"
,
{{
- end
}}
{{
- if eq .Values.checkpoint_store_type "gcloud"
}}
"
-Dfs.gs.auth.client.id={{
.Values.gcloud_client_key
}}"
,
"
-Dfs.gs.auth.client.secret={{
.Values.gcloud_private_secret
}}"
,
"
-Dfs.gs.project.id={{
.Values.gcloud_project_id
}}"
{{
- end
}}
"
-Dweb.submit.enable=false"
,
"
-Dmetrics.reporter.prom.class=org.apache.flink.metrics.prometheus.PrometheusReporter"
,
"
-Dmetrics.reporter.prom.port={{
.Values.jobmanager.prom_port
}}"
,
...
...
@@ -183,7 +196,20 @@ spec:
workingDir
:
{{
.Values.taskmanager.flink_work_dir
}}
command
:
[
"
/opt/flink/bin/taskmanager.sh"
]
args
:
[
"
start-foreground"
,
"
-Dfs.azure.account.key.{{
.Values.cloud_account
}}.blob.core.windows.net={{
.Values.cloud_secret
}}"
,
{{
- if eq .Values.checkpoint_store_type "azure"
}}
"
-Dfs.azure.account.key.{{
.Values.azure_cloud_account
}}.blob.core.windows.net={{
.Values.azure_cloud_secret
}}"
,
{{
- end
}}
{{
- if eq .Values.checkpoint_store_type "s3"
}}
"
-Ds3.access-key={{
.Values.s3_access_key
}}"
,
"
-Ds3.secret-key={{
.Values.s3_secret_key
}}"
,
"
-Ds3.endpoint={{
.Values.s3_endpoint
}}"
,
"
-Ds3.path.style.access={{
.Values.s3_path_style_access
}}"
,
{{
- end
}}
{{
- if eq .Values.checkpoint_store_type "gcloud"
}}
"
-Dfs.gs.auth.client.id={{
.Values.gcloud_client_key
}}"
,
"
-Dfs.gs.auth.client.secret={{
.Values.gcloud_private_secret
}}"
,
"
-Dfs.gs.project.id={{
.Values.gcloud_project_id
}}"
,
{{
- end
}}
"
-Dweb.submit.enable=false"
,
"
-Dmetrics.reporter.prom.class=org.apache.flink.metrics.prometheus.PrometheusReporter"
,
"
-Dmetrics.reporter.prom.host={{
.Release.Name
}}-taskmanager"
,
...
...
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/datapipeline_jobs/values.j2
+
12
−
4
View file @
2404e556
...
...
@@ -3,8 +3,16 @@ imagepullsecrets: {{ imagepullsecrets }}
dockerhub: {{ dockerhub }}
repository: {{flink_repository|default('data-pipeline')}}
image_tag: {{ image_tag }}
cloud_account: {{ cloud_account }}
cloud_secret: {{ cloud_secret }}
checkpoint_store_type: {{ checkpoint_store_type }}
azure_cloud_account: {{ azure_cloud_account }}
azure_cloud_secret: {{ azure_cloud_secret }}
s3_access_key: {{ s3_storage_key }}
s3_secret_key: {{ s3_storage_secret }}
s3_endpoint: {{ s3_storage_endpoint }}
s3_path_style_access: {{ s3_path_style_access }}
gcloud_client_key: {{ gcloud_client_key }}
gcloud_private_secret: {{ gcloud_private_secret }}
gcloud_project_id: {{ gcloud_project_id }}
serviceMonitor:
enabled: {{ service_monitor_enabled | lower}}
...
...
@@ -88,8 +96,8 @@ base_config: |
statebackend {
blob {
storage {
account = "{{ cloud_account }}.blob.core.windows.net"
container = "{{
flink_container_
name }}"
account = "{{
azure_
cloud_account }}.blob.core.windows.net"
container = "{{
cloud_storage_flink_bucket
name }}"
checkpointing.dir = "checkpoint"
}
}
...
...
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