Git Product home page Git Product logo

faas-grafana's Issues

Can not access grafana from outside of kubernetes cluster

Hi,

I followed the instructions for setting up grafana according to the README. However, I could not access grafana from outside of my clusters.

When I looked at the information about the grafana service, I got the following results, showing that the service is not exposing an external-ip.

$ kubectl -n openfaas get svc grafana                                                      
NAME      TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE                               
grafana   ClusterIP   10.109.165.160   <none>        3000/TCP   108m

In addition, I am also not sure what Credentials: admin/admin means. Should I access grafana like the following?

http://admin:admin@<KUBE_IP>:<GRAFANA_PORT>/dashboard/db/openfaas

Thank you for your help!

Unable to deploy grafana in AWS EKS cluster

Hey,

I was following https://aws.amazon.com/blogs/opensource/deploy-openfaas-aws-eks/ and
I am facing with Grafana dashboard. I am using AWS EKS cluster, connecting from local ubuntu 8.04 LTS with aws configured.

$ kubectl -n openfaas run --image=stefanprodan/faas-grafana:4.6.3 --port=3000 grafana
pod/grafana created

Then when I run
kubectl expose deploy/grafana --type ClusterIP -n openfaas --port 3000

I am getting output as below
Error from server (NotFound): deployments.extensions "grafana" not found

Then I checked
kubectl get all -n openfaas

NAME READY STATUS RESTARTS AGE
pod/alertmanager-76988d48df-mf9c8 2/2 Running 0 24h
pod/basic-auth-plugin-5df9cb99f6-5nsxc 1/1 Running 0 24h
pod/faas-idler-b65944665-rjtjg 1/1 Running 2 24h
pod/gateway-58cb9bf6d7-j499b 2/2 Running 0 24h
pod/gateway-58cb9bf6d7-q7r4d 2/2 Running 0 24h
pod/grafana 1/1 Running 0 118s
pod/nats-7c4d874896-dklbq 1/1 Running 0 24h
pod/prometheus-d46884b56-9x7kh 2/2 Running 0 24h
pod/queue-worker-6b89d664f-f8jhf 1/1 Running 0 24h
pod/queue-worker-6b89d664f-zjlkb 1/1 Running 1 24h

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/alertmanager ClusterIP 10.100.222.55 9093/TCP 24h
service/basic-auth-plugin ClusterIP 10.100.17.159 8080/TCP 24h
service/gateway ClusterIP 10.100.160.36 8080/TCP 24h
service/gateway-external LoadBalancer 10.100.77.196 a39927ace11d247bb821ab129fba69c7-1861578323.us-east-2.elb.amazonaws.com 8080:31484/TCP 24h
service/nats ClusterIP 10.100.22.77 4222/TCP 24h
service/prometheus ClusterIP 10.100.66.231 9090/TCP 24h

NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/alertmanager 1/1 1 1 24h
deployment.apps/basic-auth-plugin 1/1 1 1 24h
deployment.apps/faas-idler 1/1 1 1 24h
deployment.apps/gateway 2/2 2 2 24h
deployment.apps/nats 1/1 1 1 24h
deployment.apps/prometheus 1/1 1 1 24h
deployment.apps/queue-worker 2/2 2 2 24h

NAME DESIRED CURRENT READY AGE
replicaset.apps/alertmanager-76988d48df 1 1 1 24h
replicaset.apps/basic-auth-plugin-5df9cb99f6 1 1 1 24h
replicaset.apps/faas-idler-b65944665 1 1 1 24h
replicaset.apps/gateway-58cb9bf6d7 2 2 2 24h
replicaset.apps/nats-7c4d874896 1 1 1 24h
replicaset.apps/prometheus-d46884b56 1 1 1 24h
replicaset.apps/queue-worker-6b89d664f 2 2 2 24h

I am not seeing any service or deployment for grafana

Then I checked your readme file and run

kubectl -n openfaas expose deployment grafana --type=NodePort --name=grafana

The same error
Error from server (NotFound): deployments.extensions "grafana" not found

Please help.

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.