Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

chore(deps): update dependency derailed/k9s to v0.31.2 (master) #162

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 21, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
derailed/k9s minor v0.27.4 -> v0.31.2

Release Notes

derailed/k9s (derailed/k9s)

v0.31.2

Compare Source

Release v0.31.2

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

Maintenance Release!

Yikes! The aftermath...

Thank you all for pitching in and helping flesh out issues!!

Please make sure to add gory details to issues ie relevant configs, debug logs, etc...

Comments like: same here! doesn't really help us zero in. Everyone has slightly different settings/platforms so every little bits of info helps with the resolves.
Thank you!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2449 [Bug]: views.yaml columns not respected on startup
  • #​2448 Missing '.thresholds' in config.yaml result in 'assignment to entry in nil map'
  • #​2446 Context Switch unreliable/not working

© 2024 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.31.1

Compare Source

Release v0.31.1

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers


♫ Sounds Behind The Release ♭


A Word From Our Sponsors...

To all the good folks below that opted to pay it forward and join our sponsorship program, I salute you!!

Sponsorship cancellations since the last release: 7! 🥹

Feature Release!

😳 Found a few issues in the neutrino drive...
This is another fairly heavy drop so bracing for impact 😱
Be sure to dial in the v0.31.0 SneakPeek video below for the gory details!

😵 Hopefully we've move the needle in the right direction on this drop... 🤞

Thank you all for your kindness, feedback and assistance in flushing out issues!!

☢️ Repeating v0.31.0 release notes here as we tweaked the initial drop ☢️

Hold My Hand...

In this drop, we've added schema validation to ensure various configs are setup as expected.
K9s will now run validation checks on the following configurations:

  1. K9s main configuration (config.yaml)
  2. Context specific configs (clusterX/contextY/config.yaml)
  3. Skins
  4. Aliases
  5. HotKeys
  6. Plugins
  7. Views

K9s behavior changed in this release if the main configuration does not match schema expectations.
In the past, the configuration will be validated, updated and saved should validation checks failed. Now the app will stop and report validation issues.

The schemas are set to be a bit loose for the time being. Once we/ve vetted they are cool, we could publish them out (with additional TLC!) so k9s users can leverage them in their favorite editors.

In the meantime, you'll need to keep k9s logs handy, to check for validation errors. The validation messages can be somewhat cryptic at times and so please be sure to include your debug logs and config settings when reporting issues which might be plenty ;(.

Breaking Bad!

With this release, k9s may not start correctly if the config.yaml configurations are incorrect!

Configuration changes:

  1. DRY fullScreenLogs -> fullScreens (k9s root config.yaml)

$XDG_CONFIG_HOME/k9s/config.yaml

k9s:
liveViewAutoRefresh: false
logger:
sinceSeconds: -1
fullScreen: false # => Was fullScreenLogs
...


2. Views Configuration.
To match other configurations the root is now `views:` vs `k9s: views:`

