GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lascuolaopensource/sos-cluster: Installare un Bare Metal Cluster Kubernetes per testing e produzione senza utilizzare nessun servizio di terze parti. Riflessioni, guide e work in progress.

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
charmed-k8s-9nodi_HA_VIP.yaml
charmed-k8s-9nodi_HA_VIP.yaml
 
 
charmed-kubernetes-9-nodes-16-04-2021.yaml
charmed-kubernetes-9-nodes-16-04-2021.yaml
 
 
kubernetes-juju-test-19-03-21.yaml
kubernetes-juju-test-19-03-21.yaml
 
 

Repository files navigation

SOS-CLUSTER

Installare un Bare Metal Cluster Kubernetes per testing e produzione senza utilizzare nessun servizio di terze parti (load balancer, storage, etc.).

Riflessioni, guide e work in progress.

In progress

  • HA storage

To do

  • Load balancing dei worker (Metallb)
  • Certificate issuer (Cert-manager)
  • CI/CD

Juju

Generare chiave ssh sul primo nodo:

ssh-keygen

Copiare la chiave ssh su tutti gli altri nodi:

ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]
ssh-copy-id [email protected]

Installare juju:

sudo snap install juju --classic

Creare il cloud:

juju add-cloud

Fare il bootstrap del controller:

juju bootstrap cloud_name manual_controller_name

Aggiungere le macchine al cloud creato:

juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]
juju add-machine ssh:[email protected]

Deploy Charmed Kubernetes

Vanilla Bundle

Fare il deploy di Charmed Kubernetes sul nodo dove è installato juju:

juju deploy charmed-kubernetes --map-machines=existing

Custom bundle

Scaricare il modello custom sul nodo dove è installato juju e fare il deploy:

wget https://raw.githubusercontent.com/lascuolaopensource/pala-cluster/main/charmed-k8s-9nodi-180421.yaml
juju deploy ./*.yaml --map-machines=existing

Scalare master e kubeapi loadbalancer (solo per Vanilla Bundle)

juju add-unit -n 1 kubernetes-master --to 4
juju add-unit -n 2 kubeapi-load-balancer --to 4,5

Deploy HAcluster (solo per Vanilla Bundle)

juju deploy hacluster --series focal
juju config kubeapi-load-balancer ha-cluster-vip="192.168.1.10 192.168.1.11"
juju relate kubeapi-load-balancer hacluster

Teardown

Rimuovere cloud, modelli e controller (sperimentale)

juju destroy-model "MODEL_NAME"
juju destroy-contoller "CONTROLLER_NAME"
juju remove-cloud "CLOUD_NAME"
sudo /sbin/remove-juju-services
rm ~/.kube/config
rm /home/ubuntu/*

Links

GUI Per Juju

Vault come EasyRSA

Loadbalancer

Riflessioni su HA

HACluster

MetalLB

Storage

Rook-Ceph

Rook site

Rook + Ceph - Survival guide

CephFS

Ceph Cluster Configuration

NFS

HA NFS Storage

External NFS Storage Provider

Hosted NFS

NFS example

StorageOS

StorageOS su Juju

StorageOS Host Managing

Possibile Guida StorageOS

Juju Storage

Juju Storage Pools and Kubernetes

Juju Storage Read Write Many

About

Installare un Bare Metal Cluster Kubernetes per testing e produzione senza utilizzare nessun servizio di terze parti. Riflessioni, guide e work in progress.

Topics

bare-metalcephfscert-managerclusterhaclusterjujukubernetesmetalmetallbnfsrookstorageos

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.