Alvaro Aleman
fae92b2964
perf(k8s): Improve performance of kubeconfig module ( #6032 )
...
* Fix config schema
* Improve performance of kubeconfig module
This module currently takes about 200 ms when using our ~10MiB
kubeconfig. This change improves its performance by:
* Only parsing the file once
* (Naively) checking if the content is yaml or json and potentially
parse as the latter, as that seems to be much faster
2024-07-16 22:26:03 +02:00
..
2024-02-04 16:01:32 +01:00
2024-03-20 18:57:14 +09:00
2023-05-10 14:36:56 +02:00
2023-05-10 14:36:56 +02:00
2022-12-09 18:41:59 +09:00
2024-03-30 09:38:19 +01:00
2023-11-29 07:27:47 +01:00
2024-02-19 17:01:51 +01:00
2022-09-04 18:44:54 +02:00
2023-01-27 18:33:24 +09:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2024-04-06 15:29:24 +02:00
2022-09-04 18:44:54 +02:00
2023-04-02 16:39:45 +02:00
2024-03-29 12:14:57 +01:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2023-07-30 14:32:20 +02:00
2024-06-02 15:24:12 +02:00
2023-12-17 08:19:43 +01:00
2024-07-07 16:15:56 +02:00
2022-09-04 18:44:54 +02:00
2022-11-05 12:40:46 +01:00
2023-03-22 13:42:46 -05:00
2022-09-04 18:44:54 +02:00
2023-03-22 13:42:46 -05:00
2022-09-27 23:08:52 +02:00
2023-04-02 16:37:27 +02:00
2023-12-30 17:29:37 +01:00
2024-06-29 23:00:07 +02:00
2024-02-26 12:21:00 +01:00
2023-02-21 13:03:17 +09:00
2023-07-31 21:44:31 +02:00
2023-02-21 13:03:17 +09:00
2023-12-16 16:58:45 +01:00
2024-04-05 23:56:15 +02:00
2023-06-01 21:18:38 +02:00
2023-03-27 16:41:09 +02:00
2022-10-25 07:44:04 +02:00
2024-03-29 12:14:57 +01:00
2022-12-17 18:01:27 +01:00
2022-09-04 18:44:54 +02:00
2023-04-02 16:37:27 +02:00
2024-01-02 15:45:06 +01:00
2023-04-07 15:40:23 +02:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2024-07-16 22:26:03 +02:00
2022-12-01 19:51:04 +01:00
2022-11-05 12:40:46 +01:00
2022-11-05 12:40:46 +01:00
2022-10-11 18:02:46 +02:00
2024-05-15 18:46:14 +02:00
2024-05-15 18:46:14 +02:00
2023-03-11 07:23:30 +01:00
2023-12-30 17:29:37 +01:00
2023-06-01 21:24:11 +02:00
2022-09-04 18:44:54 +02:00
2024-04-05 23:56:49 +02:00
2022-10-15 18:15:33 +02:00
2024-03-29 12:14:57 +01:00
2024-03-24 08:03:55 +01:00
2024-03-29 12:14:57 +01:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2023-01-30 23:12:27 +01:00
2024-03-29 12:14:57 +01:00
2024-06-28 23:39:40 +02:00
2023-12-30 17:29:37 +01:00
2024-03-20 22:50:12 +01:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2023-11-29 07:25:40 +01:00
2024-03-20 22:57:26 +01:00
2023-12-30 17:29:37 +01:00
2024-05-12 20:32:08 +02:00
2023-11-25 14:06:03 +01:00
2023-12-30 17:29:37 +01:00
2022-09-04 18:44:54 +02:00
2023-04-13 21:05:12 +02:00
2022-09-04 18:44:54 +02:00
2024-03-20 22:58:33 +01:00
2022-11-05 12:40:46 +01:00
2023-06-13 15:40:17 -05:00
2022-11-05 12:40:46 +01:00
2023-08-25 22:53:35 +02:00
2023-11-12 19:02:31 +01:00
2024-06-22 09:52:46 +02:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00
2022-09-04 18:44:54 +02:00