Commit Graph

1528 Commits (e5912e7041d7b85a9f552422c20cfa74a90c9cf3)

Author SHA1 Message Date
dependabot[bot] e5912e7041
Bump k8s.io/cli-runtime from 0.28.3 to 0.28.4 (#2306)
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.28.3 to 0.28.4.
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 08:14:06 -07:00
dependabot[bot] 6842392fa2
Bump k8s.io/client-go from 0.28.3 to 0.28.4 (#2305)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.3 to 0.28.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 08:05:23 -07:00
Fernand Galiana 702f6f01b2
Clean up items... (#2303)
* Update licence header

* Add linter workflow

* Add pkg builds
2023-11-19 08:43:39 -07:00
dependabot[bot] 0d6805f63f
Bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 (#2294)
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.100.1 to 2.110.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.100.1...v2.110.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:59:46 -07:00
dependabot[bot] aee560d82c
Bump golang.org/x/text from 0.13.0 to 0.14.0 (#2295)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:59:29 -07:00
dependabot[bot] c64d112509
Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#2296)
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases)
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 17:59:15 -07:00
tyzbit 337ad9e402
add flux plugin image reconciliation commands (#1445) 2023-11-12 16:22:10 -07:00
fragolinux 91de8e1182
added flux suspended resources retrieval plugin (#1584)
* added flux suspended resources retrieval plugin

using this plugin, you can press Shift-S in "kustomizations" and "helmreleases" k9s sections to get a list of all suspended resources... a temporary patch till k9s will allow custom columns based on .spec in its views...

* Create rm-ns.yml

to test: create an "undeletable" namespace, with wrong finalizers:

```
apiVersion: v1
kind: Namespace
metadata:
  name: test
spec:
  finalizers:
    - foregroundDeletion
```

apply to cluster: `kubectl create -f test.yaml`

go in NS view in k9s, then select the test NS and press CTRL-D to delete it... it will stay in terminating state, because of the finalizers... now press "n", and confirm, to remove the finalizers... the NS should now be gone...

do NOT run on the "all+" ns, it will crash k9s...
2023-11-12 11:59:01 -07:00
Josh Soref f37d472c5b
Provide white blur so images work in dark modes (#1597) 2023-11-12 11:55:04 -07:00
Olivier Orand 46d4681933
Add context to get-all (#1701) 2023-11-12 11:45:05 -07:00
Sebastien Tardif 8b5ffce61a
fix brew command in the readme (#2012) 2023-11-12 11:38:23 -07:00
Jørgen Jervidalo b2775871c5
Add support for using custom kubeconfig with log_full plugin (#2014)
Support for using the log_full plugin (added in #2002) if starting k9s with a custom kubeconfig file (the `--kubeconfig` flag)
2023-11-12 11:37:01 -07:00
Chris Werner Rau 1bfd824ab4
feat: allow for multiple plugin files in $XDG_DATA_DIRS/k9s/plugins (#2029) 2023-11-12 11:35:46 -07:00
Fernand Galiana 32b9493a0d
Clean up issues introduced by #2125 (#2289) 2023-11-12 11:33:01 -07:00
Alexandru Placinta 344990e096
Pod view resembles more the output of kubectl get pods -o wide (#2125) 2023-11-12 11:08:16 -07:00
Jimmy Merrild Krag a02f2c64a3
Update README.md with snap install (#2262) 2023-11-12 11:04:08 -07:00
Aleksei Romanenko 79a2d50bb2
Add snapcraft config (#2123)
* Add snapcraft config

* Update snapcraft config
2023-11-12 11:02:39 -07:00
Jayson Wang 46a1ed0cf1
storageclasses view keeps the same output as kubectl get sc (#2132)
* storageclasses view keeps the same output as kubectl get sc

* fix sc test

* rollback labels and valid field and add test case
2023-11-12 11:00:35 -07:00
Fernand Galiana 7ece543681
Fix merge issues with PR #2168 (#2288) 2023-11-12 10:59:09 -07:00
Alexandru Placinta 5a8dc2d4b3
Add colour config for container picker (#2140) 2023-11-12 10:52:10 -07:00
Nick Mills-Barrett 9d804c6c17
Add env var to disable node pod counts (#2168)
* Add env var to disable node pod counts

* Move disabling pod counting to config

* Correct alias context function name
2023-11-12 10:32:02 -07:00
Takumi Sue 23e600bef5
Use current k9s NS if new context has no default NS (#2197)
* Fix resetting active namespace when switching ctx

* Respect existing behavior

and set k9s's active ns if no ns specified in the context
2023-11-12 10:23:46 -07:00
dependabot[bot] 21f1987fba
Bump actions/setup-go from 4.0.1 to 4.1.0 (#2200)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-12 10:10:50 -07:00
MrLuje a2a7544a6f
fix: trigger a single log refresh after changing 'since' (#2202) 2023-11-12 10:07:46 -07:00
Clément Blaise b3029eefbd
Add crossplane plugin (#2204) 2023-11-12 10:03:47 -07:00
Clément Loiselet 24e244ca82
fix(#1359): add option to keep missing clusters in config (#2213)
Co-authored-by: Clément Loiselet <clement.loiselet@cbp-group.com>
2023-11-12 09:42:50 -07:00
derailed 694159b857 K9s release v0.28.2
- Restore delete shortcut
2023-11-11 23:18:34 -07:00
derailed eb7460e8d8 restore delete shortcut 2023-11-11 23:16:14 -07:00
Jayson Wang 7af4b2d890 try to get the os name form the pod assigned node (#2282)
* get the os name from the node when needed

* code quality

* remove err sentinel

---------

Co-authored-by: Fernand Galiana <fernand.galiana@gmail.com>
2023-11-11 18:51:46 -07:00
Fernand Galiana 5540b5a825 Add sanitize command (#2286)
- Sanitize provides for clearing out pods in either completed/failed
  state #2277
2023-11-11 10:33:33 -07:00
Alexandru Placinta 19952cd282
Delete port forwards when pods get deleted or killed (#2247) 2023-11-10 17:51:26 -07:00
Alexandru Placinta a3155d015d
Add prompt border color customization (#2234) 2023-11-10 08:54:40 -07:00
Jayson Wang 893f15f802
check if the Node already cordoned when executing Drain (#2275)
* check if the Node already cordoned when executing Drain

* ensure node cordoned
2023-11-09 17:15:20 -07:00
Jérémie Tarot b3e85e9bbc
README.md: fix typo in netshoot URL (#2278) 2023-11-09 17:11:46 -07:00
Eng Zer Jun 458517fc14
chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` (#2280)
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-11-09 17:10:42 -07:00
Artem Gorbatiuk a34d7ae6bf
feat: add autoRefresh config field (#2256) (#2257)
* feat: add autoRefresh config field

Add autoRefresh: true to config test scenarios
Update all instances of NewLiveView() to pass autoRefresh config value to LiveView

* fix: rename generic autoRefresh config field to liveViewAutoRefresh

* docs: document liveViewAutoRefresh config field

* fix: use app config for NewLiveView creation

---------

Co-authored-by: Artem Gorbatiuk <wfrced@gmail.com>
2023-11-08 12:45:22 -07:00
Jayson Wang 68afb3d9ef
return the correct benchamrk path (#2272) 2023-11-08 08:37:16 -07:00
Fernand Galiana d19c792feb
K9s/rel v0.28.0 (#2274)
* check for plausible overflow when seting up env

* Various fixes and clean up

* Introduce File transfer command

- Add ability to upload/download files from/to pods

* release v0.28.0
2023-11-07 17:22:41 -07:00
dependabot[bot] f4d2ca621a
chore(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#2269)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:19:21 -07:00
dependabot[bot] c651ec57c9
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2270)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:19:05 -07:00
dependabot[bot] 79b1841daa
chore(deps): bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 (#2271)
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.100.1 to 2.110.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.100.1...v2.110.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:18:40 -07:00
Jayson Wang a8615d9f19
fix manual sorting not working when sortColumn is configured (#2253)
* fix manual sorting not working when sortColumn is configured

* using manualSort to indicate has modified the sort col

* make user changes to the sortColumn take effect
2023-11-05 07:50:45 -07:00
dependabot[bot] 536ee08247
chore(deps): bump github.com/rs/zerolog from 1.29.1 to 1.31.0 (#2241)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.29.1 to 1.31.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.29.1...v1.31.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 07:47:50 -07:00
dependabot[bot] 62239f9415
chore(deps): bump github.com/docker/docker (#2266)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.6+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.6...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 07:38:41 -07:00
Jayson Wang 09719eb16b
fix fsnotify not fully working (#2258) 2023-10-29 13:32:41 -06:00
dependabot[bot] 85c0f26158
chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 (#2259)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:09:07 -06:00
dependabot[bot] cf95ebd5ce
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#2260)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:08:40 -06:00
dependabot[bot] a93acbd28e
chore(deps): bump google.golang.org/grpc from 1.54.0 to 1.56.3 (#2263)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.54.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:08:24 -06:00
dependabot[bot] 981f9cc796
chore(deps): bump k8s.io/metrics from 0.28.2 to 0.28.3 (#2254)
Bumps [k8s.io/metrics](https://github.com/kubernetes/metrics) from 0.28.2 to 0.28.3.
- [Commits](https://github.com/kubernetes/metrics/compare/v0.28.2...v0.28.3)

---
updated-dependencies:
- dependency-name: k8s.io/metrics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:33:05 -06:00
dependabot[bot] 9114a8ce27
chore(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 (#2250)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:14:53 -06:00