3853 Commits

Author SHA1 Message Date
Abhishek Katiyar
9d179ab83c INFRA-3897 | Abhishek | Add code to check status of objects deployed in kubernetes 2024-11-07 05:40:42 +05:30
Abhishek Katiyar
bb9361d6ff INFRA-3897 | Abhishek | Rename Deletion classes to operator 2024-11-07 03:54:36 +05:30
Abhishek Katiyar
761df34ba0 Merge branch 'master' into INFRA-3897 2024-11-07 03:29:14 +05:30
Abhishek Katiyar
5b864a5e8f INFRA-3897 | Abhishek | Fix tests 2024-11-07 03:25:23 +05:30
Abhishek Katiyar
4abf1c0637 INFRA-3897 | Abhishek | Revert changes made in kutegen 2024-11-07 02:08:12 +05:30
Abhishek Katiyar
3a72bdeffe INFRA-3897 | Abhishek | Fix KubeOperationControllerTests 2024-11-07 02:05:03 +05:30
Abhishek Katiyar
0a04b60bf0 INFRA-3897 | Abhishek | Ensure selective deletion of load balancers and api gateway routes 2024-11-07 01:52:15 +05:30
Abhishek Katiyar
6d068e4f36 INFRA-3897 | Abhishek | Add a function which returns commonApiGateways in a manifest 2024-11-07 00:49:53 +05:30
Abhishek Katiyar
a57d9db7d8 INFRA-3897 | Abhishek | Add a function which returns all routes for a commonApiGateway 2024-11-07 00:47:29 +05:30
Abhishek Katiyar
a490f80cb0 INFRA-3897 | Abhishek | Remove extra class KubeObjectDeleter 2024-11-07 00:46:50 +05:30
Abhishek Katiyar
9d72c3f816 INFRA-3897 | Abhishek | Add logic for deletion of commonApiGateways and hpa object 2024-11-06 23:54:37 +05:30
Abhishek Katiyar
985fe8c003 INFRA-3897 | Abhishek | Add service monitor deletion class 2024-11-06 23:53:48 +05:30
Abhishek Katiyar
974652f23e INFRA-3897 | Abhishek | Add commonApiGateways and hpa as a resource type 2024-11-06 23:53:11 +05:30
Abhishek Katiyar
a60bb48c61 INFRA-3897 | Abhishek | Reformat Manifest class 2024-11-06 23:52:40 +05:30
Abhishek Katiyar
6849cd792a INFRA-3897 | Abhishek | Refactor KubeOperationService 2024-11-06 23:52:21 +05:30
Abhishek Katiyar
44e504f4e9 INFRA-3897 | Abhishek | Add class to aid in service monitor deletion 2024-11-06 23:51:15 +05:30
Abhishek Katiyar
9de8340f82 INFRA-3897 | Abhishek | Extract deletion part in a separate class 2024-11-06 22:52:32 +05:30
Abhishek Katiyar
49c54b7cf9 INFRA-3897 | Abhishek | Add a function to get all load balancer ids for a particular manifest 2024-11-06 22:51:21 +05:30
Abhishek Katiyar
ba6a2f2422 INFRA-3897 | Abhishek | Remove interface 2024-11-06 22:50:34 +05:30
Abhishek Katiyar
3f4da3841c INFRA-3897 | Abhishek | Add function to check if deployment exists in manifest 2024-11-06 22:30:29 +05:30
Abhishek Katiyar
2c628e3aae INFRA-3897 | Abhishek | Add function to check if load balancers exist in deployment 2024-11-06 22:30:08 +05:30
Ashvin S
49bc01b92e INFRA-3988 | Ashvin | Remove max parallelism config from Flink (#1253)
For more details: https://github.com/navi-infra/kutegen/pull/209
2024-11-06 15:12:37 +05:30
Ashvin S
10f507a2ba INFRA-3988 | Ashvin | Convert job.autoscaler.enabled value to string (#1252) 2024-11-06 13:17:26 +05:30
Dhruv Joshi
5f15ec9d5d Merge branch 'master' into INFRA-3944-4 2024-11-06 08:29:25 +05:30
Abhishek Katiyar
2290e216c4 INFRA-3897 | Abhishek | Ensure deletion happens through newly created class 2024-11-06 04:00:22 +05:30
Abhishek Katiyar
ec7a0ab9be INFRA-3897 | Abhishek | Add separate class to aid in deletion of multiple objects 2024-11-06 03:57:07 +05:30
Abhishek Katiyar
a51ba20597 INFRA-3897 | Abhishek | Create strategy classes for deletion of multiple objects 2024-11-06 03:54:02 +05:30
Abhishek Katiyar
bbbe410592 INFRA-3897 | Abhishek | Add DTO objects for HPA, CronHPA and PrometheusRule 2024-11-06 01:20:42 +05:30
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
Security Bot
c6bf326819 SP-1022 | Auto merge semgrep file #1249
SP-1022 | Update Semgrep Workflow
2024-11-05 16:14:08 +05:30
Abhishek Katiyar
27fc147d88 INFRA-3897 | Abhishek | Ensure proper error is sent in response while deleting the object 2024-11-03 13:29:56 +05:30
Ashvin S
a65ec9cfa8 INFRA-3988 | Ashvin | Fix no restore in Flink jobs (#1250) 2024-10-30 17:21:42 +05:30
security user
7a50f4276d SP-1022 | Update Semgrep configuration 2024-10-30 12:32:43 +05:30
Abhishek Katiyar
eb3dce4482 INFRA-3897 | Abhishek | Moidy kube object deletion APIs to follow a proper format 2024-10-30 00:17:09 +05:30
Abhishek Katiyar
218c15e246 INFRA-3897 | Abhishek | Ensure strict matching of source and target gateway paths in commonApiGateway 2024-10-30 00:16:01 +05:30
dhruvjoshi
6cc8550c34 Merge branch 'master' of github.com:navi-infra/deployment-portal-backend into INFRA-3944-4 2024-10-29 18:00:03 +05:30
dhruvjoshi
b4583e124a INFRA-3794 | Dhruv | re-add security approval for read-db JIT 2024-10-29 17:56:55 +05:30
Ashvin S
76f62763d8 INFRA-3988 | Ashvin | Add trezo.com in PPL prod (#1246)
See https://github.com/navi-infra/kutegen/pull/200 for more details
2024-10-29 17:51:11 +05:30
Dhruv Joshi
c285830cda Merge pull request #1245 from navi-infra/INFRA-3944-2
INFRA-3944 | Dhruv | On closing change request updated/closed by was not being set
2024-10-28 12:34:00 +05:30
dhruvjoshi
19ab54847e INFRA-3944 | Dhruv | On closing change request updated/closed by was not being set 2024-10-27 13:47:20 +05:30
Dhruv Joshi
a28b43534a Merge pull request #1244 from navi-infra/INFRA-3944-2
INFRA-3944 | Dhruv | adds resource deletion logs
2024-10-26 15:22:26 +05:30
dhruvjoshi
868c2f74cc INFRA-3944 | Dhruv | adds resource deletion logs 2024-10-26 01:18:10 +05:30
Dhruv Joshi
45e52ad7d8 Merge pull request #1243 from navi-infra/INFRA-3944-2
INFRA-3944 | Dhruv | adds api exception logs
2024-10-25 11:02:52 +05:30
Dhruv Joshi
1065b322dc Merge branch 'master' into INFRA-3944-2 2024-10-25 00:50:24 +05:30
dhruvjoshi
93928b2277 INFRA-3944 | Dhruv | adds api exception logs 2024-10-25 00:50:02 +05:30
Dhruv Joshi
04e01aff35 Merge pull request #1242 from navi-infra/INFRA-3944-2
INFRA-3944 | Dhruv | adds logs to debug job manager deletion
2024-10-25 00:06:56 +05:30
Dhruv Joshi
b2fa8c04d3 INFRA-3944-2 | Dhruv | lint 2024-10-24 22:30:41 +05:30
Dhruv Joshi
b29f3d59e0 INFRA-3944-2 | Dhruv | make log.info 2024-10-24 21:31:12 +05:30
dhruvjoshi
43211204f4 INFRA-3944 | Dhruv | adds logs to debug job manager deletion 2024-10-24 21:27:33 +05:30
Saqib Perwaiz
08ecc3c072 Merge pull request #1241 from navi-infra/INFRA-3886
INFRA-3886 | Saqib | Updates kutegen
2024-10-22 17:37:56 +05:30