Skip to content

Commit

Permalink
bump version v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Jul 21, 2021
1 parent ad72bbb commit 0f1e072
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 27 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@ There is a number of dependencies needed to make kubefarm working:
kubectl apply -f https://github.com/metallb/metallb/raw/v0.10.2/manifests/metallb.yaml
```

There is currently a bug in MetalLB that may block the use of multiple services on shared IP [metallb/metallb#558](https://github.com/metallb/metallb/issues/558).
However you can simple use patched images from this PR [metallb/metallb#922](https://github.com/metallb/metallb/pull/922):

```bash
kubectl set image -n metallb-system deploy/controller controller=ghcr.io/kvaps/metallb-controller:v0.10.2-fix558
kubectl set image -n metallb-system ds/speaker speaker=ghcr.io/kvaps/metallb-speaker:v0.10.2-fix558
```

Also [configure MetalLB Layer 2 address range](https://metallb.universe.tf/configuration/#layer-2-configuration) after the installation.
These IP-addresses will be used for the child Kubernetes clusters and network booting servers.

Expand Down Expand Up @@ -143,14 +135,17 @@ Spawn new cluster:

```bash
helm repo add kvaps https://kvaps.github.io/charts
helm show values kvaps/kubefarm --version 0.11.0 > values.yaml
helm show values kvaps/kubefarm --version 0.12.0 > values.yaml
vim values.yaml
helm install cluster1 kvaps/kubefarm --version 0.11.0 \
helm install cluster1 kvaps/kubefarm --version 0.12.0 \
--namespace kubefarm-cluster1 \
--create-namespace \
-f values.yaml
```

> **Warning:** As in standard case, clusters are bootstrapped without the CNI-plugin installed. Please follow official Kubernetes to choose and install the CNI-plugin to complete the installation.

### Cleanup

```bash
Expand Down
2 changes: 1 addition & 1 deletion build/ltsp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FROM ubuntu:20.04 as ltsp

ENV VERSION=v0.11.0
ENV VERSION=v0.12.0
ENV DEBIAN_FRONTEND=noninteractive

# Install updates and LTSP package
Expand Down
6 changes: 3 additions & 3 deletions deploy/helm/kubefarm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kubefarm
description: Kubefarm cluster
version: 0.11.0
appVersion: 1.21.0
version: 0.12.0
appVersion: 1.21.3
icon: https://avatars1.githubusercontent.com/u/68351149?s=150&u=b8b4cb0f364281274159d4098090c0e229370cf0
keywords:
- kubernetes
Expand All @@ -14,5 +14,5 @@ maintainers:
email: [email protected]
dependencies:
- name: kubernetes
version: 0.11.0
version: 0.12.0
condition: kubernetes.enabled
2 changes: 1 addition & 1 deletion deploy/helm/kubefarm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ltsp:
enabled: true
image:
repository: ghcr.io/kvaps/kubefarm-ltsp
tag: v0.11.0
tag: v0.12.0
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or just put `debug_shell` at any place you want to debug.
apply:

```
helm upgrade --install cluster1 kvaps/kubefarm --version 0.11.0 \
helm upgrade --install cluster1 kvaps/kubefarm --version 0.12.0 \
--namespace kubefarm-cluster1 \
--create-namespace \
-f ../generic/values.yaml \
Expand Down
2 changes: 1 addition & 1 deletion examples/catchall/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It might be used to catch all unknown clients in the network.
apply:

```
helm install catchall kvaps/kubefarm --version 0.11.0 \
helm install catchall kvaps/kubefarm --version 0.12.0 \
--namespace kubefarm-catchall \
--create-namespace \
-f values.yaml
Expand Down
4 changes: 2 additions & 2 deletions examples/dualstack_network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sysctl -w net.ipv6.conf.all.forwarding=1
deploy kubernetes cluster without kube-proxy:

```bash
helm upgrade --install cluster1 kvaps/kubefarm --version 0.11.0 \
helm upgrade --install cluster1 kvaps/kubefarm --version 0.12.0 \
--namespace kubefarm-cluster1 \
--create-namespace \
-f ../generic/values.yaml \
Expand All @@ -59,7 +59,7 @@ Install [Cilium](https://cilium.io/):
```bash
helm upgrade \
--install cilium cilium/cilium \
--version 1.9.8 \
--version 1.10.3 \
--namespace kube-system \
--set kubeProxyReplacement=strict \
--set k8sServiceHost=cluster1-kubernetes-apiserver \
Expand Down
6 changes: 0 additions & 6 deletions examples/dualstack_network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,3 @@ kubernetes:

kubeProxy:
enabled: false

ltsp:
config:
options:
# workaround: https://github.com/cilium/cilium/issues/6320
POST_SERVICE_CILIUM_MASQ: ip6tables -t nat -A POSTROUTING ! -o cilium_+ -s fd00::/104 -j MASQUERADE
2 changes: 1 addition & 1 deletion examples/generic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This setup illustrates the deployment of typical cluster with the static clients
apply:

```
helm upgrade --install cluster1 kvaps/kubefarm --version 0.11.0 \
helm upgrade --install cluster1 kvaps/kubefarm --version 0.12.0 \
--namespace kubefarm-cluster1 \
--create-namespace \
-f values.yaml
Expand Down

0 comments on commit 0f1e072

Please sign in to comment.