```yaml

### $XDG_CONFIG_HOME/k9s/views.yaml
views: # => Was k9s:\n  views:
 v1/pods:
   columns:
     - AGE
     - NAMESPACE
     ...
Serenity Now!

You can now opt in/out of the reactive ui feature. This feature enable users to make change to some configurations and see changes reflected live in the ui. This feature is now disabled by default and one must opt-in to enable via k9s.UI.reactive
Reactive UI provides for monitoring various config files on disk and update the UI when changes to those files occur. This is handy while tuning skins, plugins, aliases, hotkeys and benchmarks parameters.

### $XDG_CONFIG_HOME/k9s/config.yaml
k9s:
  liveViewAutoRefresh: false
  UI:
    ...
    reactive: true # => enable/disable reactive UI
  ...

Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2434 readOnly: true in config.yaml doesnt get overriden by readOnly: false in cluster config
  • #​2430 Referencing a namespace with the name of an alias inside an alias causes infinite loop
  • #​2428 Boom!! runtime error: invalid memory address or nil pointer dereference - v0.30.8
  • #​2421 k9s/config.yaml configuration file is overwritten on launch

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2433 switch contexts only when needed
  • #​2429 Reference correct configuration ENV var in README
  • #​2426 Update carvel plugin kick to shift K
  • #​2420 supports referencing envs in hotkeys
  • #​2419 fix typo

© 2024 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.31.0

Compare Source

Release v0.31.0

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers


♫ Sounds Behind The Release ♭


A Word From Our Sponsors...

To all the good folks below that opted to pay it forward and join our sponsorship program, I salute you!!

Sponsorship cancellations since the last release: 7! 🥹

Feature Release!

😳 Found a few issues in the neutrino drive...
This is another fairly heavy drop so bracing for impact 😱
Be sure to dial in the v0.31.0 SneakPeek video below for the gory details!

😵 Hopefully we've move the needle in the right direction on this drop... 🤞

Thank you all for your kindness, feedback and assistance in flushing out issues!!

Hold My Hand...

In this drop, we've added schema validation to ensure various configs are setup as expected.
K9s will now run validation checks on the following configurations:

  1. K9s main configuration (config.yaml)
  2. Context specific configs (clusterX/contextY/config.yaml)
  3. Skins
  4. Aliases
  5. HotKeys
  6. Plugins
  7. Views

K9s behavior changed in this release if the main configuration does not match schema expectations.
In the past, the configuration will be validated, updated and saved should validation checks failed. Now the app will stop and report validation issues.

The schemas are set to be a bit loose for the time being. Once we/ve vetted they are cool, we could publish them out (with additional TLC!) so k9s users can leverage them in their favorite editors.

In the meantime, you'll need to keep k9s logs handy, to check for validation errors. The validation messages can be somewhat cryptic at times and so please be sure to include your debug logs and config settings when reporting issues which might be plenty ;(.

Breaking Bad!

Configuration changes:

  1. DRY fullScreenLogs -> fullScreens (k9s root config.yaml)

$XDG_CONFIG_HOME/k9s/config.yaml

k9s:
liveViewAutoRefresh: false
logger:
sinceSeconds: -1
fullScreen: false # => Was fullScreenLogs
...


2. Views Configuration.
To match other configurations the root is now `views:` vs `k9s: views:`

```yaml

### $XDG_CONFIG_HOME/k9s/views.yaml
views: # => Was k9s:\n  views:
 v1/pods:
   columns:
     - AGE
     - NAMESPACE
     ...
Serenity Now!

You can now opt in/out of the reactive ui feature. This feature enable users to make change to some configurations and see changes reflected live in the ui. This feature is now disabled by default and one must opt-in to enable via k9s.UI.reactive
Reactive UI provides for monitoring various config files on disk and update the UI when changes to those files occur. This is handy while tuning skins, plugins, aliases, hotkeys and benchmarks parameters.

### $XDG_CONFIG_HOME/k9s/config.yaml
k9s:
  liveViewAutoRefresh: false
  UI:
    ...
    reactive: true # => enable/disable reactive UI
  ...

Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2434 readOnly: true in config.yaml doesnt get overriden by readOnly: false in cluster config
  • #​2430 Referencing a namespace with the name of an alias inside an alias causes infinite loop
  • #​2428 Boom!! runtime error: invalid memory address or nil pointer dereference - v0.30.8
  • #​2421 k9s/config.yaml configuration file is overwritten on launch

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2433 switch contexts only when needed
  • #​2429 Reference correct configuration ENV var in README
  • #​2426 Update carvel plugin kick to shift K
  • #​2420 supports referencing envs in hotkeys
  • #​2419 fix typo

© 2024 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.8

Compare Source

Release v0.30.8

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

Maintenance Release!

Thank you all for pitching in and helping flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2423 CPU and MEM counters of AKS clusters show not available
  • #​2418 Boom! runtime error: invalid memory address or nil pointer dereference

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2424 fix the check for whether the cluster supports metrics

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.7

