Skip to content

Commit

Permalink
Update k8s to 1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
inductor committed Apr 22, 2023
1 parent 6c87291 commit 03459db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pluto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

- name: Use pluto
run: |
pluto detect-files -d helm-charts/cloudflared-tunnel --target-versions k8s=v1.26.1
pluto detect-files -d helm-charts/cloudflared-tunnel --target-versions k8s=v1.27.1
- name: Use pluto
run: |
pluto detect-files -d seichi-onp-k8s/manifests/seichi-kubernetes/apps --target-versions k8s=v1.26.1
pluto detect-files -d seichi-onp-k8s/manifests/seichi-kubernetes/apps --target-versions k8s=v1.27.1
2 changes: 1 addition & 1 deletion seichi-onp-k8s/cluster-boot-up/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ KubernetesノードのVMは cloudinit イメージで作成されています。
2022/05/23現在、クラスタは (3 control plane nodes + 3 worker nodes) の構成で[作成されています](https://github.com/GiganticMinecraft/seichi_infra/blob/9b6a9346371b8f2add3a786b6badbe4e13d4464c/seichi-onp-k8s/cluster-boot-scripts/deploy-vm.sh#L14-L19)

クラスタの作成は以下のツール群で行っています。
- kubeadm, kubectl, kubelet v1.26.1
- kubeadm, kubectl, kubelet v1.27.1

CNI には Cilium を利用しています。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sysctl --system
curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install -y kubelet=1.26.1-00 kubeadm=1.26.1-00 kubectl=1.26.1-00
apt-get install -y kubelet=1.27.1-00 kubeadm=1.27.1-00 kubectl=1.27.1-00
apt-mark hold kubelet kubeadm kubectl

# Disable swap
Expand Down Expand Up @@ -281,7 +281,7 @@ kind: ClusterConfiguration
networking:
serviceSubnet: "10.96.0.0/16"
podSubnet: "10.128.0.0/16"
kubernetesVersion: "v1.26.1"
kubernetesVersion: "v1.27.1"
controlPlaneEndpoint: "${KUBE_API_SERVER_VIP}:8443"
apiServer:
certSANs:
Expand Down

0 comments on commit 03459db

Please sign in to comment.