Skip to content

Commit

Permalink
Merge pull request #471 from hippogriffin/470-k8s-1.19
Browse files Browse the repository at this point in the history
470 - Update k8s to 1.23
  • Loading branch information
geerlingguy authored Jun 18, 2023
2 parents 6c753ca + f5006ee commit 7b243a0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
2 changes: 1 addition & 1 deletion kubernetes/examples/files/tiller-rbac.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
Expand Down
29 changes: 22 additions & 7 deletions kubernetes/files/manifests/kube-system/kube-flannel-vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# kube-flannel container in the 'kube-flannel-ds-amd64' DaemonSet.
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flannel
rules:
Expand All @@ -28,7 +28,7 @@ rules:
- patch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flannel
roleRef:
Expand Down Expand Up @@ -82,7 +82,7 @@ data:
}
}
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds-amd64
Expand All @@ -91,6 +91,9 @@ metadata:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
template:
metadata:
labels:
Expand Down Expand Up @@ -161,7 +164,7 @@ spec:
configMap:
name: kube-flannel-cfg
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds-arm64
Expand All @@ -170,6 +173,9 @@ metadata:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
template:
metadata:
labels:
Expand Down Expand Up @@ -239,7 +245,7 @@ spec:
configMap:
name: kube-flannel-cfg
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds-arm
Expand All @@ -248,6 +254,9 @@ metadata:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
template:
metadata:
labels:
Expand Down Expand Up @@ -317,7 +326,7 @@ spec:
configMap:
name: kube-flannel-cfg
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds-ppc64le
Expand All @@ -326,6 +335,9 @@ metadata:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
template:
metadata:
labels:
Expand Down Expand Up @@ -395,7 +407,7 @@ spec:
configMap:
name: kube-flannel-cfg
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-flannel-ds-s390x
Expand All @@ -404,6 +416,9 @@ metadata:
tier: node
app: flannel
spec:
selector:
matchLabels:
app: flannel
template:
metadata:
labels:
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ docker_packages:
- docker-ce=5:18.09.0~3-0~debian-stretch
docker_install_compose: False

kubernetes_version: '1.13'
kubernetes_version: '1.23'
kubernetes_allow_pods_on_master: False
kubernetes_pod_network_cidr: '10.244.0.0/16'
kubernetes_packages:
- name: kubelet=1.13.8-00
- name: kubelet=1.23.5-00
state: present
- name: kubectl=1.13.8-00
- name: kubectl=1.23.5-00
state: present
- name: kubeadm=1.13.8-00
- name: kubeadm=1.23.5-00
state: present
- name: kubernetes-cni
state: present
Expand Down

0 comments on commit 7b243a0

Please sign in to comment.