From 99330ac41693da87b2673087d6d2d86f70a2f4cb Mon Sep 17 00:00:00 2001 From: David Zuber Date: Sat, 11 Apr 2020 10:24:49 +0100 Subject: [PATCH] Update to Kubernetes 1.18 --- CHANGELOG.md | 5 +++++ Dockerfile | 2 +- README.md | 8 ++++---- kind-config.yaml | 4 ++-- manifest/deployment.yaml | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a8422c..7e94d08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Dockerfile b/Dockerfile index 61a52ef..eaea7eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . diff --git a/README.md b/README.md index 5370297..c855771 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/kind-config.yaml b/kind-config.yaml index bdd88c9..d917e53 100644 --- a/kind-config.yaml +++ b/kind-config.yaml @@ -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 diff --git a/manifest/deployment.yaml b/manifest/deployment.yaml index f4feeb1..a1fcb18 100644 --- a/manifest/deployment.yaml +++ b/manifest/deployment.yaml @@ -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