Giter VIP home page Giter VIP logo

ohmyk8s's Issues

Add custom k9s views

Add the following in .bashrc to work with k9s v0.24.15+ in case there are custom configuration or views:

export XDG_CONFIG_HOME=`xdg-user-dir` # or $HOME if xdg is not installed

Below is a custom view to show age in the begining:

# $XDG_CONFIG_HOME/k9s/views.yml
k9s:
  views:
    v1/pods:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - RESTARTS
        - STATUS
        - READY
        - CPU
        - "%CPU/R"
        - "%CPU/L"
        - MEM
        - "%MEM/R"
        - "%MEM/L"
        - PF
        - IP
        - NODE
    v1/services:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - PORTS
        - TYPE
        - CLUSTER-IP
        - EXTERNAL-IP
    apps/v1/deployments:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - READY
        - UP-TO-DATE
        - AVAILABLE
    apps/v1/statefulsets:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - READY
        - SERVICE
    apps/v1/daemonsets:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - DESIRED
        - CURRENT
        - READY
        - UP-TO-DATE
        - AVAILABLE
    v1/nodes:
      columns:
        - AGE
        - NAME
        - STATUS
        - PODS
        - CPU
        - "%CPU"
        - CPU/A
        - MEM
        - "%MEM"
        - MEM/A
        - VERSION
        - ROLE
    v1/persistentvolumeclaims:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - STATUS
        - VOLUME
        - CAPACITY
        - ACCESS
        - MODES
        - STORAGECLASS
    v1/persistentvolumes:
      columns:
        - AGE
        - NAME
        - CAPACITY
        - ACCESS MODES
        - RECLAIM POLICY
        - STATUS
        - CLAIM
        - STORAGECLASS
        - REASON
    v1/configmaps:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - DATA
    v1/secrets:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - DATA
        - TYPE
    batch/v1beta1/cronjobs:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - SUSPEND
        - SCHEDULE
        - LAST_SCHEDULE
        - ACTIVE
    batch/v1/jobs:
      columns:
        - AGE
        - NAMESPACE
        - NAME
        - COMPLETIONS
        - DURATION
    v1/events:
      columns:
        - AGE
        - COUNT
        - TYPE
        - NAMESPACE
        - NAME
        - REASON
        - SOURCE

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.