Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notebooks-operations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Commits
3c5080e6
Commit
3c5080e6
authored
11 months ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Update upgrade process due to new k8s repositories
parent
cfbc1986
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cesnet-central/playbooks/k8s.yaml
+2
-2
2 additions, 2 deletions
cesnet-central/playbooks/k8s.yaml
cesnet-central/playbooks/upgrade.yaml
+11
-1
11 additions, 1 deletion
cesnet-central/playbooks/upgrade.yaml
with
13 additions
and
3 deletions
cesnet-central/playbooks/k8s.yaml
+
2
−
2
View file @
3c5080e6
...
...
@@ -123,7 +123,7 @@
# kube_nvidia_device_plugin_version: "v0.12.2"
# kube_nvidia_driver_version: "515" # "525"
kube_nvidia_support
:
true
kube_version
:
1.2
8.8
kube_version
:
1.2
9.4
kube_network
:
'
none'
# custom network installation
kube_install_helm
:
true
kube_install_helm_version
:
'
v3.13.0'
...
...
@@ -186,7 +186,7 @@
# must be IPv4 address or hostname
kube_server
:
"
{{
hostvars[groups['master'][0]].kube_server
|
default(groups['master'][0])
}}"
kube_type_of_node
:
wn
kube_version
:
1.2
8.8
kube_version
:
1.2
9.4
kubelet_extra_args
:
'
--volume-stats-agg-period
0'
tasks
:
-
name
:
Overlay2 mountpoint workaround to docker.service unit
...
...
This diff is collapsed.
Click to expand it.
cesnet-central/playbooks/upgrade.yaml
+
11
−
1
View file @
3c5080e6
...
...
@@ -6,13 +6,18 @@
#
# Usage example:
#
# VERSION=1.2
8.8
# VERSION=1.2
9.4
# ansible-playbook playbooks/upgrade.yaml --extra-vars "version=$VERSION"
#
-
name
:
Upgrade and hold kubeadm package
hosts
:
master,ingress,nfs,worker,gpu
become
:
true
tasks
:
-
name
:
New k8s repository
copy
:
dest
:
/etc/apt/sources.list.d/pkgs_k8s_io_core_stable_v1_29_deb.list
content
:
deb https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /
mode
:
0644
-
name
:
Upgrade packages
apt
:
name
:
kubeadm={{ version }}*
...
...
@@ -65,6 +70,11 @@
systemd
:
state
:
restarted
name
:
kubelet
-
name
:
Cleanup old k8s repository
file
:
path
:
/etc/apt/sources.list.d/pkgs_k8s_io_core_stable_v1_29_deb.list
state
:
absent
# pinned by grycap.kubernetes
# - name: Upgrade networking
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment