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

Update API version for the kubernetes_horizontal_pod_autoscaler table #190

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

bigdatasourav
Copy link
Contributor

@bigdatasourav bigdatasourav commented Nov 7, 2023

Example query results

Results
> select name, jsonb_pretty(metrics),scale_up_behavior, scale_down_behavior, jsonb_pretty(current_metrics), conditions from kubernetes_horizontal_pod_autoscaler
+------------+------------------------------------------+-------------------+---------------------+-----------------------------------------+------------------------------------------------------------------------>
| name       | jsonb_pretty                             | scale_up_behavior | scale_down_behavior | jsonb_pretty                            | conditions                                                             >
+------------+------------------------------------------+-------------------+---------------------+-----------------------------------------+------------------------------------------------------------------------>
| php-apache | [                                        | <null>            | <null>              | [                                       | [{"lastTransitionTime":"2023-11-07T11:38:48Z","message":"recommended si>
|            |     {                                    |                   |                     |     {                                   |                                                                        >
|            |         "type": "Resource",              |                   |                     |         "type": "Resource",             |                                                                        >
|            |         "resource": {                    |                   |                     |         "resource": {                   |                                                                        >
|            |             "name": "cpu",               |                   |                     |             "name": "cpu",              |                                                                        >
|            |             "target": {                  |                   |                     |             "current": {                |                                                                        >
|            |                 "type": "Utilization",   |                   |                     |                 "value": "7m",          |                                                                        >
|            |                 "averageUtilization": 50 |                   |                     |                 "averageValue": "7m",   |                                                                        >
|            |             }                            |                   |                     |                 "averageUtilization": 4 |                                                                        >
|            |         }                                |                   |                     |             }                           |                                                                        >
|            |     }                                    |                   |                     |         }                               |                                                                        >
|            | ]                                        |                   |                     |     }                                   |                                                                        >
|            |                                          |                   |                     | ]                                       |                                                                        >
+------------+------------------------------------------+-------------------+---------------------+-----------------------------------------+------------------------------------------------------------------------>

@bigdatasourav bigdatasourav merged commit ccaa4e4 into main Jan 3, 2024
1 check passed
@bigdatasourav bigdatasourav deleted the hpa_fix branch January 3, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

current_metrics and metrics in the table kubernetes_horizontal_pod_autoscaler return NULL
2 participants