Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.0-RC #40

Open
wants to merge 363 commits into
base: main-old
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 81 commits
Commits
Show all changes
363 commits
Select commit Hold shift + click to select a range
a45decf
#I345: fix:updated the dataset-api and webconole config
divyagovindaiah Dec 2, 2024
2a9726c
Merge branch 'main' into keycloak-automation
divyagovindaiah Dec 2, 2024
0e954e8
#OBS-I366: Configure Druid with MinIO for local data center installation
SurabhiAngadi Dec 2, 2024
0c4dbda
Merge branch 'main' into #OBS-I366
SurabhiAngadi Dec 2, 2024
8d1fa8d
connector bundling scripts #OBS-I316 #OBS-I315 (#206)
ravismula Dec 2, 2024
21ce6e3
Merge branch 'main' into keycloak-automation
ravismula Dec 2, 2024
4428c9f
Merge branch 'main' into #OBS-I366
SurabhiAngadi Dec 2, 2024
54d5712
#OBS-I366: revert incorrect merge
SurabhiAngadi Dec 2, 2024
bd09244
#OBS-I366: add default values for druid configurations
SurabhiAngadi Dec 2, 2024
cb395c1
Merge pull request #208 from Sanketika-Obsrv/#OBS-I366
ravismula Dec 2, 2024
ba66c96
#I250: Updating of open telemetry configurations
Dec 2, 2024
a5edc0c
Merge pull request #209 from Sanketika-Obsrv/otel-configuration
ravismula Dec 2, 2024
9dec86f
#OBS-I380 - add connector information to the system events (#210)
SanthoshVasabhaktula Dec 5, 2024
88623d0
Commented out logging and monitoring service variables
SurabhiAngadi Dec 5, 2024
eacd5d1
Merge pull request #211 from Sanketika-Obsrv/disable-logging-service
ravismula Dec 5, 2024
e05787f
#I250: Updated the configuration to write Otel logs into respective c…
Dec 6, 2024
0fe4845
#I250: Disable of generating infra level metrics
Dec 6, 2024
1951082
#OBS-I373: Configure local_datacenter installation with minio.
SurabhiAngadi Dec 10, 2024
df14ba8
Merge branch 'main' into #OBS-I366
SurabhiAngadi Dec 10, 2024
1f6573d
#OBS-I341 SSL and Domain optional with other changes
ravismula Dec 11, 2024
b88e5e3
#OBS-I199 disable health checks for kong
ravismula Dec 12, 2024
d309ae1
00: fix:indentation issue
divyagovindaiah Dec 12, 2024
513deb1
Merge pull request #214 from Sanketika-Obsrv/azure-automation-fix
ravismula Dec 12, 2024
d15f614
#OBS-I345 keycloak changes
ravismula Dec 13, 2024
25f950b
#OBS-I345 update letsencrypt bundle
ravismula Dec 13, 2024
f9259cd
#OBS-I345 keycloak ingress and other changes
ravismula Dec 13, 2024
1f68aa7
OBS-I363 : fix:velero backup using service account
divyagovindaiah Dec 9, 2024
e5a7fe7
Updated image tags (#215)
SurabhiAngadi Dec 13, 2024
56fd8e5
#OBS-I373: minio configuration for hudi
SurabhiAngadi Dec 13, 2024
ef68f39
Merge branch 'main' into #OBS-I366
SurabhiAngadi Dec 13, 2024
bcf79b5
#OBS-I277 add grafana vars to globals
ravismula Dec 16, 2024
89cc7ce
#OBS-I373: revert committed private key
SurabhiAngadi Dec 16, 2024
c64092b
#OBS-I373: revert committedd public key
SurabhiAngadi Dec 16, 2024
f787b9b
#OBS-I373: added required configurations for trino
SurabhiAngadi Dec 16, 2024
a1690ee
#OBS-I277 update ingress values
ravismula Dec 16, 2024
329894c
#OBS-I373: deploy minio only for local datacenter
SurabhiAngadi Dec 16, 2024
3829230
#OBS-I373: added place holder for domain value.
SurabhiAngadi Dec 16, 2024
c3368bf
Merge pull request #212 from Sanketika-Obsrv/#OBS-I366
ravismula Dec 16, 2024
6121466
#OBS-I418 update flink connector namespace (#217)
ravismula Dec 16, 2024
f181105
#I345: fix: private and public keys autoamtion and keycloak chanages
divyagovindaiah Dec 16, 2024
e3cd74e
#I345: fix: updated resource for keycloak service
divyagovindaiah Dec 17, 2024
363ce10
Merge branch 'release-1.4.0' into keycloak-automation
divyagovindaiah Dec 17, 2024
a66da50
I345: fix:updated the configuration
divyagovindaiah Dec 17, 2024
768e123
I345: fix:removed the dev.tfvars file
divyagovindaiah Dec 17, 2024
7c519be
I345: fix:removed debug option in install.sh
divyagovindaiah Dec 17, 2024
66345e1
OBS-I392: fix:updated private and public keys configuration
divyagovindaiah Dec 17, 2024
101cf6f
OBS-I392: fix:updated private and public keys configuration
divyagovindaiah Dec 17, 2024
3a617a9
OBS-I392: fix:updated private and public keys configuration
divyagovindaiah Dec 17, 2024
5e599ee
Merge pull request #207 from Sanketika-Obsrv/keycloak-automation
ravismula Dec 17, 2024
c1dd235
#OBS-I345 disable keycloak auth until superset and grafana are config…
ravismula Dec 18, 2024
d85bc0e
#OBS-I345 feat: Add Dockerfile for Superset (#220)
anandp504 Dec 19, 2024
b6638ae
I392[C: fix:velero helm chart upgrade
divyagovindaiah Dec 20, 2024
b94f270
I392fix: velero configuration
divyagovindaiah Dec 20, 2024
96f7c37
Merge pull request #221 from Sanketika-Obsrv/velero-upgrade-7.1.1
ravismula Dec 23, 2024
f5cada7
OBS-I417: fix:configured the redis-exporter helmchart
divyagovindaiah Dec 23, 2024
9f5a111
OBS-I417: fix:indentation in global file
divyagovindaiah Dec 23, 2024
325d6bf
OBS-I417: fix:updated the redis-exporter
divyagovindaiah Dec 23, 2024
cb903a4
OBS-I417: fix:updated the redis-exporter helmchart format
divyagovindaiah Dec 23, 2024
fa3b7cb
#OBS-I398 : added default_task_duration to env (#224)
yashashkumar Dec 24, 2024
48d476f
Merge pull request #222 from Sanketika-Obsrv/redis-exporter
ravismula Dec 24, 2024
2b3898a
Release 1.3.1 (#226)
ravismula Dec 30, 2024
48a78cb
Hudi metrics (#225)
divyagovindaiah Dec 30, 2024
d1079a9
#OBS-I436 velero and loki fixes (#227)
ravismula Dec 30, 2024
acf0a35
#OBS-I320: added is_owner column to the oauth_users table
Rakshitha-D Dec 31, 2024
9806455
#OBS-I320: updated commands to v5
Rakshitha-D Dec 31, 2024
2e3980b
#OBS-I320: updated commands to v5
Rakshitha-D Dec 31, 2024
4356212
#OBS-I345 feat: Add Dockerfile for Superset (#220)
anandp504 Dec 19, 2024
cebd1ba
Release 1.3.1 (#226)
ravismula Dec 30, 2024
a8acae4
OBS-I436 velero and loki fixes (#227)
ravismula Dec 30, 2024
aade0d4
Merge branch 'main' into release-1.4.0
ravismula Dec 31, 2024
88b8faa
Merge pull request #229 from Sanketika-Obsrv/user-table-update
ravismula Dec 31, 2024
b05f8c1
fix automation merge commits
ravismula Dec 31, 2024
873d7ff
I392 fix:removed the schedule chnages in velero valyes.yaml file
divyagovindaiah Dec 31, 2024
c81b9ef
Merge branch 'release-1.4.0' into velero-config-update
divyagovindaiah Dec 31, 2024
3a3bb92
Merge pull request #231 from Sanketika-Obsrv/velero-config-update
ravismula Dec 31, 2024
5fc8959
fix: #OBS-I406 storage type support envs
JeraldJF Jan 2, 2025
74f56fd
Merge remote-tracking branch 'origin/main' into storage-configs
JeraldJF Jan 2, 2025
890223e
fix: #OBS-I406 plural envs
JeraldJF Jan 2, 2025
f1c9035
Merge remote-tracking branch 'origin/release-1.4.0' into storage-configs
JeraldJF Jan 2, 2025
060151f
fix: #OBS-I406 storage envs in json format
JeraldJF Jan 3, 2025
df86916
fix: #OBS-I27 Fixed the lakehouse connector prometheus target
divyagovindaiah Jan 3, 2025
6a3648e
Merge branch 'release-1.4.0' into lakehouse-metrics
divyagovindaiah Jan 3, 2025
3371b5a
#I177: Lakehouse connector configuration changes
Jan 3, 2025
d9d79c8
Merge pull request #232 from Sanketika-Obsrv/storage-configs
ravismula Jan 3, 2025
626ae80
#I177: Lakehouse connector prom sync automation script changes
Jan 3, 2025
59cd944
#OBS-I416: alert name changes
SurabhiAngadi Jan 3, 2025
125c18f
Merge branch 'release-1.4.0' into lakehouse-metrics
divyagovindaiah Jan 3, 2025
8fea25d
#OBS-I416: alert names changes (#235)
SurabhiAngadi Jan 3, 2025
479c4f3
Merge pull request #234 from Sanketika-Obsrv/lakehouse-metrics
manjudr Jan 3, 2025
ed5528a
Merge pull request #236 from Sanketika-Obsrv/release-1.4.0
ravismula Jan 3, 2025
0b2f93e
#I250: Updated the release image version
Jan 3, 2025
220eef5
#OBS-I395: automation fixes for local deployment
SurabhiAngadi Jan 7, 2025
85c048e
#OBS-I395: update image tags
SurabhiAngadi Jan 7, 2025
73bb9c9
fix: update role for obsrv_admin
Rakshitha-D Jan 7, 2025
e476ab2
Merge pull request #238 from Sanketika-Obsrv/roleUpdate
ravismula Jan 7, 2025
a076f37
#OBS-I395: configured scrape configs to export minio metrics
SurabhiAngadi Jan 7, 2025
a8d56b4
fix: #OBS-I480 configured the valkey helm chart
divyagovindaiah Jan 7, 2025
3e22ed2
Merge branch 'main' into valkey-helmchart-OBS-I480
divyagovindaiah Jan 7, 2025
d2d8efd
fix: #OBS-I480 updated maxmemory in both denorm and dedup valkey helm…
divyagovindaiah Jan 7, 2025
7cda4ec
Merge remote-tracking branch 'origin/valkey-helmchart-OBS-I480' into …
divyagovindaiah Jan 7, 2025
2265d9a
fix: #OBS-I354 dataset level metrics fixes and addition
JeraldJF Jan 7, 2025
334574d
Merge pull request #239 from Sanketika-Obsrv/valkey-helmchart-OBS-I480
ravismula Jan 10, 2025
ddbce22
fix: #OBS-I480 configured the valkey helm chart
divyagovindaiah Jan 7, 2025
41aa266
fix: #OBS-I480 updated maxmemory in both denorm and dedup valkey helm…
divyagovindaiah Jan 7, 2025
7a22a47
fix: update role for obsrv_admin
Rakshitha-D Jan 7, 2025
149472a
merged main branch changes
SurabhiAngadi Jan 7, 2025
019392b
#OBS-I395: automation fixes
SurabhiAngadi Jan 10, 2025
ffa7443
Merge branch 'main' into feat-OBS-I395
SurabhiAngadi Jan 10, 2025
49eb104
Merge pull request #237 from Sanketika-Obsrv/feat-OBS-I395
ravismula Jan 10, 2025
e17eb8c
#OBS-I395: update scrape-config key in obsrv-values.yaml
SurabhiAngadi Jan 10, 2025
19ab23c
Merge pull request #240 from Sanketika-Obsrv/feat-OBS-I395
ravismula Jan 10, 2025
091e51e
fix: #OBS-I494: added created_by and updated_by columns
Rakshitha-D Jan 10, 2025
0b6ad2e
Merge pull request #241 from Sanketika-Obsrv/userTableUpdate
ravismula Jan 10, 2025
b894cf8
local datacenter config updates
SurabhiAngadi Jan 15, 2025
b545354
feat : #OBS-I321: added required env variable for data observability
yashashkumar Jan 15, 2025
8633ab8
#I489: Secor Image version changes
Jan 15, 2025
54ca084
Merge pull request #243 from Sanketika-Obsrv/secor-fix
ravismula Jan 15, 2025
ca0b986
Merge remote-tracking branch 'origin/main' into storage-configs
JeraldJF Jan 15, 2025
270ffae
update install.sh
ravismula Jan 15, 2025
202f8ee
fix: #OBS-I354 dataset level alert metrics for batch and transformati…
JeraldJF Jan 15, 2025
2b2ab9e
#I489: Secor Image version changes
Jan 15, 2025
61e99aa
update namespace
SurabhiAngadi Jan 15, 2025
8c3d475
fix: #OBS-I354 interval of metrics defaulted to 5m
JeraldJF Jan 15, 2025
6cf23ef
update namespace references
ravismula Jan 15, 2025
ad22cbe
feat : #OBS-I321: added description
yashashkumar Jan 15, 2025
a173930
fix: #OBS-I354 throw alerts on failed events greater than 0
JeraldJF Jan 15, 2025
0fd11b9
update init-jobs to co-exist in same namespace
ravismula Jan 15, 2025
5336640
update init-jobs to co-exist in same namespace
ravismula Jan 15, 2025
49b8934
update services names to full DNS urls
ravismula Jan 15, 2025
02b0ed5
feat : #OBS-I321: added description
yashashkumar Jan 15, 2025
b193e7b
Merge pull request #244 from Sanketika-Obsrv/data-observability-defaults
manjudr Jan 15, 2025
5307d6d
update secret ref across services
ravismula Jan 15, 2025
d37ffcb
Merge pull request #245 from Sanketika-Obsrv/storage-configs
manjudr Jan 15, 2025
35187fb
updated service urls
SurabhiAngadi Jan 15, 2025
efc4e70
update secret checks to prevent repetitive creations
ravismula Jan 15, 2025
b9f5c7b
update superset druid connection endpoint
ravismula Jan 15, 2025
a8fa02d
update service names
SurabhiAngadi Jan 16, 2025
183fef2
update service names in superset values.yaml
SurabhiAngadi Jan 16, 2025
f38ec82
update service names
SurabhiAngadi Jan 16, 2025
e7310b8
update trino lib for superset
ravismula Jan 16, 2025
c9033e4
fix: #OBS-I452 Column alias in datasets table
JeraldJF Jan 16, 2025
7f1e691
I481 fix:keycloak obsrv realm updated
divyagovindaiah Jan 20, 2025
b485b65
s3-exporter for minio
SurabhiAngadi Jan 20, 2025
345d2eb
add lakehouse database configuration in superset
SurabhiAngadi Jan 20, 2025
c3074ac
fix namespace rendering
SurabhiAngadi Jan 20, 2025
b44710d
refer namespace from global values file
SurabhiAngadi Jan 21, 2025
d684ff7
fix namespaces
SurabhiAngadi Jan 21, 2025
616e37c
Merge pull request #242 from Sanketika-Obsrv/local-datacenter-configs
ravismula Jan 21, 2025
e35b41f
#I481 fix: grafana sso login
divyagovindaiah Jan 22, 2025
0574c2a
Merge branch 'main' into keycloak-config
divyagovindaiah Jan 22, 2025
00abf23
feat #OBS-I492 add config to delete unsued images post 1w
ravismula Jan 23, 2025
f12dbc6
fix #OBS-I492 update default node disk to 30g
ravismula Jan 23, 2025
46b31c3
#I481 fix: grafana client secret
divyagovindaiah Jan 23, 2025
658d3c1
#I481 fix: updated the node disk size
divyagovindaiah Jan 24, 2025
c82980e
#I481 fix: updated the node disk size
divyagovindaiah Jan 24, 2025
73ede0d
Merge pull request #249 from Sanketika-Obsrv/k8s-gc-configs
manjudr Jan 24, 2025
f98e254
Merge branch 'main' into keycloak-config
divyagovindaiah Jan 24, 2025
6de6b7b
fix #OBS-I481 update domain references for keycloak
ravismula Jan 24, 2025
5a397b1
#I489: Make kong ingress as optional
Jan 24, 2025
591a959
#00 fix: updated infra-script folder name
divyagovindaiah Jan 24, 2025
e78fa4b
Merge pull request #250 from Sanketika-Obsrv/kong-eip-changes
manjudr Jan 24, 2025
87f9eb1
fix #OBS-I481 fix keycloak to use single realm
ravismula Jan 27, 2025
9f3a951
#I481 fix: grafana and superset sso login
divyagovindaiah Jan 27, 2025
e320003
fix: #OBS-I481 updated “kubectl docker file
divyagovindaiah Jan 27, 2025
ed09e53
Merge branch 'main' into keycloak-config
divyagovindaiah Jan 28, 2025
3b4bf9c
fix: #OBS-I481 updated “api service image tag
divyagovindaiah Jan 28, 2025
3714447
Merge remote-tracking branch 'origin/keycloak-config' into keycloak-c…
divyagovindaiah Jan 28, 2025
9a41990
fix: #OBS-I481 removed the auth type obsrv
divyagovindaiah Jan 28, 2025
e1404a2
fix: #OBS-I481 updated domain config
divyagovindaiah Jan 28, 2025
b92aa2c
fix: #OBS-I481 updated keycloak config
divyagovindaiah Jan 28, 2025
8d57f02
fix: #OBS-I481 updated oauth env
divyagovindaiah Jan 28, 2025
77b064b
fix: #OBS-I481 updated the oauth configuration
divyagovindaiah Jan 28, 2025
31222d0
Merge pull request #248 from Sanketika-Obsrv/keycloak-config
ravismula Jan 28, 2025
6ce1f47
fix: #OBS-I481 fixed the console login
divyagovindaiah Jan 28, 2025
4fc710d
Merge pull request #251 from Sanketika-Obsrv/release-1.4.1-fix
manjudr Jan 29, 2025
d8128ac
fix: pushgateway metrics scrapeconfig
divyagovindaiah Jan 29, 2025
22e6935
fix: pushgateway metrics scrapeconfig
divyagovindaiah Jan 29, 2025
b71f547
#I534: Index all the default metrics to prometheus
Jan 29, 2025
8cf50aa
Merge pull request #252 from Sanketika-Obsrv/druid-metrics
manjudr Jan 29, 2025
4863428
fix: #OBS-I527 updated the keyclock realm
divyagovindaiah Jan 29, 2025
874acd0
Merge pull request #253 from Sanketika-Obsrv/keycloak-fix
manjudr Jan 29, 2025
eeae09c
fix: #OBS-I527 updated the keyclock admin user
divyagovindaiah Jan 30, 2025
b3191a4
fix: removed the authentication type variable
divyagovindaiah Jan 30, 2025
929d625
fix: #OBS-I527 updated webconsole image tag
divyagovindaiah Jan 30, 2025
630cbbe
Merge branch 'main' into keycloak-fix
divyagovindaiah Jan 30, 2025
ff12196
Merge pull request #254 from Sanketika-Obsrv/keycloak-fix
ravismula Jan 30, 2025
1f2f463
feat: update tf gcp scripts to make network optional
ravismula Jan 31, 2025
f3b694e
feat: update referncing of credentials from global values
SurabhiAngadi Jan 31, 2025
c656911
feat: update SA permission and cloud values
ravismula Jan 31, 2025
b256ffe
fix: update gitignore
ravismula Jan 31, 2025
1fe19b3
fix: update gitignore
ravismula Jan 31, 2025
37ce61e
fix: update gitignore
ravismula Jan 31, 2025
9a701db
feat: add gcp values populate script
ravismula Jan 31, 2025
3247768
feat: update global values file
SurabhiAngadi Jan 31, 2025
278f851
feat: add script to scramble passwords
ravismula Jan 31, 2025
98b7155
feat: update script to scramble passwords instructions
ravismula Jan 31, 2025
19caaad
fix: additional permissions for velero sa
ravismula Feb 4, 2025
8b893f4
fix: update valkey persistence conf
ravismula Feb 4, 2025
0ccac8e
fix: update velero configurations
SurabhiAngadi Feb 4, 2025
aa83f56
fix: valkey save schedule update
ravismula Feb 4, 2025
25fe0b6
fix: addn references for images
SurabhiAngadi Feb 5, 2025
3f1dbd0
fix: keycloak for all cloud providers
SurabhiAngadi Feb 5, 2025
dc893c1
fix: update cloud storage config
SurabhiAngadi Feb 5, 2025
74d246b
fix: update checkpoint store type for lakehouse connector
SurabhiAngadi Feb 5, 2025
d40b238
Merge pull request #255 from Sanketika-Obsrv/gcp-tf-enchancements
ravismula Feb 5, 2025
cb15104
fix: update cloud storage reference in config api
SurabhiAngadi Feb 5, 2025
99adf59
Merge pull request #256 from Sanketika-Obsrv/gcp-tf-enchancements
ravismula Feb 5, 2025
725cb30
fix: move cloud storage provider env to global values
SurabhiAngadi Feb 7, 2025
33693d4
fix: update the order of services
SurabhiAngadi Feb 7, 2025
3a64f1d
Merge pull request #257 from Sanketika-Obsrv/gcp-tf-enchancements
ravismula Feb 7, 2025
109a9b1
Merge pull request #246 from Sanketika-Obsrv/alias_column
manjudr Feb 11, 2025
cd60524
fix: #00: fix updated obsrv v4 sql script
divyagovindaiah Feb 12, 2025
68cfacc
Merge pull request #258 from Sanketika-Obsrv/postgres-migration-fix
manjudr Feb 14, 2025
b7daa38
Merge branch 'release-1.6.0' into release-1.5.0
divyagovindaiah Feb 14, 2025
1453877
Merge pull request #259 from Sanketika-Obsrv/release-1.5.0
manjudr Feb 14, 2025
8ffb699
fix: # mounted the service account for dataset-api adn spark
divyagovindaiah Feb 14, 2025
a8211f7
Merge pull request #260 from Sanketika-Obsrv/serviceaccount-mount
ravismula Feb 14, 2025
013b1b1
#ITD-I1: feat: use existing pvc if defined
SurabhiAngadi Feb 19, 2025
efdbaee
Merge branch 'main' into itd-automation
SurabhiAngadi Feb 19, 2025
058eeaf
fix: # configured the master-data-indexer helm chart and updated images
divyagovindaiah Feb 19, 2025
99c4ac8
Merge pull request #262 from Sanketika-Obsrv/spark-cronjob-helm
manjudr Feb 19, 2025
78224b0
#ITD-I1: fix: revert node affinity configuration in druid statefulset
SurabhiAngadi Feb 19, 2025
4ee9d16
#ITD-I1: fix: revert changes
SurabhiAngadi Feb 19, 2025
d82615c
#ITD-I1: fix: addedd missing braces
SurabhiAngadi Feb 19, 2025
71eab88
Merge pull request #261 from Sanketika-Obsrv/itd-automation
ravismula Feb 20, 2025
7e1a72e
feat: loki simple scalable configurations with minio
SurabhiAngadi Feb 21, 2025
140004b
feat: loki simple scalable deployment configurations with minio storage
SurabhiAngadi Feb 21, 2025
f2a20db
fix: # configured the keycloak public key job
divyagovindaiah Feb 21, 2025
80b3aed
Merge branch 'release-1.6.0' into spark-cronjob-helm
divyagovindaiah Feb 21, 2025
31073b1
feat: use existing claim if provided for loki
SurabhiAngadi Feb 24, 2025
9f7f8be
Merge branch 'release-1.6.0' into loki-ss
SurabhiAngadi Feb 24, 2025
a05950c
fix: # configured the keyclok audience
divyagovindaiah Feb 24, 2025
c411424
Merge branch 'spark-cronjob-helm' of https://github.com/Sanketika-Obs…
divyagovindaiah Feb 24, 2025
9de009e
fix: updated the keyclock-public-key job
divyagovindaiah Feb 25, 2025
c471fc2
#ITD-I4: feat: Loki to Simple Scalable mode
SurabhiAngadi Feb 25, 2025
8c63e8b
fix #ITD-I4 remove redudant values
ravismula Feb 25, 2025
b0cd275
feat #ITD-I3 disable minio for local deployment
SurabhiAngadi Feb 25, 2025
37578bf
Merge pull request #263 from Sanketika-Obsrv/loki-ss
ravismula Feb 25, 2025
bb8e542
fix: updated the release tags for api services
divyagovindaiah Feb 27, 2025
71b46ee
fix: #00: fix keyclock job
divyagovindaiah Feb 27, 2025
d35c0d5
feat #OBS-I569 : System rules Name and desc changes
JeraldJF Feb 28, 2025
476d2bf
feat #OBS-I569 : System rules Name changes
JeraldJF Feb 28, 2025
2c8adba
Merge pull request #266 from Sanketika-Obsrv/system-rule-changes
manjudr Feb 28, 2025
05b62ee
fix: #00: fix keyclock job
divyagovindaiah Feb 28, 2025
c979005
Merge branch 'release-1.6.0' into spark-cronjob-helm
divyagovindaiah Feb 28, 2025
a988994
fix: # updated the user client roles
divyagovindaiah Mar 1, 2025
207ee2e
Merge pull request #264 from Sanketika-Obsrv/spark-cronjob-helm
HarishGangula Mar 3, 2025
ec5df2a
feat: added minio subchart in loki
SurabhiAngadi Mar 4, 2025
de11b26
fix:updated cloud_storage_config
divyagovindaiah Mar 4, 2025
a8401e2
Merge pull request #267 from Sanketika-Obsrv/release-1.6.0
manjudr Mar 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 16 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
# Local .terraform directories
**/target
*.iml
.idea
.classpath
*.DS_Store
*.terrahelpbkp
**/.terraform/*
automation-scripts/infra-setup/awscliv2.zip
automation-scripts/infra-setup/aws/dist
automation-scripts/infra-setup/aws/install
automation-scripts/infra-setup/aws/README.md
automation-scripts/infra-setup/aws/THIRD_PARTY_LICENSES

# .tfstate files
*.tfstate
*.tfstate.*
!overrides.tfvars

# Crash log files
crash.log
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc

*kubeconfig.yaml

*.DS_Store
# Ignore everything in the helmcharts/kitchen directory
helmcharts/kitchen/*
# Exclude install.sh from being ignored
!helmcharts/kitchen/install.sh
88 changes: 88 additions & 0 deletions AZURE_INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
**Azure**
### Prerequisites:
* Log into your cloud environment in your terminal. Please see [Sign in with Azure CLI](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli) for reference.
```
az login
```
* Create a storage account and export the below variables in your terminal. Please see [Create a storage container](https://learn.microsoft.com/en-us/azure/storage/common/storage-account-create?toc=/azure/storage/blobs/toc.json) for reference. Export the below variables in your terminal session
```
export AZURE_TERRAFORM_BACKEND_RG=myregion
export AZURE_TERRAFORM_BACKEND_STORAGE_ACCOUNT=mystorage
export AZURE_TERRAFORM_BACKEND_CONTAINER=mycontainer
```
### Steps to install Obsrv:
* Execute the below commands in the same terminal session:
```
cd terraform/azure
```
* Pass the below environment variables when prompted and execute the below commands:
- Note: The below variable values are give for example
```
env = dev
building_block = obsrv
location = EAST US 2
terragrunt init
terragrunt apply -target module.aks -auto-approve
```

* Export kubeconfig file and kubeconfig file path
- The kubeconfig file is stored in current directory
```
export KUBECONFIG=<path_to_kubeconfig>
export KUBE_CONFIG_PATH=<path_to_kubeconfig>
```

* Execute the below commands in the same terminal session:
```
terragrunt apply -target module.unified_helm -auto-approve
kubectl get ingress superset -n superset
```
* Replace the ingress ip in terraform variables:
```
web_console_base_url
superset_base_url
```
* Execute the below commands in the same terminal session:
```
terragrunt apply -target module.unified_helm -auto-approve
```
### Deployment using helm (Discontinued):
```
cd terraform/modules/helm/unified_helm

- Get the storage account name, storage account key, storage account container from azure portal

helm upgrade --install obsrv . --namespace obsrv --create-namespace --set "global. azure_storage_account_name=<storage account name>" --set "global.azure_storage_account_key=<storage account key>" --set "global.azure_storage_container=<storage container>" –set “global.web_console_base_url=https://<ingress_ip>” –set “global.superset_base_url=https://<ingress_ip>” --atomic --timeout 1800s --debug

Get the ingress ip (kubectl get ingress superset -n superset)

helm upgrade --install obsrv . --namespace obsrv --create-namespace --set "global.azure_storage_account_name=<storage account name>" --set "global.azure_storage_account_key=<storage account key>" --set "global.azure_storage_container=<storage container>" –set “global.web_console_base_url=https://<ingress_ip>” –set “global.superset_base_url=https://<ingress_ip>” --atomic --timeout 1800s --debug
```
Note: Get the `storage account name`, `storage account key`, `storage account container` from portal here -
```
https://portal.azure.com/#@sanketika.in/resource/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>
```
- Make a note of Resource Group created during the cluster creation. Usually it is a combination of `<building_block>-<env>`
- You can look for the logs for the statement like below to get the resource group
```
module.network.azurerm_resource_group.rg: Creation complete after 3s [id=/subscriptions/<uuid>/resourceGroups/<your-resource-group>]
```

### Steps to uninstall Obsrv:
* Execute the below commands:
```
helm uninstall obsrv -n obsrv
kubectl edit druid -n druid-raw
```
- In the YAML editor, locate lines 12-13.
- Delete any finalizers present in those lines
- Save the changes
```
terragrunt destroy -auto-approve
```
- Pass the following variables when prompted
```
env = dev
building_block = obsrv
location = EAST US 2
```
1 change: 1 addition & 0 deletions Dockerfiles/flink-connectors/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.gitignore
1 change: 1 addition & 0 deletions Dockerfiles/flink-connectors/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tar.gz
20 changes: 20 additions & 0 deletions Dockerfiles/flink-connectors/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM flink:1.17.2-scala_2.12-java11 AS base_image

USER root
RUN apt update -y
RUN apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev libffi-dev software-properties-common python3 python3-pip unzip vim

# RUN chown -R flink:flink /data/connectors-init
USER flink

RUN mkdir $FLINK_HOME/plugins/s3-fs-presto
RUN mkdir $FLINK_HOME/plugins/gs-fs-hadoop
RUN cd $FLINK_HOME/lib/ && curl -LO https://repo1.maven.org/maven2/org/apache/flink/flink-azure-fs-hadoop/1.17.2/flink-azure-fs-hadoop-1.17.2.jar
RUN cd $FLINK_HOME/plugins/s3-fs-presto && curl -LO https://repo1.maven.org/maven2/org/apache/flink/flink-s3-fs-presto/1.17.2/flink-s3-fs-presto-1.17.2.jar
RUN cd $FLINK_HOME/plugins/gs-fs-hadoop && curl -LO https://repo1.maven.org/maven2/org/apache/flink/flink-gs-fs-hadoop/1.17.2/flink-gs-fs-hadoop-1.17.2.jar

COPY ./connectors /data/connectors-init
RUN pip install -r /data/connectors-init/requirements.txt

FROM base_image AS kafka_connector_image
COPY kafka-connector-1.0.0-distribution.tar.gz /tmp/obsrv-connectors-extracted/
17 changes: 17 additions & 0 deletions Dockerfiles/flink-connectors/connectors/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import operator
import os
from functools import reduce

import yaml


class Config:
def __init__(self):
config_path = os.getenv("CONFIG_PATH", "/data/flink/connectors/connectors-init/")
conf_file = os.getenv("CONFIG_FILE", "connector-conf.yaml")
with open(os.path.join(config_path, conf_file)) as config_file:
self.config = yaml.safe_load(config_file)

def find(self, path):
element_value = reduce(operator.getitem, path.split("."), self.config)
return element_value
27 changes: 27 additions & 0 deletions Dockerfiles/flink-connectors/connectors/connector-conf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
postgres:
dbname: obsrv
user: postgres
password: postgres
host: postgresql-hl.postgresql.svc.cluster.local
port: 5432

kafka:
broker-servers: kafka-headless.kafka.svc.cluster.local:9092
telemetry-topic: obsrv-connectors-telemetry
connector-metrics-topic: obsrv-connectors-metrics
producer:
compression: snappy
max-request-size: 1000000 # 1MB {1M: 1000000, 10M: 10000000, 5M: 5000000}

obsrv_encryption_key: strong_encryption_key_to_encrypt

building-block: obsrv-connectors
env: local

dataset_api:
host: "http://dataset-api.dataset-api.svc.cluster.local:3000"
pre_signed_url: "v2/files/generate-url"

connectors:
extraction_path: "/tmp/obsrv-connectors-extracted"
storage_path: "/flink/connectors"
170 changes: 170 additions & 0 deletions Dockerfiles/flink-connectors/connectors/connector.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
import tarfile
import zipfile
import os
import requests
import uuid
import shutil
import json

from config import Config
from db_service import DatabaseService

config = Config()
db_service = DatabaseService()

def main():
runtime = os.getenv("RUNTIME", get_runtime())
connector_id = os.getenv("CONNECTOR_ID", None)
download_path = config.find("connectors.extraction_path")
storage_path = config.find("connectors.storage_path")

if not os.path.exists(download_path):
os.makedirs(download_path)

if not os.path.exists(storage_path):
os.makedirs(storage_path)

query = f"""
SELECT cr.source_url, cr.source
FROM connector_registry cr
LEFT JOIN connector_instances ci on ci.connector_id = cr.id
WHERE (cr.status = 'Live' or ci.status = 'Live') AND cr.runtime = '{runtime}'
"""

if connector_id:
query += f"AND cr.id = '{connector_id}' "

# query += "GROUP BY cr.source_url;"

connectors = db_service.execute_select_all(query)

for connector in connectors:
source_url, source = connector
main_jar = source["main_program"]
source = source["source"]

print(f"Processing file with URL: {source_url} and Source: {source}")

if os.path.exists(f"{storage_path}/{source}"):
print(f"Connector Registry | Connector {source} already exists")
with open(f"{storage_path}/{source}/metadata.json") as f:
metadata = json.load(f)
install_python_requirements(metadata, storage_path, source)
continue

if os.path.exists(f"{download_path}/{source_url}"):
print(f"Connector Registry | Connector {source_url} already downloaded")
else:
download_status = download_file(source_url, f"{download_path}/{source_url}")
if not download_status:
print(f"Connector Registry | Error occurred while downloading {source}")
exit(1)

# ext_path = f"{download_path}/{uuid.uuid4()}"
# ext_path = f"{storage_path}/{source}"

ExtractionUtil.extract(f"{download_path}/{source_url}", storage_path, source.split('.')[-1])
print(f"Connector Registry | Connector made available in storage path {storage_path}/{source}")

# shutil.copy(f"{storage_path}/{source}/{main_jar}", f"/opt/flink/lib/{main_jar}")
# print(f"Connector Registry | Jar copied to flink classpath /opt/flink/lib/")

# load metadata and install python packages
with open(f"{storage_path}/{source}/metadata.json") as f:
metadata = json.load(f)
install_python_requirements(metadata, storage_path, source)

def install_python_requirements(metadata, storage_path, source):
if metadata.get("metadata", {}).get("technology", "") == "python":
print(f"installing Python requirements for {storage_path}/{source}")
os.system(f"pip install -r {storage_path}/{source}/requirements.txt")

def get_runtime():
if os.path.exists("/opt/bitnami/spark"):
return "spark"

if os.path.exists("/opt/flink"):
return "flink"


# Method to download the file from blob store
def download_file(rel_path, destination) -> bool:
try:
# get pre-signed URL from dataset-api
dataset_api_host = config.find("dataset_api.host").strip("/")
pre_signed_endpoint = config.find("dataset_api.pre_signed_url").strip("/")

dataset_api_request = json.dumps({"request": {"files": [rel_path], "access": "read", "type": "connector"}})
dataset_api_response = requests.post(f"{dataset_api_host}/{pre_signed_endpoint}", data=dataset_api_request, headers={"Content-Type": "application/json"})

if dataset_api_response.status_code != 200:
print(f"Connector Registry | Error occurred while fetching pre-signed URL for {rel_path}: {dataset_api_response.text}")
return False

dataset_api_response_json = dataset_api_response.json()

url = dataset_api_response_json.get("result", [{}])[0].get(
"preSignedUrl", None
)

if not url:
print(f"Connector Registry | Pre-signed URL not found for {rel_path}")
return False

response = requests.get(url, stream=True)
response.raise_for_status()

with open(destination, 'wb') as file:
for chunk in response.iter_content(chunk_size=8192):
file.write(chunk)

print(f"Connector Registry | Download completed successfully. URL:{rel_path} Destination: {destination}")
return True
except requests.exceptions.HTTPError as http_err:
print(f"Connector Registry | HTTP error occurred during the file download: {http_err}")
return False
except Exception as e:
print(f"Connector Registry | An unexpected error occurred during the file download: {e}")
return False


class ExtractionUtil:
def extract_gz(tar_path, extract_path):
with tarfile.open(tar_path, "r:*") as tar:
tar.extractall(path=extract_path)

def extract_zip(tar_path, extract_path):
with zipfile.ZipFile(tar_path, "r") as zip_ref:
zip_ref.extractall(path=extract_path)

# Method to extract the compressed files
def extract(file, extract_out_path, ext) -> bool:
extraction_function = ExtractionUtil.extract_gz

compression_types = {
"zip": ExtractionUtil.extract_zip,
}

try:
print(
f"Connector Registry | Extracting {file} to {extract_out_path} of {ext} file type"
)

if ext in compression_types:
extraction_function = compression_types.get(ext)

extraction_function(file, extract_out_path)
print(f"Connector Registry | Extraction complete for {file}")
return True
except (tarfile.TarError, zipfile.BadZipFile, OSError) as e:
print(
f"Connector Registry | An error occurred while extracting the file: {e}"
)
return False
except Exception as e:
print(f"Connector Registry | An unexpected error occurred: {e}")
return False


if __name__ == "__main__":
main()
Loading