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 tables to remove the incompatible versions. Closes #124 #126

Merged
merged 3 commits into from
Apr 7, 2023

Conversation

Subhajit97
Copy link
Contributor

@Subhajit97 Subhajit97 commented Apr 6, 2023

Example query results

Table: kubernetes_endpoint_slice

Results
select
  name,
  namespace,
  generate_name as endpoint_name,
  address_type,
  endpoints,
  ports
from
  kubernetes_endpoint_slice;
+----------------------------+-------------+-----------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| name                       | namespace   | endpoint_name         | address_type | endpoints                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ports                                                                                     |
+----------------------------+-------------+-----------------------+--------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+
| kubernetes                 | default     |                       | IPv4         | [{"addresses":["10.142.0.2"],"conditions":{"ready":true}}]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | [{"name":"https","port":443,"protocol":"TCP"}]                                            |
| metrics-server-sghqh       | kube-system | metrics-server-       | IPv4         | [{"addresses":["10.60.2.5"],"conditions":{"ready":true,"serving":true,"terminating":false},"nodeName":"gke-cluster-1-default-pool-de6da440-0b96","targetRef":{"kind":"Pod","name":"metrics-server-v0.5.2-6bf845b67f-29vh6","namespace":"kube-system","uid":"bc30c684-1f6d-4e07-8f63-4c4a23fe6bbe"},"topology":{"kubernetes.io/hostname":"gke-cluster-1-default-pool-de6da440-0b96","topology.kubernetes.io/zone":"us-east1-c"}}]                                                                                                                                                                                                                                                                                                                                                                                                      | [{"name":"","port":10250,"protocol":"TCP"}]                                               |
| kube-dns-lvfcw             | kube-system | kube-dns-             | IPv4         | [{"addresses":["10.60.1.2"],"conditions":{"ready":true,"serving":true,"terminating":false},"nodeName":"gke-cluster-1-default-pool-0665f6e1-qz3d","targetRef":{"kind":"Pod","name":"kube-dns-7d5998784c-rmbls","namespace":"kube-system","uid":"d3d05bcb-db6a-48f0-ae25-ee8da578ec1a"},"topology":{"kubernetes.io/hostname":"gke-cluster-1-default-pool-0665f6e1-qz3d","topology.kubernetes.io/zone":"us-east1-b"}},{"addresses":["10.60.0.6"],"conditions":{"ready":true,"serving":true,"terminating":false},"nodeName":"gke-cluster-1-default-pool-304fcf91-4z5b","targetRef":{"kind":"Pod","name":"kube-dns-7d5998784c-5zqmf","namespace":"kube-system","uid":"688b861a-fc73-4a5d-bda7-bceee28fcee1"},"topology":{"kubernetes.io/hostname":"gke-cluster-1-default-pool-304fcf91-4z5b","topology.kubernetes.io/zone":"us-east1-d"}}] | [{"name":"dns","port":53,"protocol":"UDP"},{"name":"dns-tcp","port":53,"protocol":"TCP"}] |
| default-http-backend-vz4cp | kube-system | default-http-backend- | IPv4         | [{"addresses":["10.60.0.3"],"conditions":{"ready":true,"serving":true,"terminating":false},"nodeName":"gke-cluster-1-default-pool-304fcf91-4z5b","targetRef":{"kind":"Pod","name":"l7-default-backend-6dc845c45d-74fqr","namespace":"kube-system","uid":"56841903-e813-4f35-89fe-ab49d1f1c8f3"},"topology":{"kubernetes.io/hostname":"gke-cluster-1-default-pool-304fcf91-4z5b","topology.kubernetes.io/zone":"us-east1-d"}}]                                                                                                                                                                                                                                                                                                                                                                                                         | [{"name":"http","port":8080,"protocol":"TCP"}]                                            |
+----------------------------+-------------+-----------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------+

Table: kubernetes_horizontal_pod_autoscaler

Results
select
  name,
  namespace,
  min_replicas,
  max_replicas,
  current_replicas,
  desired_replicas
from
  kubernetes_horizontal_pod_autoscaler;
+------------+-----------+--------------+--------------+------------------+------------------+
| name       | namespace | min_replicas | max_replicas | current_replicas | desired_replicas |
+------------+-----------+--------------+--------------+------------------+------------------+
| php-apache | default   | 1            | 10           | 0                | 0                |
+------------+-----------+--------------+--------------+------------------+------------------+

Table: kubernetes_pod_disruption_budget

Results
select
   name,
   namespace,
   min_available,
   max_unavailable,
   selector 
from
   kubernetes_pod_disruption_budget 
order by
   namespace,
   name;
+--------+-----------+---------------------------+-----------------+-------------------------------------+
| name   | namespace | min_available             | max_unavailable | selector                            |
+--------+-----------+---------------------------+-----------------+-------------------------------------+
| zk-pdb | default   | {Type:0 IntVal:2 StrVal:} | <null>          | {"matchLabels":{"app":"zookeeper"}} |
+--------+-----------+---------------------------+-----------------+-------------------------------------+

@Subhajit97 Subhajit97 self-assigned this Apr 6, 2023
@Subhajit97 Subhajit97 requested a review from cbruno10 April 6, 2023 15:36
@Subhajit97 Subhajit97 marked this pull request as ready for review April 6, 2023 15:36
@cbruno10 cbruno10 requested review from bigdatasourav and removed request for cbruno10 April 6, 2023 15:57
Copy link
Contributor

@bigdatasourav bigdatasourav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Subhajit97 Could you please add some example queries with the output of the updated ones in Example query results?

Copy link
Contributor

@bigdatasourav bigdatasourav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav merged commit 1c89eb5 into main Apr 7, 2023
@bigdatasourav bigdatasourav deleted the issue-124 branch April 7, 2023 11:40
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.

Getting error Error: the server could not find the requested resource (SQLSTATE HV000)
2 participants