File tree Expand file tree Collapse file tree 7 files changed +72
-3
lines changed Expand file tree Collapse file tree 7 files changed +72
-3
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # etcd
4+ curl -LJO https://github.com/tcet-opensource/tcet-linux-applications/raw/main/x86_64/etcd-3.5.8-1-x86_64.pkg.tar.zst
5+
6+ # Install the package
7+ sudo pacman -U etcd-3.5.8-1-x86_64.pkg.tar.zst --noconfirm
8+ # Clean up the package file
9+ sudo rm etcd-3.5.8-1-x86_64.pkg.tar.zst
10+
11+ # Rest of dependencies of kubernetes
12+ sudo pacman -S helm --noconfirm
13+ sudo pacman -S kubectl --noconfirm
14+ sudo pacman -S containerd --noconfirm
15+ yes | sudo pacman -S kubelet
16+ sudo pacman -S kubeadm --noconfirm
17+ sudo pacman -S kube-apiserver --noconfirm
18+ sudo pacman -S kube-proxy --noconfirm
19+ sudo pacman -S kube-controller-manager --noconfirm
20+ sudo pacman -S kube-scheduler --noconfirm
21+
22+ # Enabling and starting container and kubelet service
23+ sudo systemctl enable containerd.service
24+ sudo systemctl start containerd.service
25+ sudo systemctl enable kubelet.service
26+ sudo systemctl start kubelet.service
27+
28+ sudo kubeadm init
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Docker Application Container Engine
3+ Documentation =https://docs.docker.com
4+ After =network-online.target docker.socket firewalld.service
5+ Wants =docker.socket
6+
7+ [Service]
8+ Type =idle
9+ ExecStart =/usr/bin/dockerd -H fd:// --containerd =/run/containerd/containerd.sock
10+ ExecReload =/bin/kill -s HUP $MAINPID
11+ LimitNOFILE =infinity
12+ LimitNPROC =infinity
13+ LimitCORE =infinity
14+ TasksMax =infinity
15+ TimeoutStartSec =0
16+ Delegate =yes
17+ KillMode =process
18+ Restart =on-failure
19+ StartLimitBurst =3
20+ StartLimitInterval =60s
21+
22+ [Install]
23+ WantedBy =multi-user.target
24+
Original file line number Diff line number Diff line change 1+ ../docker.service
Original file line number Diff line number Diff line change 1- /usr/lib/systemd/system /vboxservice.service
1+ .. /vboxservice.service
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =VirtualBox Guest Additions service
3+ After =network.target
4+
5+ [Service]
6+ ExecStart =/usr/bin/VBoxService --foreground
7+ ExecStop =/usr/bin/VBoxService --pidfile /var/run/vboxadd-service.pid --no-start
8+
9+ [Install]
10+ WantedBy =multi-user.target
11+
Original file line number Diff line number Diff line change 33chmod 750 /etc/sudoers.d
44chmod 750 /etc/polkit-1/rules.d
55chgrp polkitd /etc/polkit-1/rules.d
6- chmod -v 750 /root
6+ chmod -v 750 /root/
7+ # chmod +x /home/$USER/kubernetes.sh
78
89rm -vf /etc/sudoers.d/g_wheel
910rm -vf /etc/sddm.conf.d/autologin.conf
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ udftools
115115usbmuxd
116116usbutils
117117vim
118- #virtualbox-guest-utils-nox
118+ #virtualbox-guest-utils
119119#vpnc
120120wireless-regdb
121121wireless_tools
@@ -218,3 +218,7 @@ xdotool
218218
219219# Xed as Default text editor
220220xed
221+
222+ # Docker
223+ #gnome-terminal
224+ docker
You can’t perform that action at this time.
0 commit comments