Commit Graph
106 Commits
Author SHA1 Message Date
travisn ea03f58048 rbac: rename service account rook-ceph-cluster to rook-ceph-osd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-30 13:39:58 -07:00
travisn 16c2a56591 add ceph mgr roles to the tests and helm chart
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-30 13:39:58 -07:00
John Spray 66ac7de303 Grant ceph-mgr readonly access to nodes
We can attempt to get knowledge of nodes from Rook's
configmaps, but going direct is useful for usability in the Ceph UI: users
should be able to distinguish between "node doesn't exist"
and "node exists but Rook is unaware of it".

Signed-off-by: John Spray <john.spray@redhat.com>
2018-11-30 10:50:21 -07:00
John Spray cff953696c Set service account on ceph-mgr pod
This is to enable the `rook` ceph-mgr module to drive
the Rook and k8s APIs, exposing functionality via
its own CLI and GUI.

The service account gets access to two different roles:
one for the items that are within the cluster's namespace,
and one for reading configmaps in the rook-ceph-system namespace,
which is needed for reporting available devices.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-11-30 10:50:20 -07:00
travisn fdd64bb95a enable rbd mirror daemon in the cluster crd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-28 08:29:57 -07:00
Ben Zieglmeier 6d04bbf430 ceph: Add CRD for Object Store User
Add the ability to create and manage object store users with CRDs

Signed-off-by: Ben Zieglmeier <benjamin.zieglmeier@target.com>
2018-11-21 15:15:05 -06:00
Jared Watts 2274f78683 Fixes for running Ceph, CockroachDB, and Minio demos
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-11-08 10:52:49 -08:00
Andrey Laguta c247e8c0f7 Add urlPrefix setting for ceph dashboard
Signed-off-by: Andrey Laguta <13280256+laevilgenius@users.noreply.github.com>
2018-11-06 02:58:47 +02:00
travisn 6cfd2ee11a port 7000 for the luminous dashboard and 8443 for mimic and above
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:37 -06:00
travisn 906add05ce consume the ceph images from the ceph/ceph repo
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:37 -06:00
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 39117a7a0b mgr: configure a self-signed cert and admin user for the dashboard
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn 272f0e9a39 document the new cluster crd attributes for versioning
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:49:36 -06:00
travisn 77171fa2e2 operator: crd updates to support decoupled ceph version
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:48:45 -06:00
Travis Nielsen 224330764c Merge pull request #2190 from johnae/support-alternate-libmodules-dir
Support alternate libmodules dir
2018-10-17 15:22:06 -06:00
John Axel Eriksson dd7860fb8e Support additonal agent mounts and alternate lib/modules host path.
The background is that there are at least two distributions with very
different host fs layouts. Those would be NixOS and GNU Guix.

For example, on NixOS, /lib/modules does not exist, it can instead
be found at /run/current-system/kernel-modules/lib/modules where
/run/current-system/kernel-modules is a symlink into /nix/store.

Within the modules directory, again on NixOS, there are more links
into the /nix store.

So to support alternate host fs layouts it is now possible to specify
the lib/modules host path and in addition specify extra mounts.

Signed-off-by: John Axel Eriksson <john@insane.se>
2018-10-17 21:03:44 +02:00
travisn 01dc5656f3 reduce frequency of device discovery
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-17 09:56:47 -06:00
solidnerd 98d527fadc Fix quickstart link in kubernetes examples
Signed-off-by: solidnerd <niclas@mietz.io>
2018-10-07 15:50:22 +02:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Alexander Trost b83595e5cb Added missing RBAC in quickstart Cluster definition
Corrected the cluster namespace in some examples to rook-ceph

Updated PodSecurityPolicy hostNetwork ports

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-09-06 13:27:30 +02:00
travisn 2e1796608f specify correct flex drivers in scc
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-24 13:26:58 -06:00
Karol Chrapek 227186d1e3 Update namespace and tools name for rook-ceph-tools
Signed-off-by: Karol Chrapek <kaarol@it-flow.pl>
2018-08-24 12:51:37 +02:00
Karol Chrapek ae2ac846c7 Change rook-tools deployment
Signed-off-by: Karol Chrapek <kaarol@it-flow.pl>
2018-08-24 12:51:01 +02:00
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
Alexander Trost 304eafa07d Ceph: Improve erasure coded filesystem docs
Replace `rook-operator.yaml` mentions with `operator.yaml` as it is
named right now.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-19 13:23:23 +02: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
Bogdan Luca cfe344d142 [docs] Set "hostNetwork: true" for toolbox
Signed-off-by: Bogdan Luca <luca.bogdan@gmail.com>
2018-08-14 23:14:39 +03:00
David Lewis 87730f2a2d Update clusterName to clusterNamespace in example
Signed-off-by: David Lewis <highwayoflife@gmail.com>
2018-08-03 13:47:41 -07:00
Travis Nielsen 5e4fba2aec Merge pull request #1952 from SUSE/simple-linting
Fix spellcheck and trailing space/newline issues
2018-07-27 14:02:00 -06:00
Blaine Gardner fe5fb394c7 Fix spellcheck and trailing space/newline issues
Fix some basic spellcheck errors. Also remove trailing spaces and make
sure files have a newline (my editor does automatically).

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-26 11:36:09 -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
Antoine Aflalo afae0ea968 Fix typo in documentation
Signed-off-by: Antoine Aflalo <belphemur@users.noreply.github.com>
2018-07-17 09:26:09 -04: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
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -06:00
travisn 89cfccd5a2 enable rook to run on openshift
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 11:20:43 -06:00
travisn 77cd878360 set default service account for the osd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-25 12:57:25 -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 869173718e build: Removed unnecessary whitespaces/new lines in scripts/docs
cluster: Removed unnecessary whitespaces/new lines in scripts/docs

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-24 18:39:37 +02:00
Tony Allen 7442f8713b Implement Minio operator w/ tests.
Signed-off-by: Tony Allen <tony@upbound.io>
2018-06-21 16:41:30 -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
travisn 756c00fc4b mgr: enable the ceph dashboard
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-07 15:08:58 -07:00
Travis Nielsen a0b8fb7cea Merge pull request #1763 from galexrt/1732
Document discover DaemonSet toleration key
2018-06-07 13:54:50 -07:00
Travis Nielsen b8c726347e Merge pull request #1774 from galexrt/cephfs-doc-update
Clarify that path must exist for filesystem mount to succeed
2018-06-07 09:35:07 -07:00
Alexander Trost e6369aec26 Clarify that path must exist for filesystem mount to succeed
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-07 15:55:49 +02:00
Alexander Trost 7d65b3ee5c helm: Added DISCOVER_TOLERATION_KEY and DISCOVER_TOLERATION values
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-07 10:30:00 +02:00
Alexander Trost edfa135560 ceph mon: Only run one mon on a node
This introduces a MonSpec to the Ceph Cluster CRD which contains settings for
mons, current options are the count and if more than one mon is allowed
to run per node.

Fixes #1386

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-02 13:36:30 +02:00
Ricardo Correa dcb20f0d30 monitoring: update namespace and cluster
Match the namespace and cluster in the new CRDs

Signed-off-by: Ricardo Correa <r.correa.r@gmail.com>
2018-05-30 12:44:33 +02: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
Jared Watts eaff7dabde examples: Ceph cluster examples with multiple storage type support
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-18 14:31:54 -07:00