Commit Graph
414 Commits
Author SHA1 Message Date
travisn b2a0dc77fa automatically detect the major version of the Ceph image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn b02cd099f1 mons: allow scaling up or down the size of quorum
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-17 11:00:05 -06:00
travisn 01dc5656f3 reduce frequency of device discovery
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-17 09:56:47 -06:00
Blaine Gardner ce803fbf9d Ceph mds/file: Set up config in init container
Progress toward issue #2003.
Includes design from design doc PR #1578

Use init containers to create configuration for Ceph mgrs. There is only
one init container in this design. The init container calls the Rook
binary to create Ceph config files which are then shared with the mds
daemon main container.

Once this init is run, the main mds daemon is run. Leaving room to use
the Ceph-versioned image in the future, call `ceph-mds --foreground ...`
to run the Ceph mds.

The refactor to using an init container also necessitated refactoring
the mdses replicaset implementation to a deployment-per-pod
implementation due to a chicken-egg problem. With a single container (in
the before times) the Rook binary was able to call the ceph-mds daemon
with an id generated from the pod name. Since the pod name is not known
before runtime, and the id is one of the few params that must be
specified to Ceph daemons on run, it is necessary to know the id
beforehand; thus the move to a deployment architecture following the
likes of the mon and mgr daemons.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-10-05 19:01:12 -06:00
travisn efadffda82 docs: update usage of ceph toolbox
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 16:42:55 -06:00
travisn 9416fa8c65 update client-go to 1.11.3
Signed-off-by: travisn <tnielsen@redhat.com>
2018-09-21 15:39:29 -06:00
Blaine Gardner ca71b7a311 Ceph mgr: Set up config in init container
Progress toward issue #2003.
Includes design from design doc PR #1578

Use init containers to create configuration for Ceph mgrs. There is only
1 init container in this design:
 1. Using the Rook image, call the Rook binary to create Ceph config
files shared with the mgr daemgr container.

Once this init is run, the main mgr daemgr is run. Leaving room to use
the Ceph-versioned image in the future, call `ceph-mgr --foreground ...`
to run the Ceph mgr.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-09-21 13:11:08 -06:00
Travis Nielsen 8afeaf110e Merge pull request #2095 from SUSE/ceph-mon-decouple-rook-ceph-versions-w-init-container
Ceph mon: initialize mon config in init container
2018-09-17 11:19:00 -06:00
Ratnadeep Debnath 7ae2149961 Add support for storageclass' reclaimPolicy when creating PV.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-09-14 10:05:34 +05:30
Blaine Gardner 655692e845 Ceph mon: Set up config in init containers
Progress toward issue #2003.
Includes design from design doc PR #1578

Use init containers to create configuration for Ceph mons. There are 3
init containers in this design:
 1. Using the Rook image, call the Rook binary to create Ceph config
files ultimately stored in a k8s EmptyDir which is shared between all
containers in a mon pod.
 2. Leaving room to use the Ceph-versioned image in the future, call
`monmaptool` to generate the monmap, stored in a shared config dir.
 3. Leaving room to use the Ceph-versioned image in the future, call
`ceph-mon --mkfs ...` to set up the mon filesystem on the host's disk.

Once this init is run, the main mon daemon is run. Leaving room to use
the Ceph-versioned image in the future, call `ceph-mon --foreground ...`
to run the Ceph mon.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-09-12 17:56:08 -06:00
travisn f840e3574e mon: start a deployment instead of replicaset
Signed-off-by: travisn <tnielsen@redhat.com>
2018-09-01 00:12:42 -06:00
travisn 5f01178e83 mon: set names based on chars instead of integers
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-30 22:18:53 -06:00
Ratnadeep Debnath 5dfd012c77 Updated docs about setting k8s 1.8 as the min reqd version.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-08-28 21:10:03 +05:30
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
Alexander Trost ef42a3ecf7 Merge pull request #1959 from galexrt/fix_1733
Add dataPool parameter to StorageClass
2018-08-22 11:03:15 +02:00
Jared Watts dd948b155a build: remove support for quay.io
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-08-17 14:03:55 -07:00
Alexander Trost 2080330539 Add dataPool parameter to StorageClass
This change allows block storage to use a given Ceph pool for it's data.

