Giter Site home page Giter Site logo

kubetail-org / kubetail Goto Github PK

View Code? Open in Web Editor NEW
274.0 3.0 12.0 1.19 MB

Web-based, real-time log viewer for Kubernetes

Home Page: https://www.kubetail.com/demo

License: Apache License 2.0

Dockerfile 0.60% Go 33.84% JavaScript 0.45% TypeScript 63.52% HTML 0.67% CSS 0.93%
kubernetes logging real-time private

kubetail's People

Contributors

amorey avatar dependabot[bot] avatar kyteproject avatar lpmi-13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kubetail's Issues

[kubetail] Run kubetail under a subpath (behind reverse proxy)

HI,

I currently plan to run kubetali as part of some operational toolset, together with other tooling.
The toolset shared one domains and each application has a sub-path.

Would it be possible to add an config option to allow kubetail running on a sub-path?

UI improvements needed for ANSI color handling

The current implementation of ANSI colors in messages uses a library that assumes a dark background so the background of the message column is set to black by default:

Kubetail___Log_Viewer

This isn't ideal because:

  • It doesn't support users who prefer light backgrounds
  • If a log stream has some lines with ANSI and some without, the background color of the message column will alternate between light and dark

To support ANSI encodings properly I think we need to:

  1. Implement light/dark mode for the app as a whole
  2. Change the default browser colors used by ansi_up for when the user prefers a light background

Add a tail all deployments, statefulset, daemonset option

It comes from the context of namespaces deployment.

I like the idea to have an URL which opens kubetail directly. I saw this behavior for the demo here: https://www.kubetail.com/demo

I would like to offer an direct link which open all pods from the current namespace. Currently, I have to known all names of the deployments and put them inside the url.

If possible, kubetail should take note of new pods and tail them automaticly. For example, if there is an deployment, form new pods are visible without touching any UI element.

namespaced installation supported?

Hi,

I would like to ask, if kubetail supports a namespaced installation as well, e.g. auth-mode=cluster and namespaced Rolebindings only.

Thanks!

Support for search / highlight

Would be really nice if you could filter console lines via search. Or even just highlight a desired key. I know this may not be the intention of this tool but when filtering back in time, would be great to search for specific data if needed!

panic: html/template: pattern matches no files: `/backend/templates/*`

Just tried to upgrade to latest app version 0.3.0 using Helm chart 0.3.2 and getting the following error on startup:

panic: html/template: pattern matches no files: `/backend/templates/*`

goroutine 1 [running]:
github.com/kubetail-org/kubetail/internal/ginapp.mustLoadTemplatesWithFuncs({0x4000372db0, 0x14})
	/backend/internal/ginapp/helpers.go:52 +0x100
github.com/kubetail-org/kubetail/internal/ginapp.NewGinApp({{0x400049c9f9, 0x7}, {0x400049c980, 0xd}, {0x1b439f8, 0x1}, {0x0, 0x0}, {0x1, 0x0}, ...})
	/backend/internal/ginapp/ginapp.go:80 +0x30c
main.main.func2(0x400022b200?, {0x189405d?, 0x4?, 0x1894061?})
	/backend/cmd/server/main.go:217 +0x840
github.com/spf13/cobra.(*Command).execute(0x4000160300, {0x400003a070, 0x1, 0x1})
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x654
github.com/spf13/cobra.(*Command).ExecuteC(0x4000160300)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x320
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
main.main()
	/backend/cmd/server/main.go:247 +0x204

Values file is:

deployment:
  resources:
    requests:
      cpu: 250m
      memory: 64Mi
    limits:
      cpu: 1
config:
  session:
    secret: my-secret-here
  csrf:
    secret: my-secret-here
ingress:
  enabled: true
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    traefik.ingress.kubernetes.io/router.tls: "true"
    traefik.ingress.kubernetes.io/router.tls.certresolver: le
  hosts:
    - host: kubetail.mydomain.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - hosts:
        - kubetail.mydomain.com

[404 Not Found] Helm Repo Add Error

Hello,

I am learning K8s and trying to kind of install everything new that I encounter regarding Kubernetes in my home cluster. I didn't have any logs system set up in my home cluster at the moment so I tried to install Kubetail using Helm however, the helm repo add command mentioned in the README didn't work.

$ helm repo add kubetail https://kubetail-org.github.com/helm/
Error: looks like "https://kubetail-org.github.com/helm/" is not a valid chart repository or cannot be reached: failed to fetch https://kubetail-org.github.com/helm/index.yaml : 404 Not Found

Exclude `/healthz` from access logs

Consider to exclude /healthz from access logs. It's really spammy, the kubernetes probes are active.

{"level":"info","request_id":"5766be9e-1f57-4140-9114-48f6f7192e51","event_type":"Access","request_ts":"2024-03-01T16:41:01.925443928Z","remote_addr":"10.0.240.14:39162","method":"GET","proto":"HTTP/1.1","scheme":"","host":"10.0.240.141:4000","path":"/healthz","raw_query":"","content_length":"","user_agent":"kube-probe/1.27","referer":"","x_forwarded_for":"","x_forwarded_host":"","x_forwarded_proto":"","upgrade":"","sec_websocket_protocol":"","status_code":200,"duration_ms":0.050378,"resp_content_length":"","time":"2024-03-01T16:41:01.925498061Z"}

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.