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

Errors running Dockerfile with Kubernetes #5

Closed
daudn opened this issue Apr 26, 2019 · 0 comments
Closed

Errors running Dockerfile with Kubernetes #5

daudn opened this issue Apr 26, 2019 · 0 comments

Comments

@daudn
Copy link

daudn commented Apr 26, 2019

I am having trouble using this docker image so thought I'd post some of the errors that I can't quite understand.

  1. Metrics
    I first get this error:
    not enough metrics to calculate new size, required at least 0.75 was 0.00 metrics ratio
    Then it changed to:
    not enough metrics to calculate new size, required at least 0.75 was 0.42 metrics ratio
    My question is: what is metrics referring to? No. of items in the queue?

  2. ServiceAccount
    deployments.apps "<name-of-app-being-scaled" is forbidden: User "system:serviceaccount:default:default" cannot get deployments.apps in the namespace "default"
    ---> Is this an error due to 'roles' possible?

  3. Dial TCP i/o timeout
    Sometimes I get:
    Failed to get queue length for queue : dial tcp :5672: i/o timeout

I want to be able to create replicas of pods based on no. of msgs in the queue.

So, essentially, no. of msgs in queue == no. of replicas of

Kindly give me some direction as to what could be the problem?

@daudn daudn closed this as completed May 15, 2019
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

No branches or pull requests

1 participant