Fixes #1733

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-17 16:28:08 +02:00
travisn 1d928ecd36 osd: init container to initialize config at startup
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-31 14:39:53 -06:00
travisn 27ba0cb3c5 ceph: update to 12.2.7
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-24 15:15:59 -06:00
Alexander Trost 565fc714ed Added fstype: xfs as default in the examples
This brings Rook in line with the Ceph recommendations.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-24 11:19:23 +02:00
Jared Watts 76280b9bff docs: clear pending release notes and update upgrade guide to 0.8
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-19 16:48:15 -07:00
Jared Watts c4400ca6b1 docs: update docs, guides and examples for ceph.rook.io/v1beta1 types
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:58 -07:00
Alexander Trost 7f609c17ec helm: Added nodeSelector to rook-ceph operator chart
Closes #1571.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-09 18:24:48 +02:00
travisn daa182d93e doc: upgrade instructions and release notes for one osd per pod
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:08:31 -06:00
travisn 6502cda3b4 refactor cluster roles for minimal rbac access
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-25 12:57:25 -06:00
Alexander Trost 90644bb00b Make markdown table look better
Removed unnecessary whitespaces/new lines in scripts/docs

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-24 18:39:07 +02:00
Jared Watts 4d169ddbfe docs: fix minio service name and include minio in pending release notes
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-22 13:02:30 -07:00
Jared Watts 48b879e0ad Merge pull request #1769 from ucloudlab/ipv6-support
support ipv6
2018-06-19 20:33:12 -07:00
Jared Watts db5b3bda62 cockroachdb: Documentation, user guides, examples
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-18 19:19:15 -07:00
Alexander Trost c313899070 Updated upgrade path for monCount
Default to 3 mons when no `mon.count` is given.
The documentation and upgrade page has been updated accordingly to reflect the new
default.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-16 02:03:08 +02:00
Zhang Miaolei 100e80250f support ipv6 host-port pair
deprecate NetworkInfo.PublicAddrIPv4, use NetworkInfo.PublicAddr instead
deprecate NetworkInfo.ClusterAddrIPv4, use NetworkInfo.ClusterAddr instead
deprecate command flag public-ipv4, use public-ip instead
deprecate command flag private-ipv4, use private-ip instead
change ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
change ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP

Signed-off-by: Zhang Miaolei <zmlcc@outlook.com>
2018-06-15 14:26:42 +08:00
travisn 756c00fc4b mgr: enable the ceph dashboard
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-07 15:08:58 -07:00
Alexander Trost 239bb98f36 build: Make codegen sed usage compatible with GNU and BSD
Fix issues with sed usage with GNU and BSD sed.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-06 19:17:30 +02:00
Blaine Gardner 2a872bf1cd images: Use ceph daemon-base as rook base
Instead of adding Ceph packages to Rook's base image, use
ceph-container's base image, which has Ceph packages preinstalled. Rook
now benefits from the testing the ceph-container project does, and the
scope of the Rook project no longer has to maintain builds of base
images containing Ceph packages.

The only ARM builds of ceph-container are CentOS, and as switching to
CentOS was already a thought, that is easily done at the same time as
this change.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-05-23 15:37:31 -06:00
Jared Watts e48e951d1c Rename toolbox to make it Ceph specific, short names for CRDs, upgrade guide tweaks
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-22 12:31:38 -07:00
travisn 221dc3ec8b docs: User docs/guides updates for multiple storage type support
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-18 14:29:01 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
Illya Chekrygin c27bfc3bb4 Define CRD's as a part of the operator provisionning and remove it from operator init phase
Remove empty try/catch (erroneous commit)
Update Teardown documentation
Update PendingReleaseNotes with Operator resource changes

Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2018-04-05 09:54:22 -07:00
Jared Watts 6a2e20aaa8 include stderr output in CommandError.Error() output
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-03-28 13:26:00 -07:00
travisn 0c04c91a03 docs: add more instructions to collect logs and run ceph tools
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-23 14:23:30 -07:00
travisn 16dfbb1258 tools: copy ceph config to default folder
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-23 14:21:44 -07:00
travisn 63af27c269 docs: adjust for cluster utilization without the api and rookctl
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-16 08:32:12 -07:00
Jared Watts 902d178a33 docs: clear pending release notes
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-02-21 16:12:55 -08:00
Jared Watts 202650f6f5 Add and remove storage nodes 2018-01-24 14:31:20 -08:00
Travis Nielsen 4531987311 pools: allow setting crush root on the pool 2018-01-23 11:55:52 -08:00
Travis Nielsen 6b8a5e025b helm: add tolerationKey and add missing properties in docs 2018-01-19 16:53:33 -08:00
Bassam Tabbara ec6ddcf048 Merge pull request #1362 from bassam/pr-simplify-ceph-build
remove ceph builds from rook and use upstream ceph instead
2018-01-12 13:18:50 -08:00
Travis Nielsen e874bfa751 cluster: set owner reference on child resources 2018-01-10 10:48:17 -08:00
Bassam Tabbara 07463fa0dd images: disable armhf image builds
While ceph can build fine on armhf it is not a tested configuration
today nor are debian packages for ceph published. Also ceph requires
more horsepower than is typically available on armhf machines.

We are dropping armhf support for now. arm64 is still supported.
2018-01-08 21:06:11 -08:00
Alexander Trost 0e42343e73 Create http-metrics service for mgrs
Enable prometheus module on mgr with pkg/ceph/client.MgrEnableModule()

Added force option to MgrEnableModule()
2018-01-04 08:47:27 +01:00