Skip to content

Instantly share code, notes, and snippets.

@smothiki
Last active November 10, 2017 03:48
Show Gist options
  • Save smothiki/429fa5e02f2659f1f400 to your computer and use it in GitHub Desktop.
Save smothiki/429fa5e02f2659f1f400 to your computer and use it in GitHub Desktop.
Cpeh on Kubernetes

Ceph replication controllers

kubectl get rc
CONTROLLER   CONTAINER(S)   IMAGE(S)                                              SELECTOR                           REPLICAS
ceph-mds     ceph-mds       192.168.59.103:5000/deis/store-metadata:git-3016328   name=ceph-mds,type=cmd,version=1   3
ceph-mon     ceph-mon       192.168.59.103:5000/deis/store-monitor:git-27dcc99    name=ceph-mon,type=cmd,version=1   3
ceph-osd     ceph-osd       192.168.59.103:5000/deis/store-daemon:git-dc53ff2     name=ceph-osd,type=cmd,version=1   3

Ceph health

ceph -s
    cluster d0b1c3ae-6e81-4501-b8f5-0c2c5eb020bf
     health HEALTH_OK
     monmap e3: 3 mons at {ceph-mon-4nee1=10.244.93.2:6789/0,ceph-mon-e819q=10.244.95.2:6789/0,ceph-mon-y7av3=10.244.97.2:6789/0}
            election epoch 6, quorum 0,1,2 ceph-mon-4nee1,ceph-mon-e819q,ceph-mon-y7av3
     mdsmap e6: 1/1/1 up {0=ceph-mds-6aw2n=up:active}, 2 up:standby
     osdmap e13: 3 osds: 3 up, 3 in
      pgmap v72: 192 pgs, 3 pools, 1962 bytes data, 20 objects
            17330 MB used, 27974 MB / 47831 MB avail
                 192 active+clean```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment