Giter Club home page Giter Club logo

Comments (6)

arun-gupta avatar arun-gupta commented on May 27, 2024

Here is how the cluster was created:

eksctl create cluster --name myeks --nodes 4 --region us-west-2
2018-09-17T19:58:35-07:00 [ℹ]  setting availability zones to [us-west-2b us-west-2c us-west-2a]
2018-09-17T19:58:39-07:00 [ℹ]  using "ami-08cab282f9979fc7a" for nodes
2018-09-17T19:58:39-07:00 [ℹ]  creating EKS cluster "myeks" in "us-west-2" region
2018-09-17T19:58:39-07:00 [ℹ]  will create 2 separate CloudFormation stacks for cluster itself and the initial nodegroup
2018-09-17T19:58:39-07:00 [ℹ]  if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=us-west-2 --name=myeks'
2018-09-17T19:58:39-07:00 [ℹ]  creating cluster stack "eksctl-myeks-cluster"
2018-09-17T20:10:35-07:00 [ℹ]  creating nodegroup stack "eksctl-myeks-nodegroup-0"
2018-09-17T20:14:06-07:00 [✔]  all EKS cluster resource for "myeks" had been created
2018-09-17T20:14:06-07:00 [✔]  saved kubeconfig as "kubectl-eks-gpu"
2018-09-17T20:14:25-07:00 [ℹ]  the cluster has 1 nodes
2018-09-17T20:14:25-07:00 [ℹ]  node "ip-192-168-120-73.us-west-2.compute.internal" is not ready
2018-09-17T20:14:25-07:00 [ℹ]  waiting for at least 4 nodes to become ready
2018-09-17T20:14:56-07:00 [ℹ]  the cluster has 4 nodes
2018-09-17T20:14:56-07:00 [ℹ]  node "ip-192-168-115-46.us-west-2.compute.internal" is ready
2018-09-17T20:14:56-07:00 [ℹ]  node "ip-192-168-120-73.us-west-2.compute.internal" is ready
2018-09-17T20:14:56-07:00 [ℹ]  node "ip-192-168-159-205.us-west-2.compute.internal" is not ready
2018-09-17T20:14:56-07:00 [ℹ]  node "ip-192-168-204-115.us-west-2.compute.internal" is ready
2018-09-17T20:15:10-07:00 [ℹ]  kubectl command should work with "kubectl-eks-gpu", try 'kubectl --kubeconfig=kubectl-eks-gpu get nodes'
2018-09-17T20:15:10-07:00 [✔]  EKS cluster "myeks" in "us-west-2" region is ready

Generated output directory is at output.tar.gz

from kube-resource-report.

hjacobs avatar hjacobs commented on May 27, 2024

@arun-gupta are you on Mac? Can you try deploying kube-resource-report directly (instead of kubectl proxy)? --net=host is not the actual machine network if you use Docker for Mac (because of the VM). See also #38

from kube-resource-report.

arun-gupta avatar arun-gupta commented on May 27, 2024

@hjacobs Yes on Mac but this is an EKS cluster running in the cloud.

from kube-resource-report.

tabossert avatar tabossert commented on May 27, 2024

Any Update on this?

from kube-resource-report.

hjacobs avatar hjacobs commented on May 27, 2024

@tabossert I'm pretty sure kube-resource-report just works when deploying directly (kubectl apply). Please try it out.

from kube-resource-report.

tabossert avatar tabossert commented on May 27, 2024

Hi @hjacobs, thanks for responding.
I did just that and deployed it out, here is what I am seeing

WARNING:kube_resource_report.report:Failed to query metrics: 404 Client Error: Not Found for url: https://10.100.0.1:443/apis/metrics.k8s.io/v1beta1/nodes WARNING:kube_resource_report.report:Failed to query metrics: 404 Client Error: Not Found for url: https://10.100.0.1:443/apis/metrics.k8s.io/v1beta1/pods ERROR:kube_resource_report.report:'rules' Traceback (most recent call last): File "/kube_resource_report/report.py", line 330, in get_cluster_summaries summary = future.result() File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 425, in result return self.__get_result() File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/kube_resource_report/report.py", line 261, in query_cluster for rule in item["spec"]["rules"]: KeyError: 'rules'

from kube-resource-report.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.