kube-ops-view icon indicating copy to clipboard operation
kube-ops-view copied to clipboard

Clear screen

Open kolesoffac opened this issue 6 years ago • 8 comments

I have deployed kube-ops-view. But web ui is clear: image

and logs:

10.244.0.1 - - [2018-11-30 10:07:01] "GET /events HTTP/1.1" 200 41692 24.337420
10.244.0.1 - - [2018-11-30 10:07:05] "GET /health HTTP/1.1" 200 117 0.000913
WARNING:kube_ops_view.kubernetes:Failed to query node metrics 10-96-0-1:443: 404 Not Found
WARNING:kube_ops_view.kubernetes:Failed to query pod metrics for cluster 10-96-0-1:443: 404 Not Found
10.244.0.1 - - [2018-11-30 10:07:06] "GET /health HTTP/1.1" 200 117 0.000713
WARNING:kube_ops_view.kubernetes:Failed to query node metrics 10-96-0-1:443: 404 Not Found
WARNING:kube_ops_view.kubernetes:Failed to query pod metrics for cluster 10-96-0-1:443: 404 Not Found

Can i fix it?

Thanks

kolesoffac avatar Nov 30 '18 10:11 kolesoffac

having the same issue using the 1.11 version of the chart

cmarquezrusso avatar Apr 17 '19 11:04 cmarquezrusso

I have the same issue, with manifests and with helm, no information in logs like the OP. Kubernetes 1.11 created with Kops.

lgg42 avatar Jun 22 '19 17:06 lgg42

I found a workaround by adding more resources. I will send my values as soon as I can :)

cmarquezrusso avatar Jun 23 '19 01:06 cmarquezrusso

Please, try with this values

replicaCount: 3
resources:
  limits:
    cpu: 50m
    memory: 256Mi
  requests:
    cpu: 50m
    memory: 256Mi

cmarquezrusso avatar Jun 24 '19 07:06 cmarquezrusso

Thanks for your comments! I just tried it out with your values, and it didn't work. For some reason I wanted to try deploying it in default namespace (I was using another) and it DID work.

So my problem was: deploying it in a namespace different than default Could you try the default values but in the default namespace? or were you deploying it in default namespace already?

lgg42 avatar Jun 24 '19 21:06 lgg42

Same for me... it works fine yesterday, but now it's clear screen. I tried to set 256Mi - same story :-( 512Mi did the trick. But 512 seems too much, doesn't it?

Update, it worked for 2 minutes and then got frozen. Page reload doesn't help.

I tried to curl load /events and it takes forever.

netflash avatar Jul 03 '19 01:07 netflash

I started having issues as well. It was running on another namespace (not default) but it is down now :(

cmarquezrusso avatar Jul 03 '19 10:07 cmarquezrusso

This is working after the following changes:

1- Debug mode: I've added a debug flag to get additional info: Add this to your values.yaml

debug: true

and this to your deployment template:

{{- if.Values.debug}}
        args:
        - --debug
        {{- end}}

2- Change readiness and liveness times.

livenessProbe:
          httpGet:
            path: /health
            port: {{ .Values.service.internalPort }}
          initialDelaySeconds: 15
          timeoutSeconds: 5
        readinessProbe:
          httpGet:
            path: /health
            port: {{ .Values.service.internalPort }}
          initialDelaySeconds: 15
          timeoutSeconds: 5

I will send a PR soon :)

cmarquezrusso avatar Jul 08 '19 08:07 cmarquezrusso