Commit Graph

209 Commits (mine)

Author SHA1 Message Date
Ümüt Özalp b94ecabff8
fix(render): ensure object is deep copied before realization in Render method (#3720) 2025-12-13 10:17:55 -07:00
Fernand Galiana 3c37ca2197
Rel v0.50.16 (#3633)
* fix #3620 - bomb on show yaml

* fix #3595 - namespace warp

* fix #3608 - klog logger

* fix #3621 #3576

* fix #3629 - bump scanner deps

* rel notes
2025-10-19 09:06:48 -06:00
cui fliter 26ab3fcc42
bugfix: fix panic in BenchmarkPodRender by using NewPod() constructor (#3623)
Signed-off-by: cuishuang <imcusg@gmail.com>
2025-10-18 10:04:12 -06:00
jfremy-openai 41acad343b
fix: consider readinessGates + ready condition in diagnose (#3556)
* Consider readinessGates + ready condition in diagnose

Now that readiness gates are supported, those should be considered when displaying a pod healthiness

Additionally consider the pod ready condition status. It should match the && of the containers' ready condition and readiness gates but I've actually observed that in some cases, it can be false with the containers reporting ready true.

* Update pod.go

* Update pod.go

fix lint

* Update pod.go

lint

* add tests for diagnose and readinessGateStats

* lint error
2025-10-05 08:38:03 -06:00
Fernand Galiana 1d8cb6ced0
Rel v0.50.13 (#3592)
* fix #3587 - dp restart

* fix #3585 - sec abreviation

* fix #3583 - exec without node read

* fix #3574 - label filter path

* fix #3584 - managed fields

* fix #3577 - pod logs

* rel notes
2025-09-27 09:16:36 -06:00
Fernand Galiana 4f5c1a1105
Rel v0.50.10 (#3564)
* fix #3455

* Clean up and refactor

* fix #3495 #3470 #3455 - fix cmd alias and filters

* fix #3535 - revert

* fix #3478 - make vulscan a bit less cpu extensive (init stab...)

* fix issue with plugin foreground exit

* fix#3466-add shared gpu on nodes

* fix #3541 - use default namespace when not specified

* update deps + release notes
2025-09-17 16:49:58 -06:00
YE Feng 4686c1deec
fix: Color PV row according to its STATUS column (#3513) 2025-08-20 09:06:05 -06:00
Fernand Galiana 855e995b3a
Rel v0.50.8 (#3457)
* revert ns cmd

* fix#3421-helm-view-ns

* fix#3439-add-vendor-config

* fix#3453-add-gpu-cols

* rel notes
2025-07-15 08:38:28 -06:00
derailed 457e4b86db [hot-fix] update pulses 2025-07-05 10:54:34 -06:00
Fernand Galiana 00b28ceeee
Rel v0.50.7 (#3436)
* fix #3406 - update and clean history navigation

* fix #3383 - cronjob auth fix

* clean up and updates

* update prompt indicator to diff cmd vs filter

* fix #3398 - dialog focus update

* update deps

* fix #3435 - noexit on ctrl-c

* fix #3412 - toggle decode

* fix #3424 - add gpu on node

* fix #3422 - resource switch ns

* update rel notes
2025-07-05 10:36:36 -06:00
Fernand Galiana 13cb55bb66
Rel v0.50.6 (#3338)
* update deps

* add epslice support

* update pulses

* fix #3334

* rel notes
2025-05-11 23:16:37 -06:00
Fernand Galiana ccebaa604e
Rel v0.50.5 (#3332)
* update pulse view

* fix #3301 - pf delete msg

* clean

* short header styles

* fix #3294 event time cols sorting

* fix #3309 label selector fault

* multi arch build

* fix #3328 init co count

* rel notes
2025-05-07 23:22:01 -06:00
Fernand Galiana e4e3816185
Rel v0.50.4 (#3293)
* fix#3278 honor ns ovewride

* refactor column exclude

* [feat] add configurable api server timeout

* clean

* fix#3285 - add restart option for flux support

* fix#3283 fix dp ready state

* update vulscan deps

* fix#3288 fix cust view filter

* fix#3286 match-exp

* rel notes
2025-04-19 12:07:10 -06:00
Fernand Galiana 594c2c6e4c
Rel v0.50.3 (#3276)
* update linter

* spring cleaning

- m'o code cleanup
- small bugs fixin

* fix cust col jq parser support

* add context,token to shell args

* rel notes
2025-04-13 18:25:04 -06:00
Fernand Galiana 142282b584
Rel v0.50.1 - HotFix ;( (#3263)
* v0.50.0 hotfix

* rel notes
2025-04-09 23:58:37 -06:00
Fernand Galiana e55083ba27
Rel v0.50.0 (#3254)
* update deps + add stale issues

* springclean client and dao

* gvr clean up
* perf updates

* springclean render

* update gvr
* perf
* add jq like cust views support

* springclean config and models

* gvr update
* perf

* springclean perf

* springclean ui bits

* update ro icon
* updage gvr
* perf

* springclean watch

* update linter to v2

* update gha workflows

* small clean up

* spring clean
* move pool to internal

* rel notes
2025-04-08 23:40:34 -06:00
Fernand Galiana 3a03b67af0
Rel v0.40.11 (#3239)
* Fix #3222 - add gvr title config option

* Fix #3224 - pod shell use default co annotation

* Fix #3226 - yaml search busted

* Fix #3210 - description line is buggy -> update ro icons

* deps-update

* spring cleaning

* update deps + add stale issues
* cleanup secrets
2025-03-30 11:42:45 -06:00
Fernand Galiana 35361bb238
Rel v0.40.10 (#3206)
* [HOTFIX] Broke plugins ;(

* add support for cust cols on alias+ns

* rel notes
2025-03-16 10:01:13 -06:00
Fernand Galiana 45c2137df8
Rel v0.40.8 (#3198)
* Update deprecated yaml.v2->v3

* [Fix] fix issue with yaml sanitization when [] or [xxx] are present

* Spring cleanup

* fix#3192

* Column Blow Reloaded

* Add ability to use alias when specifying custom views
2025-03-11 18:15:20 -06:00
Hyeonmin Park 4a829613a7
fix: match column show attribute character to 'S' (#3191)
* fix: match column show attribute character to 'S'

* fix: recover failing lint
2025-03-11 10:11:03 -06:00
Fernand Galiana a8b75ef1e5
Rel v0.40.6 (#3185)
* update deps

* docs

* fix#3161 - add V attr

* add alias sort

* fix#3139 - cpu/mem with rx

* fix#3147 - prompt styles

* fix#3138 - rbac subres

* update deps

* mv pfAddress to main config + relax validation

* fix#3179 - gvr title

* fix#3178 - jobs in wrong ns

* fix#3163 - cust views with ns

* fix#3162 - ctx switch save in wrong context

* switch over to slog logger

* add exit code

* update default timeout

* rel notes

* update docs

* rel notes
2025-03-09 13:58:44 -06:00
Fernand Galiana af8aa5fc41
Rel 0.40.5 (#3136)
* update linter

* fix#3131

* fix#3119

* rel v0.40.5
2025-02-18 08:47:33 -07:00
Fernand Galiana e44c223e91
Rel v0.40.4 (#3130)
* fix#3119 - non alpha cust col

* Address issues:

o fix#3118 - wrong res shown on alias
o fix#3120 - shuffled cols after sort

* fix#3122 - view event not sorted

* rel v0.40.4
2025-02-17 23:27:56 -07:00
Ümüt Özalp f8f112933d
update regex to allow '%' and '/' in column names (#3123) 2025-02-17 08:19:39 -07:00
Fernand Galiana 7603f27c9a
Rel 0.40.1 (#3114)
* add dynamic getter + clean up

* fix#3111

* fix#3113

* rel notes
2025-02-16 11:05:53 -07:00
Fernand Galiana c45c44c111
Rel v0.40.0 (#3109)
* misc cleanups

* update vul scans

* update deps

* [custv] config updates

* [custv] dao updates

* [custv] model updates

* [custv] render updates

* [custv] ui updates

* rel notes
2025-02-15 15:33:33 -07:00
Fernand Galiana d72467a582
Fix lint build (#3066)
* clean up

* fix bug computing resource limits

* update rs rendering to match kubectl

* display ctx view if all hell fails

* clean ups and refactors

* fix linter issues
2025-01-19 09:47:29 -07:00
Nathan Baulch 420a53317e
Fix typos (#3026) 2024-12-16 09:09:22 -07:00
Fernand Galiana 6b5d24f574
Rel v0.32.7 (#2971)
* update deps + vulscan

* fix #2961

* fix #2970 #2962 #2966

* fix #2958

* fix #2969

* fix #2945

* update rel notes
2024-11-16 13:21:23 -07:00
Eric Bitencourt de Santana 92ff64eac3
Feature: add pod last restart column to pod section (#2946)
* feat: create ToRestartAge helper function to calculate last restart age

* feat: add Last Restart column to pod view

* test: add TestPodLastRestart to pod tests

* test: add TestToRestartAge tests

* test: fix all initial row states on table tests

* chore: remove TestToRestartAge changes

* refactor: move LastRestart pod function to internal function

* refactor: update to new go 1.22 range over map syntax
2024-11-14 08:56:52 -07:00
Fernand Galiana 9984e3f4bf
Release v0.32.6 (#2955)
* update releaser

* fix err messages

* make pf display the correct address

* fix regex filters

* fix cust res loading

* add container index

* update deps + clean up

* release v0.32.6
2024-11-10 10:08:54 -07:00
Daniel Gomes-Sebastiao 59918d0e89
feat: add irregular pod terminations to Faults view (#2738) (#2935) 2024-11-03 08:56:43 -07:00
ffais be1ec87840
feat: added StartupProbes status (S) to the PROBES column in the container render (#2920)
* feat: added StartupProbes status (S) to the PROBES column in the container render

Signed-off-by: ffais <ffais@fbk.eu>

* fix: fix tests  in container render

Signed-off-by: ffais <ffais@fbk.eu>

---------

Signed-off-by: ffais <ffais@fbk.eu>
2024-10-17 10:54:57 -06:00
Eric Bissonnette 8a16b57c09
Include sidecar containers requests and limits (#2848)
* include sidecar container metrics

* apply code review suggestions
2024-10-13 08:06:52 -06:00
linchizhen 2492402ba3
chore: fix function name (#2861)
Signed-off-by: linchizhen <jiayanbing@yeah.net>
2024-09-22 09:56:55 -06:00
Eric Bissonnette 8601560185
fix internal/render/hpa.go merge issue (#2856) 2024-08-28 09:26:27 -06:00
Arthur Coelho 61ea437574
Add color to hpa line when replicas >= maxpods (#2333)
* feat: paint hpa line when replicas >= maxpods

* chore: add license headers

* refactor: decrease Assignment Branch Condition

* validate IndexOf returns a valid index
2024-08-26 09:08:31 -06:00
Prasad Katti c4ff75c81a
use policy/v1 instead of policy/v1beta1 (#2732) 2024-06-08 09:39:29 -06:00
KasperHeyndrickx 2fca1a1655
fix: job color based on failures (#2686) (#2698)
* fix: job color based on failures (#2686)

* fix: don't show error when job succeeds in next attempt
2024-05-18 08:49:20 -06:00
Fernand Galiana d3027c8f29 K9s/release v0.32.4 (#2637)
* [Bug] fix #2605

* [Bug] fix #2604

* [Bug] fix #2592

* [Bug] fix #2608

* [Bug] Fix #2612

* Rel v0.32.4
2024-03-20 13:14:37 -06:00
Joshua Sizer c1180730b9
fix: match node label kubernetes.io/role as suffix (#2606) 2024-03-17 09:07:01 -06:00
Fernand Galiana 0d16531016
K9s/release v0.32.0 (#2577)
* [Perf] improved load perf and ui updates

* [Bug] Fix #2557

* [Maint] refactor + spring cleaning up

* [Bug] Fix #2569

* [Maint] Refactor + cleanup

* [Bug] Fix #2560

* [Maint] Refactor + cleanup

* Release v0.32.0
2024-03-02 10:18:47 -07:00
Fernand Galiana 90a810ffc2
K9s/release v0.31.8 (#2528)
* [Maint] Fix race condition issue

* [Bug] Fix #2501

* [Maint] Allow reference to resource aliases for plugins

* [Feat] Intro cp namespace command + misc cleanup

* [Maint] Rev k8s v0.29.1

* [Bug] Fix #1033, #1558

* [Bug] Fix #2527

* [Bug] Fix #2520

* rel v0.31.8
2024-02-06 19:21:28 -07:00
Adam Sranko cd5522cd35
Fix Toggle Faults filtering (#2509)
* Added valid column to workloads for toast filtering

* Removed redundant status func call, changed workload header order
2024-02-03 08:03:00 -07:00
Guanchzhou 5445ff4da1
Adding system arch to nodes view (#2480)
* adding arch to nodes view

* hiding arch under wide view and fix test

* fixing tests

---------

Co-authored-by: Andrei Maltsev <amaltsev@alpha-sense.com>
2024-01-17 07:36:25 -07:00
Joshua Ward d63fe83edb
chore: rebasing off main and resolving conflicts (#2314)
Co-authored-by: Joshua Ward <joshua.l.ward@leidos.com>
2024-01-03 23:38:37 -07:00
Fernand Galiana 982bf6a728
K9s/release v0.30.7 (#2416)
* [Bug] Fix #2413

* [Bug] Fix #2414

* [Bug] Fix #2407

* cleaning up

* Add config files watcher

* rel notes
2024-01-02 23:57:07 -07:00
Fernand Galiana 26d1585699
K9s/release v0.30.3 (#2381)
* fix #2377

* fix #2379

* cleaning up

* Release docs
2023-12-25 12:06:23 -07:00
Fernand Galiana f0d0e62b70
K9s/release v0.30.1 (#2369)
* [Bug] Fix #2368

* [Bug] Fix #2363

* [Bug] Fix #2364

* [Bug] Fix #2366

* [Bug] Fix #2367

* Release docs + rebase fixes
2023-12-24 11:29:22 -07:00
Fernand Galiana dcec53e061
K9s/rel v0.30.0 (#2361)
* [Maint] Refactor VS col handling

* [Bug] Add helm hist <enter> values cmd

* [Bug] Add context specific skins within a given cluster config.

* [Maint] Image scan controls

* [Bug] Fix fwd+bench timestamp

* [Refact] all-ns const

* [Maint] update tabledefs from metav1beta1 to metav1

* [Feat] Introduce workload view

* [Maint] Add convenience to map out ns names

- Refactor allnamespaces

* [Cleanup] axe pegomock

* [Refact] Use gvr type vs string

* [Feat] Add blacklist scans exclusions

* [Feat] setLabels for stored commands

* [Maint] Rename api-group column

* [Refact] gvr type refactor

* [Maint] Cleaning up

* [Bug] Add ability to skin based on context

- Handles cluster spanning *contexts

* [Maint] Cleaning up

* [Feat] Cmd interpreter

* [Maint] Clean up + bug fixes

* [Feat] Changed k9s config loader

> NOTE: !!Breaking change!!

- Make k9s config readonly
- Move writable artifacts to XDG data dir
- Move transient artifacts to XDG state dir
- Add per context skin option
- Add per context readonly option
- Consistent pluralization file names to yaml section

* [Docs] Update release and README docs

* [Maint] Rebase + cleanup

* [Maint] Normalize config extensions all yml -> yaml

* [Maint] Cleaning up + fixes
2023-12-23 14:29:55 -07:00