Skip to content

Commit

Permalink
bring upto speed (#2)
Browse files Browse the repository at this point in the history
* Log view: Allow persisting text wrap and timestamp

* better documentation for xray

Fixes derailed#642

* update pf verb + docker image fix

* fix issues derailed#665, derailed#662

* update rel

* Add dive to plugins

* Add dive plugin to README

Co-authored-by: David Němec <david@nemec.co>
Co-authored-by: Tomáš Pospíšek <tpo_deb@sourcepole.ch>
Co-authored-by: Fernand Galiana <fernand.galiana@gmail.com>
Co-authored-by: Tobias Germer <bvrcreepyx@hotmail.de>
  • Loading branch information
5 people committed Apr 21, 2020
1 parent 21d2023 commit fd2726d
Show file tree
Hide file tree
Showing 20 changed files with 101 additions and 35 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ brews:
- name: k9s
github:
owner: derailed
name: k9s-homebrew-tap
name: homebrew-k9s
commit_author:
name: derailed
email: fernand@imhotep.io
folder: Formula
homepage: https://k8sk9s.dev/
homepage: https://k9scli.io/
description: Kubernetes CLI To Manage Your Clusters In Style!
test: |
system "k9s version"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build...
FROM golang:1.14.1 AS build
FROM golang:1.14.1-alpine3.11 AS build

WORKDIR /k9s
COPY go.mod go.sum main.go Makefile ./
Expand All @@ -13,7 +13,7 @@ RUN apk --no-cache add make git gcc libc-dev curl && make build
FROM alpine:3.10.0

COPY --from=build /k9s/execs/k9s /bin/k9s
ENV KUBE_LATEST_VERSION="v1.16.2"
ENV KUBE_LATEST_VERSION="v1.18.1"
RUN apk add --update ca-certificates \
&& apk add --update -t deps curl \
&& curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ PACKAGE := github.com/derailed/$(NAME)
GIT := $(shell git rev-parse --short HEAD)
SOURCE_DATE_EPOCH ?= $(shell date +%s)
DATE := $(shell date -u -d @${SOURCE_DATE_EPOCH} +%FT%T%Z)
VERSION ?= v0.17.6
VERSION ?= v0.19.1
IMG_NAME := derailed/k9s
IMAGE := ${IMG_NAME}:${VERSION}

default: help

test: ## Run all tests
test: ## Run all tests
@go clean --testcache && go test ./...


cover: ## Run test coverage suite
cover: ## Run test coverage suite
@go test ./... --coverprofile=cov.out
@go tool cover --html=cov.out

build: ## Builds the CLI
build: ## Builds the CLI
@go build \
-ldflags "-w -s -X ${PACKAGE}/cmd.version=${VERSION} -X ${PACKAGE}/cmd.commit=${GIT} -X ${PACKAGE}/cmd.date=${DATE}" \
-a -tags netgo -o execs/${NAME} main.go

img: ## Build Docker Image
img: ## Build Docker Image
@docker build --rm -t ${IMAGE} .

help:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ k9s --readonly

## Logs

Given the nature of the ui k9s does produce logs to a specific location. To view the logs or turn on debug mode, use the following commands:
Given the nature of the ui k9s does produce logs to a specific location. To view the logs and turn on debug mode, use the following commands:

```shell
k9s info
Expand Down Expand Up @@ -161,7 +161,7 @@ K9s uses aliases to navigate most K8s resources.
| To delete a resource (TAB and ENTER to confirm) | `ctrl-d` | |
| To kill a resource (no confirmation dialog!) | `ctrl-k` | |
| Launch pulses view | `:`pulses or pu⏎ | |
| Launch XRay view | `:`xray pod⏎ | accepts po, svc, dp, rs, sts or ds |
| Launch XRay view | `:`xray RESOURCE [NAMESPACE]| RESOURCE can be one of po, svc, dp, rs, sts, ds, NAMESPACE is optional |

---

Expand Down
36 changes: 36 additions & 0 deletions change_logs/release_v0.19.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s_small.png" align="right" width="200" height="auto"/>

# Release v0.19.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 is as ever very much noticed and appreciated!

Also if you dig this tool, please consider sponsoring 👆us or make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer)

On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_invite/enQtOTA5MDEyNzI5MTU0LWQ1ZGI3MzliYzZhZWEyNzYxYzA3NjE0YTk1YmFmNzViZjIyNzhkZGI0MmJjYzhlNjdlMGJhYzE2ZGU1NjkyNTM)

---

## A Word From Our Sponsors...

It makes me always very happy to hear folks are digging this effort and using K9s daily! If you feel this way please tell us and consider joining our [sponsorship](https://github.com/sponsors/derailed) program.

Big Thank You! to the following folks for joining our program:

* [Nick Hobart](https://github.com/nwhobart)
* [Shopeonarope](https://github.com/shopeonarope)

Maintenance Release!

NOTE! During K9s update to support the latest version of Kubernetes (v1.18), K9s Helm charts support took one for the team ;( At this time Helm as yet to be released k8s v1.18 support. We will track for updates and enable this feature once HelmV3 releases it.

## Resolved Bugs/Features/PRs

* [Issue #665](https://github.com/derailed/k9s/issues/665)
* [Issue #662](https://github.com/derailed/k9s/issues/662)
* [PR #660](https://github.com/derailed/k9s/pull/660) Thank you! [Tomáš Pospíšek](https://github.com/tpo)

---

<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/imhotep_logo.png" width="32" height="auto"/> © 2020 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ require (
k8s.io/klog v1.0.0
k8s.io/kubectl v0.18.0
k8s.io/metrics v0.18.0
rsc.io/letsencrypt v0.0.3 // indirect
sigs.k8s.io/yaml v1.2.0
vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787
)
Loading

0 comments on commit fd2726d

Please sign in to comment.