Compare Source

Release v0.30.7

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

Maintenance Release!

Thank you all for pitching in and helping flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2414 View pods with context filter, along with namespace filter, prompts an error if the namespace exists only in the desired context
  • #​2413 Typing apply -f in command bar causes k9s to crash
  • #​2407 Long-running background plugins block UI rendering

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2415 Add boundary check for args parser
  • #​2411 Use dash as a standard word separator in skin names

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.6

Compare Source

Release v0.30.6

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

Thank you all for pitching in and helping flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2401 Context completion broken with mixed case context names
  • #​2400 Panic on start if dns lookup fails
  • #​2387 Invalid namespace xxx - with feelings??

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.5

Compare Source

Release v0.30.5

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

Thank you all for pitching in and helping flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2394 Allow setting custom log dir
  • #​2393 When switching contexts k9s does not switching to cluster's pod/namespaces/other k8s kinds view
  • #​2387 Invalid namespace xxx - with feelings!

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2396 feat: allow to customize logs dir through environment variable
  • #​2395 fix: create user tmp directory before the app one

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.4

Compare Source

Release v0.30.4

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

Thank you all for pitching in and helping flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2391 Version 0.30.* has issues with : chars in the cluster names from AWS
  • #​2397 Error: invalid namespace xxx
  • #​2389 Mixed-case named contexts cannot be switched to from contexts view
  • #​2382 Header always shows Cluster from kubeconfig current-context

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2390 case sensitive for specific command args and flags

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.3

Compare Source

Release v0.30.3

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

🎵 On The twelfth day of Christmas my true love gave to me... More Bugs!! 🎵

Thank you all for pitching in and help flesh out issues!!


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2379 Filtering with equal sign (=) does not work in 0.30.X
  • #​2378 Logs directory not created in the k9s config/home dir 0.30.1
  • #​2377 Opening AWS EKS contexts create two directories per cluster 0.30.1

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.2

Compare Source

Release v0.30.2

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

🎵 On The eleventh day of Christmas my true love gave to me... More Bugs!! 🎵

Thank you all for pitching in and help flesh out bugs!!


[!!FEATURE NAME CHANGED!!] Vulnerability Scan Exclusions...

