Update to Kubernetes 1.18
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
# 0.3.0
|
||||
|
||||
* New image storadev/kubedoom:0.3.0
|
||||
* Update kubernetes to 1.18.1
|
||||
|
||||
# 0.2.0
|
||||
|
||||
* New image storadev/kubedoom:0.2.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.13-alpine AS gobuild
|
||||
FROM golang:1.14-alpine AS gobuild
|
||||
|
||||
WORKDIR /go/src/kubedoom
|
||||
ADD kubedoom.go .
|
||||
|
@ -13,13 +13,13 @@ which was forked from psdoom.
|
||||
|
||||
## Usage
|
||||
|
||||
Run `storaxdev/kubedoom:0.2.0` locally:
|
||||
Run `storaxdev/kubedoom:0.3.0` locally:
|
||||
|
||||
```console
|
||||
$ docker run -p5900:5900 \
|
||||
-v ~/.kube:/root/.kube \
|
||||
--rm -it --name kubedoom \
|
||||
storaxdev/kubedoom:0.2.0
|
||||
storaxdev/kubedoom:0.3.0
|
||||
```
|
||||
|
||||
Now start a VNC viewer and connect to `localhost:5900`. The password is `1234`:
|
||||
@ -41,7 +41,7 @@ example config from this repository:
|
||||
```console
|
||||
$ kind create cluster --config kind-config.yaml
|
||||
Creating cluster "kind" ...
|
||||
✓ Ensuring node image (kindest/node:v1.17.0) 🖼
|
||||
✓ Ensuring node image (kindest/node:v1.18.0) 🖼
|
||||
✓ Preparing nodes 📦 📦
|
||||
✓ Writing configuration 📜
|
||||
✓ Starting control-plane 🕹️
|
||||
@ -69,4 +69,4 @@ serviceaccount/kubedoom created
|
||||
clusterrolebinding.rbac.authorization.k8s.io/kubedoom created
|
||||
```
|
||||
Kubedoom requires a service account with permissions to list all pods and delete
|
||||
them and uses kubectl 1.17.3.
|
||||
them and uses kubectl 1.18.1.
|
||||
|
@ -2,9 +2,9 @@ kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.17.0
|
||||
image: kindest/node:v1.18.0@sha256:0e20578828edd939d25eb98496a685c76c98d54084932f76069f886ec315d694
|
||||
- role: worker
|
||||
image: kindest/node:v1.17.0
|
||||
image: kindest/node:v1.18.0@sha256:0e20578828edd939d25eb98496a685c76c98d54084932f76069f886ec315d694
|
||||
extraPortMappings:
|
||||
- containerPort: 5900
|
||||
hostPort: 5900
|
||||
|
@ -18,7 +18,7 @@ spec:
|
||||
hostNetwork: true
|
||||
serviceAccountName: kubedoom
|
||||
containers:
|
||||
- image: storaxdev/kubedoom:0.2.0
|
||||
- image: storaxdev/kubedoom:0.3.0
|
||||
name: kubedoom
|
||||
ports:
|
||||
- containerPort: 5900
|
||||
|
Reference in New Issue
Block a user