Commit Graph

47 Commits

Author SHA1 Message Date
Ashvin S
1009012a4d INFRA-3988 | Ashvin | Add autoscaling to Flink (#1251)
* INFRA-3988 | Ashvin | Add autoscaling to Flink

Autoscaling will only be supported by Flink versions 1.18 and later.
Migration is done using the following command
```shell
find . -name "manifest*flink*" | xargs -I{} sh -c "jq -r '.flink.flinkDeployment.flinkConfiguration += {\"autoscaler\": { \"enabled\": false }}' {} | sponge {}"
```
Adds validation in JSON schema
Updates kutegen with autoscaler changes

* INFRA-3988 | Ashvin | Remove promgateway configuration from Flink

This field is not required now that we use servicemonitor to fetch the
metrics. Earlier pushgateway was used.

Command used to do the migration is
```shell
find . -name "kub*flink*" | xargs -I {} sh -c "sed -i 's/promgate//' {}"
```

* INFRA-3988 | Ashvin | Add max-parallelism in test fixtures

Command used
```shell
find . -name "kube*flink*json" | xargs -I{} sh -c "jq -r '. | .kubeObject.items |= map(if .kind == \"FlinkDeployment\" then .spec.flinkConfiguration += { \"pipeline.max-parallelism\": \"100\" } else . end)' {} | sponge {}"
```

* Revert "INFRA-3988 | Ashvin | Remove promgateway configuration from Flink"

This reverts commit 3ef63ad31a587814275d5bad6f6d467cf638a0b9.

* INFRA-3988 | Ashvin | Remove promgateway configuration from Flink

This field is not required now that we use servicemonitor to fetch the
metrics. Earlier pushgateway was used.

Command used to do the migration is
```shell
find . -name "*flink*json" | xargs -I {} sh -c "sed -i '/promgate/d' {}"
```

* INFRA-3988 | Add Flink autoscaler field to all manifests

Only Flink manifests will be effected by this migration

* INFRA-3988 | Ashvin | Update kutegen
2024-11-05 18:57:37 +05:30
Ashvin S
ff4eb279d5 INFRA-3931 | Ashvin | Add migration framework (#1239)
* INFRA-3931 | Ashvin | Add migration framework
2024-10-21 13:08:15 +05:30
Ashvin S
2f37cde3e5 INFRA-3931 | Ashvin | Add support for multiple versions in Flink (#1235)
* INFRA-3931 | Ashvin | Remove taskmanager replica from jsonschema backend validation

* INFRA-3931 | Ashvin | Update tests to accommodate for the new flinkVersion field

* INFRA-3931 | Ashvin | Add controller level validation on taskManagerSlots and flinkVersion

Both are now required fields.

* INFRA-3930 | Ashvin | Update kutegen and add migration script

* INFRA-3931 | Ashvin | Remove replicas field from test files

This field was deleted long back as it was redundant. See this https://github.com/navi-infra/kutegen/pull/190
Please enter the commit message for your changes. Lines starting
2024-10-18 12:46:08 +05:30
Saurabh Bhagwan Sathe
5d17f96135 INFRA-3438 | Saurabh | Added Client TLS Negotiation Error in json schema and migration script (#1085)
* INFRA-3438 | Saurabh | Added Client TLS Negotiation Error in json schema and script

* INFRA-3438 | Saurabh | Added Client TLS Negotiation Error in json schema and script
2024-07-15 17:20:12 +05:30
Saurabh Bhagwan Sathe
d59ec2e3f2 INFRA-3343 | Saurabh | Adding cluster migration scripts (#964)
* INFRA-3343 | Saurabh | Adding cluster migration scripts

* INFRA-3343 | Saurabh | Adding cluster migration scripts

* INFRA-3343 | Saurabh | Add token and cookie

* INFRA-3343 | Saurabh | kutegen
2024-05-28 16:51:53 +05:30
Saqib Perwaiz
dd257f643d INFRA-3277 | Saqib | updating script to ignore namespace not starting with dev or qa 2024-05-17 16:31:41 +05:30
Saqib Perwaiz
72fc3e66d8 INFRA-3277 | Saqib | portal maxReplica migration script 2024-05-17 15:35:46 +05:30
Abhishek Katiyar
78e8b3c3d2 Merge branch 'master' into INFRA-2230-1 2024-05-06 12:58:15 +05:30
dhruvjoshi
5eeb271d8d INFRA-3149 | Dhruv | py script to migrate amc manifest 2024-04-17 17:34:30 +05:30
Abhishek Katiyar
7330a89219 INFRA-2230 | Abhishek | Add scripts for migration of alb to shared albs in production 2024-04-04 16:20:26 +05:30
Saqib Perwaiz
8ffe41f3f4 INFRA-2999 | Saqib | Script to update labels of elastic stack prometheus rules 2024-03-20 17:18:33 +05:30
Saqib Perwaiz
2023ac4a16 INFRA-2999 | Saqib | Script to update labels of elastic stack prometheus rules 2024-03-20 16:09:13 +05:30
Saqib Perwaiz
3d58e4116b INFRA-2878 | Saqib | Migrate Service Monitor Intervals 2024-02-20 12:07:44 +05:30
Ashvin S
384a93569d INFRA-2493 | Ashvin | Add script to delete resources of a list of services (#737)
* INFRA-2493 | Ashvin | Add script to delete resources of a list of services

* INFRA-2493 | Change the name of the arr variable
2023-11-24 18:08:54 +05:30
Ashvin Sharma
7471fe0ce4 INFRA-2270 | Ashvin | Migrate using psql
This file was earlier written to migrate using API but because lack of metadata, submit does not go through. Now the logic queries direct to database instead.
2023-10-03 18:52:27 +05:30
saqib-perwaiz_navi
6024790594 INFRA-2270 | Saqib | Use perform post 2023-10-01 22:05:39 +05:30
saqib-perwaiz_navi
6f82adb050 INFRA-2270 | Saqib | Change disasterRecovery values 2023-10-01 21:28:21 +05:30
saqib-perwaiz_navi
c6b5a1f2e4 INFRA-2270 | Saqib | Change type from string to number 2023-09-29 19:14:48 +05:30
saqib-perwaiz_navi
8712ab3327 INFRA-2270 | Saqib | Format code 2023-09-29 15:16:45 +05:30
saqib-perwaiz_navi
4e4803ce0b INFRA-2270 | Saqib | Change threshold values to numbers 2023-09-29 15:13:27 +05:30
Ashvin Sharma
21584f6a4a INFRA-2035 | Ashvin | Add migration for vpa maxallowed 2023-08-17 12:20:17 +05:30
Ashvin Sharma
7c231d5bab INFRA-1890 | Ashvin | Fix approval request 403 2023-08-08 13:32:25 +05:30
Ashvin Sharma
d0364464cd INFRA-1890 | Ashvin | Change migration script to generate ALL env roles 2023-08-07 17:38:50 +05:30
Ashvin Sharma
9e98b38b94 INFRA-1890 | Ashvin | Create ALL env role for every team 2023-08-07 17:11:24 +05:30
Ashvin Sharma
64e1890f14 INFRA-1989 | Ashvin | Change privilege check logic 2023-08-03 23:09:12 +05:30
Ashvin Sharma
8b65428a35 INFRA-1989 | Ashvin | Modify migration for local env 2023-08-03 23:06:25 +05:30
Ashvin Sharma
1208d25145 INFRA-1989 | Ashvin | Fix user_role_migration.py script 2023-08-01 18:20:27 +05:30
Ashvin Sharma
66a4e27720 INFRA-1989 | Ashvin | Remove supersecret:read privilege from maintainer and manager roles 2023-08-01 18:16:15 +05:30
Ashvin Sharma
e1fc1a632e INFRA-1989 | Ashvin | Add migration scripts for new roles and privileges 2023-08-01 18:08:25 +05:30
Ashvin Sharma
8a6897a4ad INFRA-1955 | Ashvin | Add OOMKilled migration script 2023-07-25 12:07:40 +05:30
Harinder Singh
9c07b8214d INFRA-1863 | Short-term fix for inconsistent teams list in frontend and backend. Adhoc scripts for updating startup probe and getting teams list 2023-06-12 15:11:24 +05:30
Harinder Singh
5620566a92 IS-18 | Harinder | Script to update type of exisitng sensitive environment variables 2023-05-31 14:04:00 +05:30
Ashvin Sharma
5a3ffc0c5e INFRA-1847 | Ashvin | Remove unwanted changes 2023-05-24 13:49:05 +05:30
Ashvin Sharma
78e4611382 INFRA-1847 | Ashvin | Fix sharedAlb migration script 2023-05-24 13:13:54 +05:30
Ashvin Sharma
fa0baf0448 INFRA-1847 | Ashvin | Do remove and apply on ingress 2023-05-22 19:44:30 +05:30
Ashvin Sharma
d49a316053 INFRA-1847 | Ashvin | Create migration script from sharedAlb 2023-05-22 15:35:19 +05:30
Deepak Jain
40ef2f7c1f INFRA-1768 | Deepak | adding script to check if env var contain url and if that url is allowed via outbound (#465) 2023-04-12 23:28:18 +05:30
Deepak Jain
b0785a53b7 INFRA-1768 | Deepak | adding smaple script to migrate k8s object (#461) 2023-04-09 23:20:53 +05:30
Abhishek Katiyar
67ffc4a3c1 INFRA-1768 | Abhishek | Apply pagination while fetching DBs 2023-04-07 17:54:09 +05:30
Abhishek Katiyar
e14211a3e2 INFRA-1768 | Abhishek | Fix comments 2023-04-07 15:21:40 +05:30
Abhishek Katiyar
8363fd1f0b INFRA-1768 | Abhishek | Add script to migrate PsqlEngineVersion and psqlFamily in manifests 2023-04-06 23:44:33 +05:30
Abhishek Katiyar
f0c9947bc0 INFRA-1768 | Abhishek | Add script to migrate PsqlEngineVersion to exact value 2023-04-06 21:22:24 +05:30
Ashvin Sharma
a0647f3c08 INFRA-1614 | Ashvin | Add VPA migration script 2023-01-06 18:09:34 +05:30
Deepak Jain
43a24baec2 INFRA-1351 | Deepak | adding migration script (#323) 2022-10-06 11:24:39 +05:30
Sadeep S
a0c424456f INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection (#278)
* INFRA-950 | Sandeep Sogani | k8s alert for utilisation

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection

* INFRA-727 | Sandeep Sogani | Dynamic-Configuration Injection
2022-05-04 15:44:13 +05:30
Piyush Sinha
b18a61af05 [INFRA-19] | Piyush | Apply security groups manifest 2020-07-22 10:36:48 +05:30
Piyush Sinha
51aeed0aa6 [INFRA-19] | Support for generating and applying kubernetes deployment manifests (#19) 2020-07-21 16:21:44 +05:30