As it seems customary with all k9s new features, folks want to turn them off ;(
The Vulscan feature did not get out unscaped ;(
As it was rightfully so pointed out, you may want to opted out scans for images that you do not control.
Tho I think it might be a good idea to run wide open once in a while to see if your cluster has any holes??
For this reason, we've opted to intro an exclusion section under the image scan configuration to exclude certain images from the scans.

Here is a sample configuration:

k9s:
  liveViewAutoRefresh: false
  refreshRate: 2
  ui:
    enableMouse: false
    headless: false
    logoless: false
    crumbsless: false
    noIcons: false
  imageScans:
    enable: true

### MOTE!! Field Name changed!!
    exclusions:

### Skip scans on these namespaces
      namespaces:
        - ns-1
        - ns-2

### Skip scans for pods matching these labels
      labels:
        - app:
          - fred
          - blee
          - duh
        - env:
          - dev

Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2374 The headless parameter does not function properly (v0.30.1)
  • #​2372 Unable to set default resource to load (v0.30.1)
  • #​2371 --write cli option does not work (0.30.X)
  • #​2370 Wrong list of pods on node (0.30.X)
  • #​2362 blackList: Use inclusive language alternatives

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2375 get node filtering params from matching context values
  • #​2373 fix command line flags not working

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.1

Compare Source

Release v0.30.1

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers

🎄 Maintenance Release! 🎄

🎵 On The eleventh day of Christmas my true love gave to me... Bugs!! 🎵

Got to love the aftermath... Thank you all for pitch'in in and help flesh out bugs!! The gift that keeps on... giving?

🎅 Merry Christmas to all and Best wishes for the new year!!🧑‍🎄


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Resolved Issues

  • #​2368 Pod CPU and MEM columns are empty in 0.30.0
  • #​2367 k9s 0.30.0 issue loading plugins
  • #​2366 List pods of deployment is now impossible
  • #​2264 k9s 0.30.0 fields and values missed in action in the "namespace view"
  • #​2263 Default 0.30.0 default skin on macOS is no good

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2360 adding cancelable launch prompts to NodeShell

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.30.0

Compare Source

Release v0.30.0

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers


♫ Sounds Behind The Release ♭

Going back to the classics...


A Word From Our Sponsors...

To all the good folks below that opted to pay it forward and join our sponsorship program, I salute you!!

Sponsorship cancellations since the last release: 5! 🥹


🎄 Feature Release! 🎄

🎅 Merry Christmas to all and Best wishes for the new year!!🧑‍🎄


Videos Are In The Can!

Please dial K9s Channel for up coming content...


Breaking Bad!

☢️ !!Prior to installing v0.30.0!! Please be sure to backup your k9s configs directories or move them somewhere safe!!

☢️ Please watch the v0.30.0 Sneak peek series (links below) for detailed information.

☢️ Most K9s configuration files have either split or changed location or names on this drop!!

We recommend moving your current k9s config dirs to another location and start k9s from scratch and let it create and initialize the various configs
to their new spec and location. You can then use your existing setup and patch with the new layout/spec.
As of v0.30.0 all config files now use the *.yaml extension. We did our best to update all the docs to match the new version.
If you find doc issues either file an issue or better yet submit a PR!

Some of you might say: You're on the roll their bud! Two breaking changes drops in a row!!
Per the wise words of my beloved Grand mama! One can't cook a decent meal without creating a mess!
Not to mention we're still at v0.x.y so Open season on breaking changes is very much in full effect.

Tho I have tested this drop quite a bit, there is a strong chance that I've broken some stuff.
The key here is to walk the fine line of improving k9s code base and features set with minimal impact to you.
As you know by now, I am committed to ease the pain and resolve issues quickly to get you all back up and running.

From the scope changes in this release, I would caution that this drop will likely break you!
If so, worry not! We will fix the duds so we are Happy as a Hippo once again.

There was a few issues with the way K9s persists it's configuration and various artifacts. So we rewrote it!
First and foremost all k9s related YAML resources, will now use the standard ".yaml" extension.
I think we've bloated the code checking for both extensions with no real actionable value!

As it stands the main K9s configuration config.yml will now be static. These settings are now readonly! All the dynamic configurations that K9s manages now live in a new directory aka clusters. The clusters directory manages your k8s cluster/context configurations. So things like active view, namespace, favorites, etc... now live in this directory. K9s configurations are still managed using either xdg XDG_CONFIG_HOME or you can set K9S_CONFIG_DIR to specify a your preferred k9s configs location. Also all config files will now use the ".yaml" extension vs ".yml"!!

So the main k9s configuration (static) now looks like this:

### $XDG_CONFIG_HOME/k9s/config.yaml
### File will be autogenerated will all the default fixins if not found in the config specification.
k9s:
  liveViewAutoRefresh: false
  refreshRate: 2
  maxConnRetry: 5
  readOnly: false
  noExitOnCtrlC: false
  ui: # NOTE! New level!!
    enableMouse: false
    headless: false
    logoless: false
    crumbsless: false
    noIcons: false
  skipLatestRevCheck: false
  disablePodCounting: false

### ShellPod configuration applies to all your clusters
  shellPod:
    image: busybox:1.35.0
    namespace: default
    limits:
      cpu: 100m
      memory: 100Mi

### ImageScan config changed from v0.29.0!
  imageScans:
    enable: false

### Now figures exclusions ie blacklist namespaces or specific workload labels
    blackList:

### Exclude the following namespaces for image vulscans!
      namespaces:
        - kube-system
        - fred

### Exclude the following labels from image vulscans!
      labels:
        k8s-app:
          - kindnet
          - bozo
        env:
          - dev
  logger:
    tail: 100
    buffer: 5000
    sinceSeconds: -1
    fullScreenLogs: false
    textWrap: false
    showTime: false
  thresholds:
    cpu:
      critical: 90
      warn: 70
    memory:
      critical: 90
      warn: 70

Next context specific configurations that are managed by you and k9s live in the XDG data directory
i.e $XDG_DATA_HOME/k9s/clusters or $K9S_CONFIG_DIR/clusters if the env var is set.

$XDG_DATA_HOME/k9s
// Clusters tracks visited kubeconfig cluster/contexts
├── clusters
│   ├── fred
│   │   └── bozo
│   │       └── config.yaml
│   ├── bozorg
│   │   ├── kind-bozo-1
│   │   │   └── config.yaml
│   │   ├── kind-bozo-2
│   │   │   └── config.yaml
│   │   └── kind-bozo-3
│   │       └── config.yaml
│   └── bumblebeetuna
│       └── blee
│           └── config.yaml
└── skins
    ├── black_and_wtf.yaml
    ├── dracula.yaml
    ├── in_the_navy.yml
    ├── ...

Now looking at a given context configuration i.e cluster-1/context-1/config.yaml

### $XDG_DATA_HOME/k9s/clusters/bumblebeetuna/blee/config.yaml
k9s:
  cluster: bumblebeetuna
  readOnly: false # [New!] you can now single out a given context and make it readonly. Woof!
  skin: in_the_navy # [NEW!] you can also skin individual contexts. Woof Woof!
  namespace:
    active: all
    lockFavorites: false
    favorites:
    - all
    - kube-system
    - default
  view:
    active: dp
  featureGates:
    nodeShell: false
  portForwardAddress: localhost

Transient artifacts ie k9s logs, screen-dumps, benchmarks etc now live in the state config dir.

$XDG_STATE_HOME/k9s
├── k9s.log # K9s log files
└── screen-dumps
    └── bumblebeetuna # Screen dumps location for context blee
        └── blee
            └── deployments-kube-system-1703018199222861000.csv

If you get stuck or if my instructions are just clear as mud... k9s info is always your friend!!

I feel this is an improvement (tho I might be unanimous on this!) especially for folks dealing with multi-clusters or swapping out there kubeconfigs...

NOTE! Paint is still fresh on this deal. Proceed with caution and please help us flush this feature out!


Got Prompt?

In this drop, we've also gave the k9s command prompt aka :xxx some love.
You have the ability to specify filter directly in the prompt.

So for example, you can now run something like :po /fred to run pod view with a filter to just show pods containing fred. Likewise :po k8s-app=fred,env=blee to filter by labels.
And now for theKrampus special... you can see pods in a different context all together via :pod @​ctx-2.
Finally you can combo and send the whole enchilada via :po k8s-app=fred /blee ns-1 @​ctx-x
Did I mention with completion where applicable? Yes Please!!
Compliments of Jayson Wang. Be sure to thank him!!

Put these frequent flyers command in an alias and now you can nav your clusters with even more style!


All Is Love?

🎵 On The twentieth day of Christmas my true love gave to me... Ten worklords a-leaping??... 🎵

This is a feature reported by many of you and its (finally!) here. As of this drop, we intro the workload view aka wk which is similar to kubetcl get all. I was reluctant to intro it given the potential hazards on larger clusters but figured why not? YOLO. I think using it in combo with the prompt updates it could pack a serious punch to observe workload related artifacts.


The Black List...

As it seems customary with all k9s new features, folks want to turn them off ;(
The Vulscan feature did not get out unscaped ;(
As it was rightfully so pointed out, you may want to opted out scans for images that you do not control.
Tho I think it might be a good idea to run wide open once in a while to see if your cluster has any holes??
For this reason, we've opted to intro a blacklist section under the image scan configuration to exclude certain images from the scans.

Here is a sample configuration:

k9s:
  liveViewAutoRefresh: false
  refreshRate: 2
  ui:
    enableMouse: false
    headless: false
    logoless: false
    crumbsless: false
    noIcons: false
  imageScans:
    enable: true
    blackList:

### Skip scans on these namespaces
      namespaces:
        - ns-1
        - ns-2

### Skip scans for pods matching these labels
      labels:
        - app:
          - fred
          - blee
          - duh
        - env:
          - dev

This is a bit of a blur now, but I think that it! We hope you guys will dig this drop or at least the concepts as likely this is going to be Open Season on bugs ;(

🎵 On The second day of Christmas my true love gave to me... Eleven buggers bugging??... 🎵

Lastly looks like the sponsorship stream is down to an alarming trickle so if you dig this project and find it useful be sure to give til it hurts!


🎅 Best wishes to you and yours for good health and happiness this holiday season!! 🎉

AndJoy!
Fernand


Resolved Issues

  • #​2346 k9s should not write state to config.yaml
  • #​2335 Restore 0.28 column order on pod view bug
  • #​2331 Set a shortcut key to run Vuln Scanning on a resource. Don't scan every resource at every startup.
  • #​2283 Adding auto complete in search bar

Contributed PRs

Please be sure to give Big Thanks! and ATTA Girls/Boys! to all the fine contributors for making K9s better for all of us!!

  • #​2357 Added ln check for snap
  • #​2350 Add symlink into snap
  • #​2348 Fix(misc plugins): split up multiline commands, use less -K everywhere
  • #​2343 Passing on the correct suggestion parameters
  • #​2341 Adding value, yaml and describe views to helm-history
  • #​2340 Add pkgx to installation section

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.29.1

Compare Source

Release v0.29.1

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers


Maintenance Release


Resolved Issues

  • #​2330 Skins don't work v0.29.0
  • #​2329 New skin system in v0.29.0 doesn't work if you use different k8s context files
  • #​2327 [Bug] Item highlighting broke in v0.29.0

© 2023 Imhotep Software LLC. All materials licensed under Apache v2.0

v0.29.0

Compare Source

Release v0.29.0

Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our sponsorship program and/or make some noise on social! @​kitesurfer

On Slack? Please join us K9slackers


♫ Sounds Behind The Release ♭


🦃 Happy (Belated!) ThanksGiving To All! 🦃

Hope you and yours had a wonderful holiday!!
Hopefully this drop won't be a cold turkey 😳

I'd like to take this opportunity to honor two very special folks:

These guys have been relentless in fishing out bugs, helping out with support and addressing issues, not to mention enduring my code! 🙀
They dedicate a lot of their time to make k9s better for all of us!
So if you happen to run into them live/virtual, please be sure to Thank them and give them a huge hug! 🤗

I am thankful for all of you for being kind, patient, understanding and one of the coolest OSS community on the web!!

Feeling blessed and ever so humbled to be part of it.

Thank you!!


A Word From Our Sponsors...

To all the good folks below that opted to pay it forward and join our sponsorship program, I salute you!!

Sponsorship cancellations since the last release: 8 ;(


🎉 Feature Release 🎈👯


Breaking Bad!

WARNING! There are breaking change on this drop!

  1. NodeShell configuration has moved up in the k9s config file from the context section to the top level config.
    More than likely, one uses the same nodeShell image with all the fixins to introspect nodes no matter the cluster. This update DRY's up k9s config and still allows one to opt in/out of nodeShell via the context specific feature gate.
    Please see README for the details.

    NOTE: If you haven't customize the shellPod images on your contexts, the app will move the nodeShell config section to
    it's new location and update your clusters information accordingly.
    If not, you will need to edit the nodeShell section and manage it from a single location!

  2. Log view used to default to the last 5mins aka sinceSeconds: 300.
    Changed the default to tail logs instead aka sinceSeconds: -1

  3. Skins loading changed! In this release, we do away with the context specific skin files. You can now directly specify the skin to use for a given cluster directly in the k9s config file under the cluster configuration. K9s now expects a skins directory in the k9s config home with your skin files. You can use your custom skins and copy them to the skins directory or use the contributes skins found on this repo root.
    Specify the name of the skin in the config file and now your cluster will load the specified skin.

For example: create a skins dir your k9s config home and add one_dark.yml skin file from this repo. Then edit your k9s config file as follows:

k9s:
  ...
  clusters:
    fred:

### Override the default skin and use this skin for this cluster.
      skin: one_dark # -> Look for a skin file in ~/.config/k9s/skins/one_dark.yml
      namespace:
        ...
      view:
        active: pod
      featureGates:
        nodeShell: false
      portForwardAddress: localhost

The fred cluster will now load with the specified skin name. Rinse and repeat for other clusters of your liking. In the case where neither the skin dir or skin file are present, k9s will still honor the global skin aka skin.yml in your k9s config home directory to skin all your clusters.


Walk Of SHelm...

Added a Releases view to Helm!

This provides the ability for Helm users to manage their releases directly from k9s.
You can now press enter on a selected Helm install and view all associated releases.
While in the releases view, you can also rollback an install to a previous revision.


Spock! Are You Out Of Your VulScan Mind?

Tired of having malignent folks shoot holes in your prod clusters or failing compliance testing?

Added ability to run image vulnerability scans directly from k9s. You can now monitor your security stance in dev/staging/


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency derailed/k9s to v0.29.1 (master) chore(deps): update dependency derailed/k9s to v0.29.1 (master) Dec 21, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 7548c7d to 8cbc583 Compare December 23, 2023 22:54
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.29.1 (master) chore(deps): update dependency derailed/k9s to v0.30.0 (master) Dec 23, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 8cbc583 to 10352b6 Compare December 24, 2023 21:28
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.0 (master) chore(deps): update dependency derailed/k9s to v0.30.1 (master) Dec 24, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 10352b6 to 299b13e Compare December 25, 2023 06:51
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.1 (master) chore(deps): update dependency derailed/k9s to v0.30.2 (master) Dec 25, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 299b13e to a3a515e Compare December 25, 2023 21:31
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.2 (master) chore(deps): update dependency derailed/k9s to v0.30.3 (master) Dec 25, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch 3 times, most recently from 76a584a to 8dc68eb Compare December 26, 2023 19:14
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.3 (master) chore(deps): update dependency derailed/k9s to v0.30.4 (master) Dec 26, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 8dc68eb to 9eca40e Compare December 28, 2023 03:54
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.4 (master) chore(deps): update dependency derailed/k9s to v0.30.5 (master) Dec 28, 2023
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 9eca40e to 7b7fb49 Compare December 28, 2023 22:37
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.5 (master) chore(deps): update dependency derailed/k9s to v0.30.6 (master) Dec 28, 2023
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.6 (master) chore(deps): update dependency derailed/k9s to v0.30.7 (master) Jan 3, 2024
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch 2 times, most recently from 7bcfa35 to 609842d Compare January 3, 2024 22:30
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.7 (master) chore(deps): update dependency derailed/k9s to v0.30.8 (master) Jan 3, 2024
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 609842d to 9a3f57c Compare January 9, 2024 02:02
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.30.8 (master) chore(deps): update dependency derailed/k9s to v0.31.0 (master) Jan 9, 2024
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 9a3f57c to 220a14c Compare January 9, 2024 08:16
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.31.0 (master) chore(deps): update dependency derailed/k9s to v0.31.1 (master) Jan 9, 2024
@renovate renovate bot force-pushed the renovate/master-derailed-k9s-0.x branch from 220a14c to a23d028 Compare January 9, 2024 19:42
@renovate renovate bot changed the title chore(deps): update dependency derailed/k9s to v0.31.1 (master) chore(deps): update dependency derailed/k9s to v0.31.2 (master) Jan 9, 2024
@renovate renovate bot deleted the renovate/master-derailed-k9s-0.x branch January 10, 2024 12:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant