Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ceph_cluster
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flg_masters
PA
ceph_cluster
Commits
375e315c
Commit
375e315c
authored
1 month ago
by
GrowLow
Browse files
Options
Downloads
Patches
Plain Diff
Docs: Notes des commandes à effectuer pour installation k3s
parent
55fa808c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/links.txt
+1
-0
1 addition, 0 deletions
docs/links.txt
docs/setup_commandes.txt
+29
-0
29 additions, 0 deletions
docs/setup_commandes.txt
with
30 additions
and
0 deletions
docs/links.txt
+
1
−
0
View file @
375e315c
...
...
@@ -15,6 +15,7 @@ https://www.youtube.com/watch?v=WVsv3Ca_Y70
https://k3s.io/
https://k0sproject.io/
https://www.nops.io/blog/k0s-vs-k3s-vs-k8s/
https://github.com/k3s-io/k3s/issues/2067
-- HA K3s
https://docs.k3s.io/architecture#high-availability-k3s
...
...
This diff is collapsed.
Click to expand it.
docs/setup_commandes.txt
0 → 100644
+
29
−
0
View file @
375e315c
Connexion:
- nslookup <hostname_raspberry>.local ou ping <hostname_raspberry>.local -4
- ssh <user>@<ip_raspberry>
Avant Installation:
- sudo raspi-config -> activer SSH et renommer hostname
- sudo sed -i '$ s/$/ cgroup_memory=1 cgroup_enable=memory/' /boot/firmware/cmdline.txt
Installation:
Installer en sudo sinon des erreurs de permissions d'accès pour de nombreux fichiers ...
Premier nœud:
- sudo su
- curl -sfL https://get.k3s.io | sh -s - --cluster-init
Prochains nœuds:
- sudo su
- curl -sfL https://get.k3s.io | sh -s - --server https://<IP_MASTER_PREMIER_NOEUD>:6443 --token "<TOKEN>"
Vérification:
- kubectl get nodes -o wide
- kubectl get pods -A
- kubectl get svc
- sudo systemctl status k3s
Désinstallation:
- sudo k3s-uninstall.sh
- sudo rm -rf /var/lib/rancher/k3s
- shutdown now
\ No newline at end of file
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