Jack Lauritsen
ea3e0fca26
fix for enabling tls on rados gateway s3 api:
...
this mounts secret as volume to rgw container
this adds certificate path to init container
Signed-off-by: Jack Lauritsen <jack.lauritsen@teradata.com >
2019-01-14 18:47:25 -08:00
Travis Nielsen
84ad5afb6b
Merge pull request #2466 from allen13/selinux-relabel-env
...
Add ENV flag for selinux labeling
2019-01-10 10:38:52 -07:00
Alexander Trost
de8e14149a
Merge pull request #2419 from sabbot/master
...
EdgeFS: need host check/prepare functionality fix
2019-01-10 18:17:15 +01:00
Timothy Allen
ae46f31882
Add ENV flag for selinux labeling
...
Signed-off-by: Timothy Allen <kex.allen13@gmail.com >
2019-01-10 15:05:39 +00:00
Noah Watkins
e9a9509313
ceph: support dashboard ssl on/off
...
fixes : #2433
Signed-off-by: Noah Watkins <noahwatkins@gmail.com >
2019-01-09 12:08:51 -08:00
Noah Watkins
e66ad7463b
ceph: support custom dashboard port
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com >
2019-01-09 12:08:49 -08:00
Anton Skriptsov
7c7f307f2e
EdgeFS: need host check/prepare functionality
...
Signed-off-by: Anton Skriptsov <anton.skriptsov@nexenta.com >
2019-01-09 08:50:24 -08:00
Alexander Trost
a5f5049b71
Added objectstore label to Minio objects
...
This allows multiple object stores to be in the same namespace and
to be selected separately from each other.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2019-01-09 12:08:57 +01:00
Alexander Trost
9a336c87bc
Added readiness and liveness probes to Minio
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2019-01-08 17:53:54 +01:00
Alexander Trost
d82fa581b7
Renamed MinioController to Controller as the package is named minio
...
Update Minio Object Store objects if they already exist.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2019-01-08 17:53:49 +01:00
Travis Nielsen
2da22001d6
Merge pull request #2414 from travisn/retry-dashboard-cert
...
Retry creating self signed cert if module is not ready
2018-12-21 07:43:42 -07:00
travisn
b770b80a88
mgr: retry creating self signed cert if module is not ready
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-20 16:07:00 -07:00
travisn
261aae3f46
mgr: set the server_addr for the dashboard and prometheus modules
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-20 12:08:37 -07:00
Alexander Trost
a73ffc4ac0
Merge pull request #2393 from galexrt/ec_block_pool_parms_fix
...
Fix name of ec data pool StorageClass parameter
2018-12-18 02:37:44 +01:00
Alexander Trost
cdf73a2d15
Fix name of ec data pool StorageClass parameter
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-17 23:29:57 +01:00
Alexander Trost
328a37e402
Merge pull request #2385 from dyusupov/master
...
Introduced new configurational option "sync"
2018-12-17 22:52:10 +01:00
Travis Nielsen
e8d7b03ddb
Merge pull request #2382 from travisn/detect-image-name-on-upgrade
...
Properly detect the ceph image version during upgrade
2018-12-17 07:48:13 -07:00
Dmitry Yusupov
3700009108
Introduced new configurational option "sync"
...
New configurational option enables flexible choice for write I/O
to allow configurable trades between performance, reliability and consistency.
This also fixes bcache mis-configuration.
Fixes #2367
Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com >
2018-12-16 11:39:59 -08:00
travisn
620c61b8b5
ceph: properly detect the image version during upgrade
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-13 22:08:53 -08:00
Dmitry Yusupov
4f0f902daf
Edgefs fix 2359
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2018-12-11 05:26:55 -08:00
Alexander Trost
3375db8729
object: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
b406def5f9
file: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
51a6de0151
mgr: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
e0322a9175
mon: get port from endpoint
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:44 -07:00
Travis Nielsen
81d64d17af
Merge pull request #2348 from travisn/upgrade-rgw-deployment
...
Update the rgw deployment or daemonset when the pod spec changes
2018-12-07 16:50:50 -07:00
Alexander Trost
6dc508b704
Merge pull request #2318 from galexrt/minio_arbitary_pvcs
...
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
2018-12-08 00:20:07 +01:00
travisn
304d6445f2
rgw: update the deployment or daemonset when the pod spec changes
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 15:11:55 -07:00
Jared Watts
99379308ba
Merge pull request #2325 from yanniszark/cassandra-operator-scale-down-implementation
...
[cassandra operator] Scale Down Implementation
2018-12-07 12:28:06 -08:00
travisn
fe4a645844
osd: detect existing osds not to be passed to ceph-volume
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 10:50:37 -07:00
travisn
1389cc56db
ceph: enable multiple osds per device
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 09:29:15 -07:00
Yannis Zarkadas
eca28a9469
cassandra: scale down unit tests
...
Unit tests for the scale down action.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-07 13:46:46 +02:00
Yannis Zarkadas
a9178ccb59
cassandra: sidecar-side implementation of scale down
...
The sidecar now has a control loop, which watches its ClusterIP
Service for the `cassandra.rook.io/decommissioned` label.
If it finds it, then it decommissions and updates the label to
value "true".
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-07 13:46:46 +02:00
Yannis Zarkadas
f5a41e9a7c
cassandra: controller-side implementation of scale down
...
Code handling the scale down on the side of the controller.
Also, some new util functions.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-07 13:46:45 +02:00
Yannis Zarkadas
9d69894386
cassandra: add label - intent for decommission
...
We add a new label to our constants, called
`cassandra.rook.io/decommissioned`. When it is present on a
member's ClusterIP Service with the value "false", it expresses
the intent of the controller to decommission the member. When it is
present with the value "true", it means that decommission has completed.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-07 13:46:45 +02:00
Alexander Trost
5fc8584422
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
...
selection field.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 12:20:49 +01:00
travisn
e6572e41e6
enable ceph-volume to provision and start filestore osds
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
travisn
45c53dd5b2
detect if ceph-volume is supported and allow legacy osds to be started
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
travisn
78b8011226
osds: prototype provisioning with ceph-volume
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
Travis Nielsen
2d883e5489
Merge pull request #2339 from SUSE/ceph-mon-update-band-aid
...
Ceph mon: temp change to support #2331 in v0.9
2018-12-06 19:59:08 -07:00
Blaine Gardner
6f68b2d536
Ceph mon: temp change to support #2331 in v0.9
...
In order to have Ceph updates working for Rook release v0.9, apply a
simple, temporary solution to update the mons without extraneous mon
updates.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-12-06 16:37:42 -07:00
Dmitry Yusupov
a29477f122
Edgefs operator and CRDs
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2018-12-05 23:05:42 -08:00
travisn
a29b876337
rename ceph v1 crds with the ceph prefix
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 16:23:55 -07:00
travisn
62f7e5d6ea
ceph: update docs, code, and tests to use v1 crd types
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 14:33:11 -07:00
Yannis Zarkadas
8440d52e7d
cassandra: unit tests
...
Added unit tests for the controller and sidecar packages.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-05 12:48:25 +02:00
Yannis Zarkadas
367d485407
cassandra: sidecar implementation
...
Implementation of the cassandra sidecar logic.
This sidecar helps us inject our custom values during startup
and provides HTTP liveness and readiness checks.
In the future it will also be used for:
- Shutting Down / Decommissioning a cassandra instance
- Backups
- Restores
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-05 12:47:26 +02:00
Yannis Zarkadas
c8c38d8584
cassandra: controller implementation
...
Control logic for the cassandra controller.
The controller exists in a separate StatefulSet, watches
Kubernetes Objects for changes and acts on those changes to
achieve the desired state.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-05 12:46:33 +02:00
Yannis Zarkadas
0ccc04cccd
cassandra: controller scaffolding, image build and manifests
...
Scaffolding of a Kubernetes controller using the informer-workqueue
pattern.
Dockerfiles and Makefiles to build the cassandra operator image.
Manifests to deploy the Cassandra operator and create a Cluster CRD.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-05 12:44:29 +02:00
Alexander Trost
18b2da5fc5
Merge pull request #2216 from galexrt/fix_2164
...
Allow specifying custom Ceph user and secret name for mounting
2018-12-04 23:54:27 +01:00
Travis Nielsen
2af0be2cec
Merge pull request #2317 from jtlayton/filesystem
...
Allow filesystem specifications without pools
2018-12-04 15:14:59 -07:00
Alexander Trost
ac19f85fbb
Allow specifying custom Ceph user and secret name for mounting
...
Introduce mount security mode for basic multi tenancy
Fixes #2164 .
This adds three new parameters/options to StorageClass/flexvolume entry:
* `mountUser`
* `mountSecret`
* `mountSecretNamespace`
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-04 20:17:15 +01:00