Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
k8s-install
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
k8s-install
Commits
6237f13b
Commit
6237f13b
authored
Jan 21, 2025
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
downgrade k8s to 1.28.1
parent
ed40cbd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
k8s-install.sh
k8s-install.sh
+8
-5
No files found.
k8s-install.sh
View file @
6237f13b
...
...
@@ -65,8 +65,11 @@ EOF
install_cri
(){
sysctl
--system
echo
'deb http://deb.debian.org/debian buster-backports main'
>
/etc/apt/sources.list.d/backports.list
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
0E98404D386FA1D9
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
6ED0E7B82643E131
#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
gpg
--export
871920D1991BC93C |
sudo tee
/etc/apt/trusted.gpg.d/ubuntu.lafibre.info.gpg
eval
"DEBIAN_FRONTEND=noninteractive apt update -y"
eval
"DEBIAN_FRONTEND=noninteractive apt install -y -t buster-backports libseccomp2 || apt update -y -t buster-backports libseccomp2"
...
...
@@ -82,13 +85,13 @@ mkdir -p /usr/share/keyrings
#eval "curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-archive-keyring.gpg"
eval
"curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:/cri-o:/
${
VERSION
}
/
${
OS
}
/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-crio-
${
VERSION
}
-archive-keyring.gpg"
#
eval "curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:/cri-o:/${VERSION}/${OS}/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-crio-${VERSION}-archive-keyring.gpg"
eval
"curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:/stable/
${
OS
}
/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-archive-keyring.gpg"
# Update the package list and install CRI-O
#
eval "curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-crio-archive-keyring.gpg"
eval
"curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/
$VERSION
/
$OS
/Release.key | gpg --dearmor -o /usr/share/keyrings/libcontainers-crio-archive-keyring.gpg"
# install cri-o
...
...
@@ -153,7 +156,7 @@ networking:
podSubnet: "172.16.0.1/16"
dnsDomain: "cluster.local"
scheduler: {}
kubernetesVersion: "v1.28.
4
"
kubernetesVersion: "v1.28.
1
"
controlPlaneEndpoint: "dk8scp1:6443"
apiServer:
extraArgs:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment