Skip to content

Commit

Permalink
Bump Kubernetes to v1.27.10
Browse files Browse the repository at this point in the history
  • Loading branch information
twz123 committed Jan 18, 2024
1 parent b523c35 commit 24e0a80
Show file tree
Hide file tree
Showing 17 changed files with 140 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version tag (e.g."v1.27.9+k0s.0")'
description: 'Version tag (e.g."v1.27.10+k0s.0")'
required: true

env:
Expand Down
2 changes: 1 addition & 1 deletion docs/autopilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ spec:
version: v{{{ extra.k8s_version }}}+k0s.0
platforms:
linux-amd64:
url: https://github.com/k0sproject/k0s/releases/download/v1.27.9+k0s.0/k0s-v1.27.9+k0s.0-amd64
url: https://github.com/k0sproject/k0s/releases/download/v1.27.10+k0s.0/k0s-v1.27.100+k0s.0-amd64
sha256: '0000000000000000000000000000000000000000000000000000000000000000'
targets:
controllers:
Expand Down
8 changes: 4 additions & 4 deletions docs/dockershim.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Get a list of all nodes (k0s is still version 1.23, which already includes the d
```sh
sudo k0s kubectl get nodes -o wide

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-10-0-49-188.eu-west-1.compute.internal Ready control-plane 52m v{{{ extra.k8s_version }}}+k0s 10.0.49.188 <none> Ubuntu 20.04.4 LTS 5.13.0-1022-aws docker://20.10.16
ip-10-0-62-250.eu-west-1.compute.internal Ready <none> 12s v{{{ extra.k8s_version }}}+k0s 10.0.62.250 <none> Ubuntu 20.04.4 LTS 5.13.0-1017-aws docker://20.10.16
```
Expand All @@ -51,7 +51,7 @@ sudo k0s kubectl drain ip-10-0-62-250.eu-west-1.compute.internal --ignore-daemon
```sh
sudo k0s kubectl get nodes -o wide

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-10-0-49-188.eu-west-1.compute.internal Ready control-plane 56m v{{{ extra.k8s_version }}}+k0s 10.0.49.188 <none> Ubuntu 20.04.4 LTS 5.13.0-1022-aws docker://20.10.16
ip-10-0-62-250.eu-west-1.compute.internal Ready,SchedulingDisabled <none> 3m40s v{{{ extra.k8s_version }}}+k0s 10.0.62.250 <none> Ubuntu 20.04.4 LTS 5.13.0-1017-aws docker://20.10.16
```
Expand Down Expand Up @@ -147,7 +147,7 @@ On the controller, you'll be able to see the worker started with the new docker
```sh
sudo k0s kubectl get nodes -o wide

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-10-0-49-188.eu-west-1.compute.internal Ready control-plane 117m v{{{ extra.k8s_version }}}+k0s 10.0.49.188 <none> Ubuntu 20.04.4 LTS 5.13.0-1022-aws docker://20.10.16
ip-10-0-62-250.eu-west-1.compute.internal Ready,SchedulingDisabled <none> 64m v{{{ extra.k8s_version }}}+k0s 10.0.62.250 <none> Ubuntu 20.04.4 LTS 5.13.0-1017-aws docker://20.10.16
```
Expand All @@ -165,7 +165,7 @@ You should now see the node Ready for scheduling with the docker Runtime:
```sh
sudo k0s kubectl get nodes -o wide

NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-10-0-49-188.eu-west-1.compute.internal Ready control-plane 119m v{{{ extra.k8s_version }}}+k0s 10.0.49.188 <none> Ubuntu 20.04.4 LTS 5.13.0-1022-aws docker://20.10.16
ip-10-0-62-250.eu-west-1.compute.internal Ready <none> 66m v{{{ extra.k8s_version }}}+k0s 10.0.62.250 <none> Ubuntu 20.04.4 LTS 5.13.0-1017-aws docker://20.10.16
```
4 changes: 2 additions & 2 deletions docs/k0s-multi-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ curl -sSLf https://get.k0s.sh | sudo sh

The download script accepts the following environment variables:

| Variable | Purpose |
|:----------------------------|:---------------------------------------------------------------------|
| Variable | Purpose |
|:-----------------------------------------------|:--------------------------------------------------|
| `K0S_VERSION=v{{{ extra.k8s_version }}}+k0s.0` | Select the version of k0s to be installed |
| `DEBUG=true` | Output commands and their arguments at execution. |

Expand Down
4 changes: 2 additions & 2 deletions docs/nllb.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ listed, too:

```console
$ kubectl get nodes -owide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
k0s-worker-0 Ready <none> 2m16s v{{{ extra.k8s_version }}}+k0s 10.81.146.198 <none> Alpine Linux v3.17 5.15.83-0-virt containerd://1.7.8
k0s-worker-1 Ready <none> 2m15s v{{{ extra.k8s_version }}}+k0s 10.81.146.51 <none> Alpine Linux v3.17 5.15.83-0-virt containerd://1.7.8
```
Expand Down Expand Up @@ -303,7 +303,7 @@ k0s-controller-1
$ sed -i s#https://10\\.81\\.146\\.254:6443#https://10.81.146.184:6443#g k0s-kubeconfig
$ kubectl get nodes -owide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
k0s-worker-0 Ready <none> 3m35s v{{{ extra.k8s_version }}}+k0s 10.81.146.198 <none> Alpine Linux v3.17 5.15.83-0-virt containerd://1.7.8
k0s-worker-1 Ready <none> 3m34s v{{{ extra.k8s_version }}}+k0s 10.81.146.51 <none> Alpine Linux v3.17 5.15.83-0-virt containerd://1.7.8
Expand Down
4 changes: 2 additions & 2 deletions docs/raspberry-pi4.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ When the cluster is up, try to have a look:

```console
ubuntu@ubuntu:~$ sudo k0s kc get nodes -owide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ubuntu Ready control-plane 4m41s v{{{ extra.k8s_version }}}+k0s 10.152.56.54 <none> Ubuntu 22.04.1 LTS 5.15.0-1013-raspi containerd://1.7.8
ubuntu@ubuntu:~$ sudo k0s kc get pod -owide -A
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
Expand Down Expand Up @@ -496,7 +496,7 @@ Using the above kubeconfig, you can now access and use the cluster:
```console
ubuntu@ubuntu:~$ KUBECONFIG=/path/to/kubeconfig kubectl get nodes,deployments,pods -owide -A
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
node/ubuntu Ready <none> 5m1s v{{{ extra.k8s_version }}}+k0s 10.152.56.54 <none> Ubuntu 22.04.1 LTS 5.15.0-1013-raspi containerd://1.7.8
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
Expand Down
4 changes: 2 additions & 2 deletions docs/worker-node-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kubectl get node --show-labels

```shell
NAME STATUS ROLES AGE VERSION LABELS
worker0 NotReady <none> 10s v{{{ extra.k8s_version }}}+k0s beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,k0sproject.io/foo=bar,k0sproject.io/other=xyz,kubernetes.io/arch=amd64,kubernetes.io/hostname=worker0,kubernetes.io/os=linux
worker0 NotReady <none> 10s v{{{ extra.k8s_version }}}+k0s beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,k0sproject.io/foo=bar,k0sproject.io/other=xyz,kubernetes.io/arch=amd64,kubernetes.io/hostname=worker0,kubernetes.io/os=linux
```

Controller worker nodes are assigned `node.k0sproject.io/role=control-plane` and `node-role.kubernetes.io/control-plane=true` labels:
Expand All @@ -25,7 +25,7 @@ kubectl get node --show-labels

```shell
NAME STATUS ROLES AGE VERSION LABELS
controller0 NotReady control-plane 10s v{{{ extra.k8s_version }}}+k0s beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=worker0,kubernetes.io/os=linux,node.k0sproject.io/role=control-plane,node-role.kubernetes.io/control-plane=true
controller0 NotReady control-plane 10s v{{{ extra.k8s_version }}}+k0s beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=worker0,kubernetes.io/os=linux,node.k0sproject.io/role=control-plane,node-role.kubernetes.io/control-plane=true
```

**Note:** Setting the labels is only effective on the first registration of the node. Changing the labels thereafter has no effect.
Expand Down
2 changes: 1 addition & 1 deletion embedded-bins/Makefile.variables
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ containerd_build_shim_go_cgo_enabled = 0
#containerd_build_go_ldflags =
containerd_build_go_ldflags_extra = "-w -s -extldflags=-static"

kubernetes_version = 1.27.9
kubernetes_version = 1.27.10
helm_version = 3.11.1
kubernetes_buildimage = $(golang_buildimage)
kubernetes_build_go_tags = "providerless"
Expand Down
2 changes: 1 addition & 1 deletion examples/footloose-ha-controllers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/footloose/ubuntu18.04

ADD k0s.service /etc/systemd/system/k0s.service

RUN curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.27.9/bin/linux/amd64/kubectl && \
RUN curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.27.10/bin/linux/amd64/kubectl && \
chmod +x /usr/local/bin/kubectl

ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf
104 changes: 52 additions & 52 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,30 @@ require (
go.uber.org/zap v1.24.0
golang.org/x/crypto v0.17.0
golang.org/x/exp v0.0.0-20220827204233-334a2380cb91
golang.org/x/mod v0.13.0
golang.org/x/sync v0.4.0
golang.org/x/mod v0.14.0
golang.org/x/sync v0.5.0
golang.org/x/sys v0.15.0
golang.org/x/tools v0.14.0
golang.org/x/tools v0.16.1
google.golang.org/grpc v1.58.3
helm.sh/helm/v3 v3.11.3
)

// Kubernetes
require (
k8s.io/api v0.27.9
k8s.io/apiextensions-apiserver v0.27.9
k8s.io/apimachinery v0.27.9
k8s.io/cli-runtime v0.27.9
k8s.io/client-go v0.27.9
k8s.io/cloud-provider v0.27.9
k8s.io/component-base v0.27.9
k8s.io/component-helpers v0.27.9
k8s.io/cri-api v0.27.9
k8s.io/kube-aggregator v0.27.9
k8s.io/kubectl v0.27.9
k8s.io/kubelet v0.27.9
k8s.io/kubernetes v1.27.9
k8s.io/mount-utils v0.27.9
k8s.io/api v0.27.10
k8s.io/apiextensions-apiserver v0.27.10
k8s.io/apimachinery v0.27.10
k8s.io/cli-runtime v0.27.10
k8s.io/client-go v0.27.10
k8s.io/cloud-provider v0.27.10
k8s.io/component-base v0.27.10
k8s.io/component-helpers v0.27.10
k8s.io/cri-api v0.27.10
k8s.io/kube-aggregator v0.27.10
k8s.io/kubectl v0.27.10
k8s.io/kubelet v0.27.10
k8s.io/kubernetes v1.27.10
k8s.io/mount-utils v0.27.10
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5
sigs.k8s.io/controller-runtime v0.13.1-0.20230412185432-fbd6b944a634 // includes https://github.com/kubernetes-sigs/controller-runtime/pull/2223
sigs.k8s.io/yaml v1.3.0
Expand Down Expand Up @@ -256,7 +256,7 @@ require (
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
Expand All @@ -271,12 +271,12 @@ require (
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiserver v0.27.9 // indirect
k8s.io/controller-manager v0.27.9 // indirect
k8s.io/apiserver v0.27.10 // indirect
k8s.io/controller-manager v0.27.10 // indirect
k8s.io/klog/v2 v2.90.1 // indirect
k8s.io/kms v0.27.9 // indirect
k8s.io/kms v0.27.10 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
k8s.io/metrics v0.27.9 // indirect
k8s.io/metrics v0.27.10 // indirect
oras.land/oras-go v1.2.4-0.20230505142456-f92397840738 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down Expand Up @@ -308,34 +308,34 @@ replace (

// Replacements duplicated from upstream Kubernetes
replace (
// https://github.com/kubernetes/kubernetes/blob/v1.27.9/go.mod#L249-L279
k8s.io/api => k8s.io/api v0.27.9
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.27.9
k8s.io/apimachinery => k8s.io/apimachinery v0.27.9
k8s.io/apiserver => k8s.io/apiserver v0.27.9
k8s.io/cli-runtime => k8s.io/cli-runtime v0.27.9
k8s.io/client-go => k8s.io/client-go v0.27.9
k8s.io/cloud-provider => k8s.io/cloud-provider v0.27.9
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.27.9
k8s.io/code-generator => k8s.io/code-generator v0.27.9
k8s.io/component-base => k8s.io/component-base v0.27.9
k8s.io/component-helpers => k8s.io/component-helpers v0.27.9
k8s.io/controller-manager => k8s.io/controller-manager v0.27.9
k8s.io/cri-api => k8s.io/cri-api v0.27.9
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.9
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.27.9
k8s.io/kms => k8s.io/kms v0.27.9
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.27.9
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.27.9
k8s.io/kube-proxy => k8s.io/kube-proxy v0.27.9
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.27.9
k8s.io/kubectl => k8s.io/kubectl v0.27.9
k8s.io/kubelet => k8s.io/kubelet v0.27.9
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.27.9
k8s.io/metrics => k8s.io/metrics v0.27.9
k8s.io/mount-utils => k8s.io/mount-utils v0.27.9
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.27.9
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.27.9
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.27.9
k8s.io/sample-controller => k8s.io/sample-controller v0.27.9
// https://github.com/kubernetes/kubernetes/blob/v1.27.10/go.mod#L249-L279
k8s.io/api => k8s.io/api v0.27.10
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.27.10
k8s.io/apimachinery => k8s.io/apimachinery v0.27.10
k8s.io/apiserver => k8s.io/apiserver v0.27.10
k8s.io/cli-runtime => k8s.io/cli-runtime v0.27.10
k8s.io/client-go => k8s.io/client-go v0.27.10
k8s.io/cloud-provider => k8s.io/cloud-provider v0.27.10
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.27.10
k8s.io/code-generator => k8s.io/code-generator v0.27.10
k8s.io/component-base => k8s.io/component-base v0.27.10
k8s.io/component-helpers => k8s.io/component-helpers v0.27.10
k8s.io/controller-manager => k8s.io/controller-manager v0.27.10
k8s.io/cri-api => k8s.io/cri-api v0.27.10
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.10
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.27.10
k8s.io/kms => k8s.io/kms v0.27.10
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.27.10
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.27.10
k8s.io/kube-proxy => k8s.io/kube-proxy v0.27.10
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.27.10
k8s.io/kubectl => k8s.io/kubectl v0.27.10
k8s.io/kubelet => k8s.io/kubelet v0.27.10
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.27.10
k8s.io/metrics => k8s.io/metrics v0.27.10
k8s.io/mount-utils => k8s.io/mount-utils v0.27.10
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.27.10
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.27.10
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.27.10
k8s.io/sample-controller => k8s.io/sample-controller v0.27.10
)
Loading

0 comments on commit 24e0a80

Please sign in to comment.