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
76c9d9ce
Commit
76c9d9ce
authored
Apr 10, 2024
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
c355b93a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
k8s-install.sh
k8s-install.sh
+5
-5
No files found.
k8s-install.sh
View file @
76c9d9ce
...
...
@@ -12,7 +12,7 @@ check_root(){
}
update_system
(){
eval
"apt update && apt upgrade -
-force-yes
"
eval
"apt update && apt upgrade -
y
"
}
...
...
@@ -67,7 +67,7 @@ echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
0E98404D386FA1D9
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
6ED0E7B82643E131
eval
"DEBIAN_FRONTEND=noninteractive apt update -y"
eval
"DEBIAN_FRONTEND=noninteractive apt install -
-force-yess -t buster-backports libseccomp2 || apt update --force-yes
-t buster-backports libseccomp2"
eval
"DEBIAN_FRONTEND=noninteractive apt install -
y -t buster-backports libseccomp2 || apt update -y
-t buster-backports libseccomp2"
export
OS
=
xUbuntu_22.04
...
...
@@ -86,8 +86,8 @@ eval "curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontai
# install cri-o
eval
"DEBIAN_FRONTEND=noninteractive apt-get update -
-force-yes
"
eval
"DEBIAN_FRONTEND=noninteractive apt-get install cri-o cri-o-runc -
-force-yes
"
eval
"DEBIAN_FRONTEND=noninteractive apt-get update -
y
"
eval
"DEBIAN_FRONTEND=noninteractive apt-get install cri-o cri-o-runc -
y
"
eval
"systemctl daemon-reload"
eval
"systemctl enable crio"
eval
"systemctl start crio"
...
...
@@ -98,7 +98,7 @@ echo "Complete install CRI-O"
install_k8s
(){
# install k8s
export
KUBE_VERSION
=
v1.28
eval
"apt-get update -
-force-yes
"
eval
"apt-get update -
y
"
# apt-transport-https may be a dummy package; if so, you can skip that package
eval
"apt-get install -y apt-transport-https ca-certificates curl gpg"
...
...
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