Giter Site home page Giter Site logo

autovia / flightdeck Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 1.64 MB

Flightdeck is an interactive diagram UI for Kubernetes clusters. It allows users to observe and troubleshoot applications running in the cluster.

License: Apache License 2.0

Dockerfile 0.99% Shell 0.10% Go 58.95% HTML 0.29% CSS 0.86% JavaScript 38.81%
cloud-native devops kubernetes kubernetes-dashboard kubernetes-ui observability

flightdeck's Introduction

Flightdeck

IMPORTANT: This is not production-ready software. This project is in active development.

Introduction

Flightdeck is a web-based interactive diagram UI for Kubernetes clusters. It allows users to observe and troubleshoot applications running in the cluster.

Flightdeck UI

Features

  • Search cluster resources
  • Resource dependencies graph
  • Pod logs, description, yaml
  • Container file browser
  • Login with service account token
  • Uses K8s RBAC

Getting Started

IMPORTANT: The default flightdeck deployment contains a minimal set of RBAC privileges needed to run. flightdeck acts as a proxy and only users with a valid bearer token can access the UI and see the Kubernetes resoures.

Install

The basic installation creates the flightdeck namespace with all resources needed to run the application.

kubectl apply -f https://raw.githubusercontent.com/autovia/flightdeck/main/deploy/flightdeck.latest.yaml

Access

To access the flightdeck UI from your local workstation you must create a bearer token and a port-forward. Run the following commands:

kubectl -n flightdeck create token admin-user
kubectl -n flightdeck port-forward pod/<flightdeck-podname> 3000:3000

Note: The token expires after one hour. Use e.g. --duration=12h to change the expiration time to 12 hours.

Now open your browser localhost:3000 and copy the bearer token and paste it into the Bearer token field on the login screen.

Click the Sign in button and that's it. You are now logged in as an admin.

Clean up

Remove the admin-user ServiceAccount and ClusterRoleBinding.

kubectl -n flightdeck delete serviceaccount admin-user
kubectl -n flightdeck delete clusterrolebinding admin-user

Delete the flightdeck namespace.

kubectl delete namespace flightdeck

License

Apache License 2.0


Copyright Autovia GmbH

flightdeck's People

Contributors

wiegelmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.