Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tips:ceph-on-k0s [2024/10/31 08:32] – created igor | tips:ceph-on-k0s [2024/10/31 08:46] (current) – igor | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== ceph come storage backend ==== | ==== ceph come storage backend ==== | ||
- | Su ceph creare un pool per kubernetes (che ho chiamato appunto kubernetes) | + | Su ceph creare un pool per kubernetes (che ho chiamato appunto |
< | < | ||
ubuntu@joint-mongoose: | ubuntu@joint-mongoose: | ||
ubuntu@joint-mongoose: | ubuntu@joint-mongoose: | ||
- | # kubelet working directory, | ||
- | kubeletDir: / | ||
</ | </ | ||
Editare lo yaml, aggiungendo le informazioni necessarie | Editare lo yaml, aggiungendo le informazioni necessarie | ||
- | etc... ripiglia il default e fai un diff | + | |
+ | < | ||
+ | csiConfig: | ||
+ | - clusterID: " | ||
+ | monitors: | ||
+ | - "10.44.105.1: | ||
+ | - " | ||
+ | - " | ||
+ | ... | ||
+ | ... | ||
+ | storageClass: | ||
+ | clusterID: 5e8d094e-XXX-YYYY-ZZZZ-1ef33ae5ad04 | ||
+ | pool: kubernetes | ||
+ | ... | ||
+ | ... | ||
+ | secret: | ||
+ | userID: kubernetes | ||
+ | userKey: AQA4s....jDPdA== | ||
+ | ... | ||
+ | ... | ||
+ | kubeletDir: / | ||
+ | </ | ||
Installare il chart: | Installare il chart: | ||
Line 27: | Line 46: | ||
https:// | https:// | ||
</ | </ | ||
+ | |||
+ | Se tutto è andato a buon fine si dovrebbe vedere qualcosa di analogo: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ubuntu@joint-mongoose: | ||
+ | NAME | ||
+ | pod/ | ||
+ | pod/ | ||
+ | |||
+ | NAME | ||
+ | daemonset.apps/ | ||
+ | |||
+ | NAME | ||
+ | deployment.apps/ | ||
+ | |||
+ | NAME | ||
+ | replicaset.apps/ | ||
+ | </ | ||
+ |