fix ceph
This commit is contained in:
parent
e737d92ebe
commit
ac26c533e1
6 changed files with 22 additions and 3 deletions
|
@ -1,5 +1,11 @@
|
|||
root=$(git rev-parse --show-toplevel)/talos
|
||||
export TALOSCONFIG=${root}/talosconfig
|
||||
|
||||
talosconfig=${root}/talosconfig
|
||||
if [ -f "${talosconfig}" ]; then
|
||||
export TALOSCONFIG="${talosconfig}"
|
||||
fi
|
||||
|
||||
|
||||
kubeconfig=${root}/.kubeconfig
|
||||
if [ -f "${kubeconfig}" ]; then
|
||||
export KUBECONFIG="${kubeconfig}"
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
cluster:
|
||||
allowSchedulingOnControlPlanes: true
|
||||
machine:
|
||||
install:
|
||||
disk: /dev/sde
|
||||
|
|
|
@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- operators
|
||||
- external-account-rbac
|
||||
- rook
|
||||
|
|
|
@ -6,3 +6,4 @@ resources:
|
|||
- bundle.yaml
|
||||
- cluster.yaml
|
||||
- toolbox.yaml
|
||||
- mgr-pool.yaml
|
||||
|
|
|
@ -5,3 +5,12 @@ metadata:
|
|||
spec:
|
||||
bucketName: test-bucket
|
||||
storageClassName: rook-ceph-bucket
|
||||
---
|
||||
apiVersion: objectbucket.io/v1alpha1
|
||||
kind: ObjectBucketClaim
|
||||
metadata:
|
||||
name: gomods
|
||||
spec:
|
||||
bucketName: gomods
|
||||
storageClassName: rook-ceph-bucket
|
||||
versioningEnabled: true
|
||||
|
|
|
@ -7,7 +7,7 @@ spec:
|
|||
metadataPool:
|
||||
failureDomain: osd
|
||||
replicated:
|
||||
size: 3
|
||||
size: 2
|
||||
dataPool:
|
||||
failureDomain: osd
|
||||
erasureCoded:
|
||||
|
|
Loading…
Add table
Reference in a new issue