Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes v1.19 upgrade #2696

Merged
merged 39 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f60e7a1
Initial upgrade version
atsikham Oct 8, 2021
94cf188
Changed K8s version to 1.19.15
atsikham Oct 11, 2021
c47d777
Changed kubectl version in dockerfiles
atsikham Oct 11, 2021
8a9f677
Updated comments
atsikham Oct 11, 2021
e572979
Updated coredns configmap
atsikham Oct 11, 2021
62850eb
Updated calico version
atsikham Oct 11, 2021
0670618
Updated flannel configs
atsikham Oct 11, 2021
448a028
Updated calico configs
atsikham Oct 11, 2021
7f39bcf
Updated canal configs
atsikham Oct 11, 2021
78472b3
Restored api-resources task
atsikham Oct 11, 2021
4c534a7
Updated upgrade documentation
atsikham Oct 11, 2021
e89a36a
Updated ingress api version from deprecated to v1
atsikham Oct 11, 2021
cdd9c82
K8s dashboard and metrics-scraper images compatible to repository ver…
atsikham Oct 11, 2021
47983a9
Removed cni_in_kubelet variable
atsikham Oct 12, 2021
3dd1086
Downgraded back pause image version due to error in apply
atsikham Oct 12, 2021
42848aa
Avoid usage of deprecated --cgroup-driver flag
atsikham Oct 12, 2021
7fd8ab8
Changed shell to command
atsikham Oct 12, 2021
b3dd8d5
Fixed ubuntu package names
atsikham Oct 12, 2021
3d5feaa
Updated components
atsikham Oct 12, 2021
04db399
Added changelog
atsikham Oct 13, 2021
f2e2f19
Reverted task name
atsikham Oct 13, 2021
0884505
Modified comments after review from Pawel
atsikham Oct 14, 2021
5aa0285
Fixed canal applying
atsikham Oct 15, 2021
f251e81
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
atsikham Oct 18, 2021
a301ceb
Fixed tasks skipping for master
atsikham Oct 18, 2021
9944c3f
Renamed kubelet-cm tasks
atsikham Oct 19, 2021
37ed40d
Fixed version comparison
atsikham Oct 19, 2021
c04866c
Fixed command execution
atsikham Oct 20, 2021
96294a0
Remove namespace that hangs in terminating state
atsikham Oct 21, 2021
7ad60f8
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
atsikham Oct 21, 2021
d6d1965
Upgrade k8s dashboard after control plane
atsikham Oct 21, 2021
441fb25
Add tests for kubernetes namespace creation and deletion (#2)
atsikham Oct 21, 2021
f526d99
Merge branch 'develop' into feature/upgrade-k8s-1.19
atsikham Oct 21, 2021
3fdb081
Modified shell command
atsikham Oct 21, 2021
c9ab0bf
Merge branch 'feature/upgrade-k8s-1.19' of https://github.com/atsikha…
atsikham Oct 21, 2021
37a8f4d
Added shell executable for command
atsikham Oct 21, 2021
c28b180
Fixed apply for include in include
atsikham Oct 21, 2021
79d2aba
Removed timeout for kubectl
atsikham Oct 21, 2021
ae2aea1
Moved k8s dashboard upgrade once again
atsikham Oct 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG USER_UID=1000
ARG USER_GID=$USER_UID

ARG HELM_VERSION=3.3.1
ARG KUBECTL_VERSION=1.18.8
ARG KUBECTL_VERSION=1.19.15
ARG ISTIOCTL_VERSION=1.8.1

RUN : INSTALL APT REQUIREMENTS \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG USER_UID=1000
ARG USER_GID=$USER_UID

ARG HELM_VERSION=3.3.1
ARG KUBECTL_VERSION=1.18.8
ARG KUBECTL_VERSION=1.19.15
ARG ISTIOCTL_VERSION=1.8.1

ENV EPICLI_DOCKER_SHARED_DIR=/shared
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "epi-dummy.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
- name: Update in-cluster configuration
shell: |
command: |
kubeadm init phase upload-config kubeadm \
--config /etc/kubeadm/kubeadm-config.yml
args:
executable: /bin/bash
register: upload_config
until: upload_config is succeeded
retries: 30
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Based on https://github.com/kubernetes/kubernetes/blob/v1.18.6/cluster/addons/dns/coredns/coredns.yaml.in
# Based on https://github.com/kubernetes/kubernetes/blob/v1.19.15/cluster/addons/dns/coredns/coredns.yaml.in
# Hosts plugin added

# Note: /etc/hosts in pods is managed by kubelet thus we mount it under different path,
Expand Down Expand Up @@ -28,7 +28,9 @@ data:
ttl 30
}
prometheus :9153
forward . /etc/resolv.conf
forward . /etc/resolv.conf {
max_concurrent 1000
}
cache 30
loop
reload
Expand Down
Loading