This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ceph status | |
cluster: | |
id: bee70a10-dce1-4725-9285-b9ec5d0c3a5e | |
health: HEALTH_OK | |
services: | |
mon: 3 daemons, quorum c,b,a | |
mgr: a(active) | |
osd: 3 osds: 3 up, 3 in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: ceph.rook.io/v1 | |
kind: CephBlockPool | |
metadata: | |
name: replicapool | |
namespace: rook-ceph | |
spec: | |
failureDomain: host | |
replicated: | |
size: 3 | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cluster/examples/kubernetes/ceph/cluster.yaml b/cluster/examples/kubernetes/ceph/cluster.yaml | |
index 48cfeeb..0c91c48 100755 | |
--- a/cluster/examples/kubernetes/ceph/cluster.yaml | |
+++ b/cluster/examples/kubernetes/ceph/cluster.yaml | |
@@ -227,7 +227,7 @@ spec: | |
storage: # cluster level storage configuration and selection | |
useAllNodes: true | |
useAllDevices: false | |
- deviceFilter: | |
+ deviceFilter: "^sdc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cluster/examples/kubernetes/ceph/operator.yaml b/cluster/examples/kubernetes/ceph/operator.yaml | |
index 73cde2e..33f45c8 100755 | |
--- a/cluster/examples/kubernetes/ceph/operator.yaml | |
+++ b/cluster/examples/kubernetes/ceph/operator.yaml | |
@@ -431,8 +431,8 @@ spec: | |
# - name: AGENT_MOUNT_SECURITY_MODE | |
# value: "Any" | |
# Set the path where the Rook agent can find the flex volumes | |
- # - name: FLEXVOLUME_DIR_PATH | |
- # value: "<PathToFlexVolumes>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gluster volume info vol_efb3b15529aa9aba889d7900f0ce9849 | |
Volume Name: vol_efb3b15529aa9aba889d7900f0ce9849 | |
Type: Replicate | |
Volume ID: 96fde36b-e389-4dbe-887b-baae32789436 | |
Status: Started | |
Snapshot Count: 0 | |
Number of Bricks: 1 x 3 = 3 | |
Transport-type: tcp | |
Bricks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: glusterfs-efb3b155 | |
spec: | |
accessModes: | |
- ReadWriteMany | |
storageClassName: "" | |
resources: | |
requests: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@aks-agentpool-20273348-0:~# export HEKETI_CLI_SERVER=http://10.0.1.69:8080 | |
root@aks-agentpool-20273348-0:~# heketi-cli volume create --size=10 --persistent-volume --persistent-volume-endpoint=heketi-storage-endpoints | kubectl create -f - | |
persistentvolume/glusterfs-efb3b155 created | |
root@aks-agentpool-20273348-0:~# kubectl get pv | |
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
glusterfs-efb3b155 10Gi RWX Retain Available 19s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@aks-agentpool-20273348-0:~# kubectl get po -o wide | |
NAME READY STATUS RESTARTS IP NODE NOMINATED NODE | |
glusterfs-fgc8f 1/1 Running 0 10.0.1.35 aks-agentpool-20273348-1 | |
glusterfs-g8ht6 1/1 Running 0 10.0.1.4 aks-agentpool-20273348-0 | |
glusterfs-wpzzp 1/1 Running 0 10.0.1.66 aks-agentpool-20273348-2 | |
heketi-86f98754c-n8qfb 1/1 Running 0 10.0.1.69 aks-agentpool-20273348-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@aks-agentpool-20273348-0:~# kubectl get storageclass -o yaml portworx-sc | |
apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
creationTimestamp: 2019-01-28T21:10:28Z | |
name: portworx-sc | |
resourceVersion: "55332" | |
selfLink: /apis/storage.k8s.io/v1/storageclasses/portworx-sc | |
uid: 23455e40-2341-11e9-bfcb-a23b1ec87092 | |
parameters: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ b/deploy/kube-templates/glusterfs-daemonset.yaml | |
@@ -67,7 +67,7 @@ spec: | |
mountPath: "/etc/ssl" | |
readOnly: true | |
- name: kernel-modules | |
- mountPath: "/usr/lib/modules" | |
+ mountPath: "/lib/modules" | |
readOnly: true | |
securityContext: | |
capabilities: {} |