{"id":24629522,"url":"https://github.com/framsouza/eck-diagnostics-parser","last_synced_at":"2025-05-07T22:13:54.513Z","repository":{"id":49782906,"uuid":"513690112","full_name":"framsouza/eck-diagnostics-parser","owner":"framsouza","description":"Friendly output of ECK diagnostics tool","archived":false,"fork":false,"pushed_at":"2022-07-29T08:02:07.000Z","size":110,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T22:13:39.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/framsouza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-13T22:37:33.000Z","updated_at":"2023-02-06T14:47:37.000Z","dependencies_parsed_at":"2022-08-02T14:45:45.951Z","dependency_job_id":null,"html_url":"https://github.com/framsouza/eck-diagnostics-parser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framsouza%2Feck-diagnostics-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framsouza%2Feck-diagnostics-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framsouza%2Feck-diagnostics-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/framsouza%2Feck-diagnostics-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/framsouza","download_url":"https://codeload.github.com/framsouza/eck-diagnostics-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961843,"owners_count":21832199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-25T06:13:11.313Z","updated_at":"2025-05-07T22:13:54.470Z","avatar_url":"https://github.com/framsouza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eck-diagnostics-parser\n\nThis tool is read, extracts and generate a friendly output of the ECK diagnostics tool.\n\nYou can install it in two ways:\n\n\n### Installling with brew\n\n```\n$ brew tap framsouza/framsouza \n$ brew install framsouza/framsouza/eck-diagnostics-parser \n$ eck-diagnostics-parser -zipfile \u003cpathtotheeckdiagnostic.zip\u003e\n```\n\n\n### Cloning the repo\n\nThere are two options you could use if you choose to clone the repo:\n\n#### Building the binary\n```\n$ git clone git@github.com:framsouza/eck-diagnostics-parser.git \u0026\u0026 cd eck-diagnostics-parser\n$ go build -o eck-diagnostics-parser ./cmd\n```\n\nIt will generate a `./eck-diagnostics-parser` command, you should it in the `PATH` or even create an alias \n\n#### Without building\n```\n$ git clone git@github.com:framsouza/eck-diagnostics-parser.git \u0026\u0026 cd eck-diagnostics-parser\n$ go run cmd/main.go -zipfile  \u003cpathtotheeckdiagnostic.zip\u003e\n```\n\n## NOTES\nIt will create a temporary folder called `./tmp` in the current directory, make sure to not run it on `/` otherwise you will get the following error:\n```\neck-diagnostics-parser -zipfile /Users/francismarasouza/Downloads/eck-diagnostic-2022-05-31T12-45-19.zip\n2022/07/27 17:40:28 mkdir tmp: read-only file system\n```\n\nThis directory will be automatically deleted once the program finishes.\n\n### Expected output\n\n```\neck-diagnostics-parser -zipfile /Users/francismarasouza/Downloads/eck-diagnostic-2022-05-31T12-45-19.zip\n\nWelcome to the ECK diagnostic parser tool\n\nDiagnostic version is 1.1.0\n2022/05/31 12:45:26 ECK version is 2.2.0\nDiagnostic Collection date is 2022-05-31 12:45:19.841005894 +0200 CEST\n\nNODE NAME                                              CPU CAPACITY          CPU ALLOCATED          MEM CAPACITY          MEM ALLOCATED          VERSION             NODE READY\nshoot--phbnrn--test-n1-q01-group-0-6bc59-9v79c          48                    47920m                 97600484Ki            96449508Ki             v1.21.12            True\nshoot--phbnrn--test-n1-q01-group-0-6bc59-m5jtc          48                    47920m                 97600484Ki            96449508Ki             v1.21.12            True\nshoot--phbnrn--test-n1-q01-group-0-6bc59-rzk49          48                    47920m                 97604772Ki            96453796Ki             v1.21.12            True\n\nPODS NAME                                                                NAMESPACE                    STATUS              MEM REQUEST          MEM LIMIT           CPU REQUEST          CPU LIMIT           NODE NAME\ntest-eck-cluster-nonprod-elasticsearch-exporter-es-576d9479nbmcz          elastic-test-nonprod          Running             128Mi                512Mi               100m                 500m                shoot--phbnrn--test-n1-q01-group-0-6bc59-rzk49\ntest-eck-cluster-nonprod-es-default-0                                     elastic-test-nonprod          Running             15G                  18650M              4                    6                   shoot--phbnrn--test-n1-q01-group-0-6bc59-rzk49\ntest-eck-cluster-nonprod-es-default-1                                     elastic-test-nonprod          Running             15G                  18650M              4                    6                   shoot--phbnrn--test-n1-q01-group-0-6bc59-9v79c\ntest-eck-cluster-nonprod-es-default-2                                     elastic-test-nonprod          Running             15G                  18650M              4                    6                   shoot--phbnrn--test-n1-q01-group-0-6bc59-m5jtc\ntest-nbg-nonprod-kb-765549b8bc-f86wz                                      elastic-test-nonprod          Running             2G                   4G                  1                    2                   shoot--phbnrn--test-n1-q01-group-0-6bc59-rzk49\ntest-nbg-nonprod-kb-765549b8bc-qh5lh                                      elastic-test-nonprod          Running             2G                   4G                  1                    2                   shoot--phbnrn--test-n1-q01-group-0-6bc59-9v79c\nelastic-operator-0                                                        elastic-test-nonprod          Running             150Mi                1Gi                 100m                 1                   shoot--phbnrn--test-n1-q01-group-0-6bc59-rzk49\nprometheus-elastic-test-nonprod-0                                         elastic-test-nonprod          Running             Not set              Not set             Not set              Not set             shoot--phbnrn--test-n1-q01-group-0-6bc59-m5jtc\n\nES NAME                                    STATUS              VERSION             PHASE               NODES               NAMESPACE\ntest-eck-cluster-nonprod                    green               7.17.4              Ready               3                   elastic-test-nonprod\n\nKB NAME                            STATUS              VERSION             PHASE                NODES               NAMESPACE\ntest-nbg-nonprod                    green               7.17.4              Established          2                   elastic-test-nonprod\n\nSTATEFULSET NAME                                      REPLICAS            NAMESPACE                    HEAP SIZE\ntest-eck-cluster-nonprod-es-default                    3                   elastic-test-nonprod          -Xms12G -Xmx12G\nelastic-operator                                       1                   elastic-test-nonprod\nprometheus-elastic-test-nonprod                        1                   elastic-test-nonprod\n\nDEPLOYMENT NAME                                                      REPLICAS            NAMESPACE\ntest-eck-cluster-nonprod-elasticsearch-exporter-es                    1                   elastic-test-nonprod\ntest-nbg-nonprod-kb                                                   2                   elastic-test-nonprod\n\nPVC NAME                                                         STATUS              CAPACITY            VOLUME NAME                                       SC NAME                 ACCESS MODE\nelasticsearch-data-test-eck-cluster-nonprod-es-default-0          Bound               466Gi               pvc-c1b6d012-e54b-4e6a-8883-4c96f5623c6d          partition-gold          [ReadWriteOnce]\nelasticsearch-data-test-eck-cluster-nonprod-es-default-1          Bound               466Gi               pvc-e726acd4-85bb-4d65-88f1-275b4a192268          partition-gold          [ReadWriteOnce]\nelasticsearch-data-test-eck-cluster-nonprod-es-default-2          Bound               466Gi               pvc-add43951-4847-4b2c-938b-9808acae2f15          partition-gold          [ReadWriteOnce]\nprometheus-db-prometheus-elastic-test-nonprod-0                   Bound               5Gi                 pvc-1d7a2dfa-5b6a-4364-b83a-9c856c727240          csi-lvm                 [ReadWriteOnce]\n\nSERVICE NAME                                               TYPE                  NAMESPACE                    ENDPOINTS\ntest-eck-cluster-nonprod-elasticsearch-exporter-es          ClusterIP             elastic-test-nonprod          10.244.16.86,\ntest-eck-cluster-nonprod-es-default                         ClusterIP             elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-eck-cluster-nonprod-es-elastic-443-mpls                LoadBalancer          elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-eck-cluster-nonprod-es-http                            ClusterIP             elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-eck-cluster-nonprod-es-internal-http                   ClusterIP             elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-eck-cluster-nonprod-es-transport                       ClusterIP             elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-eck-cluster-nonprod-es-transport-300-mpls              LoadBalancer          elastic-test-nonprod          10.244.12.78, 10.244.16.94, 10.244.20.129,\ntest-nbg-nonprod-kb-http                                    ClusterIP             elastic-test-nonprod          10.244.12.77, 10.244.16.93,\nelastic-webhook-server                                      ClusterIP             elastic-test-nonprod          10.244.16.92,\nprometheus-elastic-test-nonprod                             ClusterIP             elastic-test-nonprod          10.244.20.125,\n\nSTORAGE CLASS NAME          PROVISIONER                     ALLOW EXPANSION          VOLUME BIND MODE              RECLAIM POLICY\ncsi-lvm                     metal-stack.io/csi-lvm          false                    WaitForFirstConsumer          Delete\ncsi-lvm-sc-linear           lvm.csi.metal-stack.io          true                     WaitForFirstConsumer          Delete\ncsi-lvm-sc-mirror           lvm.csi.metal-stack.io          true                     WaitForFirstConsumer          Delete\ncsi-lvm-sc-striped          lvm.csi.metal-stack.io          true                     WaitForFirstConsumer          Delete\npartition-gold              csi.lightbitslabs.com           true                     Immediate                     Delete\npartition-silver            csi.lightbitslabs.com           true                     Immediate                     Delete\n\nBASED ON THE OUTPUT ABOVE, MAKE SURE THAT:\n- The Elasticsearch services has an endpoint attached to it, if there's no endpoint the services won't be able to connect to the pods\n- All the PVC has a Bound status\n- All the Elasticsearch Resources are Green and the Phase is \"READY\", if the status is \"ApplyingChanges\" check the Operator logs\n- All the Kibana Resources are Green and the Phase is \"READY\" or \"ESTABLISHED\", if the status is \"ApplyingChanges\" check the Operator logs\n- All the Elasticsearch and Kibana pods has the RUNNING status, if not, check the pod logs\n- All the Elasticsearch has the same MEM REQUEST \u0026 MEM LIMIT, it's very important to ensure quality of Serivce\n- Starting with Elasticsearch 7.11, unless manually overridden, heap size is automatically calculated based on the available memory, if the HEAP SIZE column is empty for the Elasticsearch statefulsets, make sure Elasticsearch is \u003e7.11\n- If you desire to increase the disk size, make sure you are ran the latest ECK diagnostics and check the if ALLOW EXPANSION is true, if that is the case you can easily change the PVC volume size in the Elasticsearch manifest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fframsouza%2Feck-diagnostics-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fframsouza%2Feck-diagnostics-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fframsouza%2Feck-diagnostics-parser/lists"}