Commit Graph

940 Commits (4ef39f512b8f31281b87d0cddd5a855ef4c846dd)

Author SHA1 Message Date
Lars Sjöström c2f0962cfc
feat: support portforwarding over websocket (#2894)
* feat: support portforwarding over websocket

* replicating kubectl implementation

* update readme
2024-11-22 11:00:39 -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
Jonas Badstübner 4c4381b834
feat(dao,used-by-cmd): check imagePullSecrets as well (#2964) 2024-11-16 10:20:19 -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
Zak Cook 99d47ab7e7
Fix "Mark Range": reduce maximum namespaces in `favorites`, fix shadowing of ctrl+space (#2927)
* fix: avoid creating a ctrl+space key when index out of range

* fix: reduce maximum favorite namespaces to 9, making space for "all"

* fix: correct index incrementation

* refactor: remove usage of NumKeys

* feat: check for favorite namespace index in NumKeys

* feat: break when out of number keys, increment index when slot found
2024-11-09 12:26:36 -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
Ruslan Timofieiev 4a9f4c3153
Fix Mark-Range command: ensure that NS Favorite doesn't exceed the limit (#2881)
* ensure that number of favorite namespace is never exceeds hard limit

* remove newlines from files
2024-09-14 12:40:45 -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
Ümüt Özalp 88394a4cc2
Add leading space to Kubernetes context suggestions (#2791) 2024-08-18 09:23:56 -06:00
Jayson Wang 66f57bebbc
container logs should be escaped when printed (#2751)
* container logs should be escaped when printed

* reduce additional memory allocation

* upgrade deps and move escape to tview
2024-08-16 10:44:28 -06:00
Thorben Below 2a931b84ab
Fix: ensure correct ns for helm actions (#2652)
Signed-off-by: Thorben Below <56894536+thorbenbelow@users.noreply.github.com>
2024-08-16 10:15:44 -06:00
Jayson Wang 4b2111e327
should switching ctx before ns (#2750) 2024-08-15 18:28:26 -06:00
Jayson Wang 92bd181ac0
enable "jump to owner" for more kinds (#2763) 2024-08-15 18:10:03 -06:00
Chris Werner Rau b3fbf32522
feat: allow plugins block in plugin files (#2770) 2024-08-15 18:01:20 -06:00
Jayson Wang 350439b985
proper handle OwnerReference for manually created job (#2772) 2024-07-07 08:32:59 -06:00
Prasad Katti 626bde11f3
fix status for completed pods in workload view (#2729) 2024-06-16 09:46:34 -06:00
Fernand Galiana 3f30a70688
K9s/release v0.32.5 (#2740)
* [MAINT] Bump grype rev

* add env vars to override pf address and nodeshell

* mv bailout to app view

* rel v0.32.5
2024-06-15 10:14:57 -06:00
Jayson Wang 7380be9cf8
fix view sorting being reset (#2736) 2024-06-15 09:03:13 -06:00
Prasad Katti c4ff75c81a
use policy/v1 instead of policy/v1beta1 (#2732) 2024-06-08 09:39:29 -06:00
gitolicious 9594065f41
fix: jump to namespaceless owner reference (#2718) 2024-05-26 08:56:00 -06:00
Jayson Wang f802d3948a
allow jumping to the owner of the resource (#2700) 2024-05-18 08:49:41 -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
Jayson Wang a0ffa8f392
save config when closing k9s with ctrl-c (#2666) 2024-05-03 07:31:35 -06:00
Ruslan Timofieiev 21e091b237
Allow overwriting plugin output with command's stdout (#2644)
* Allow overwriting plugin output with command's stdout

* Update README.md

* remove 1  indentation level
2024-04-20 12:02:26 -06:00
crazehang 5fdaa6cdd3
chore: remove the repetitive word (#2650)
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
2024-04-20 11:52:06 -06:00
Jayson Wang 1a25109d25
checking for nil pointer in merge namespace (#2659) 2024-04-20 11:05:54 -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
Alexej Disterhoft 0403a9310d
fix: pass set retries to transfer command (#2596)
The newly introduced retries field in the transfer dialog was not
passed to the transfer command. This commit fixes that.

Follow-up of #2584
2024-03-06 12:47:29 -07:00
Fernand Galiana 00213115be
K9s release v0.32.3 (#2599)
* [Bug] Fix #2584 (with feelings)

* Release v0.32.3
2024-03-05 23:34:06 -07:00
derailed 394fec3453 blee1 2024-03-05 17:53:10 -07:00
Fernand Galiana ecd33ff48d
K9s release v0.32.2 (#2598)
* [Maint] cleaning up

* [Bug] Fix #2593

* [Bug] Fix #2582

* Release v0.32.2
2024-03-05 17:11:31 -07:00
Fernand Galiana 69cd0cd707
K9s/release v0.32.1 (#2591)
* [Bug] Fix #2579

* [Bug] Fix #2584

* [Exp] make pf address configurable via K9S_DEFAULT_PF_ADDRESS

* v0.32.1 release
2024-03-04 17:57:20 -07:00
Alexej Disterhoft b850775d41
fix: properly initialize key actions in picker (#2586)
This commit fixes a bug introcuded in v0.32.0 where the shell-in and
attach commands would fail with a nil pointer exception for pods with
more than one container.

Resolves #2585
2024-03-04 13:56:38 -07: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
yinheli 00e4600788
feat: sort by role in node list view (#2558) 2024-02-29 07:53:53 -07:00
Jakob Edding 93cad8c958
Use configured log fgColor to print log markers (#2546) 2024-02-21 20:14:45 -07:00
Marcus Noble d06ab6407b
Correctly respect the KUBECACHEDIR env var (#2551)
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-02-21 17:54:25 -07:00
Fernand Galiana f2f4077b59
K9s/release v0.31.9 (#2543)
* [Bug] fix #2535

* [Bug] fix #2532

* [Bug] fix #2536

* [Bug] fix #2533

* [Bug] fix #2538

* [Maint] cleaning up

* Release notes
2024-02-15 17:43:29 -07:00
Łukasz Tomaszkiewicz 8e7b99750d
fix: issue 2175 - fallback to env names when cannot get username from user.Current() (#2505) 2024-02-15 10:17:37 -07:00
doy-materialize b55c094f93
fix the --write flag (#2531)
--write sets k.manualReadOnly to false, but this was previously setting the read only state to true if k.manualReadOnly was set at all
2024-02-15 10:13:52 -07:00
Othmane EL MASSARI 914bffc0a7
feat: allow override of plugins & hotkeys shortcuts (#2510)
* feat: allow override of plugins & hotkeys shortcuts

* add docs and log.info when overrides

* edit log message

* fix doc

* Update README.md
2024-02-07 09:19:48 -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
Jayson Wang 763a6b0e00
adding the f command to pf extender view (#2511) 2024-02-05 16:56:21 -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