Travis Nielsen
1593e52933
Merge pull request #4138 from ashleyw/master
...
edgefs: Add NET_ADMIN to corosync container capabilities
2019-10-30 16:44:48 -06:00
Ashley Williams
05aba33636
fix: add NET_ADMIN to corosync container capabilities
...
Resolves https://github.com/Nexenta/edgefs/issues/393
Signed-off-by: Ashley Williams <hi@ashleyw.co.uk >
2019-10-25 16:37:34 +01:00
Anton Skriptsov
d75a281d6e
edgefs: FailureDomain-SysRepCount validation
...
Additional failureDomain,sysRepCount validation
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-10-25 06:27:35 -07:00
Anton Skriptsov
56f3f9471b
Edgefs: Rtlfs devices should be more then 3 on all nodes fix
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-10-17 03:17:53 -07:00
Sergey Kaydalov
07ba73bb8f
EdgeFS: support for rtkvs disk engine and Samsung KVSSD
...
Signed-off-by: Sergey Kaydalov <kayserg@gmail.com >
2019-09-26 18:02:32 +03:00
Dmitry Yusupov
2282e956d9
support for mdpsize
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-09-05 18:13:56 -07:00
Anton Skriptsov
c0fe6af712
Initial v1
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-08-28 15:18:38 -07:00
giovanism
4974be4b20
rook: Move network util functions to k8sutil
...
rook: Remove NetworkSelector type alias
rook: Add error return value for multus funcs
Signed-off-by: giovanism <giovanism@outlook.co.id >
2019-08-26 16:17:04 +07:00
giovanism
ea14b555d9
edgefs: Replace NetworkSpec with rookv1alpha2 version
...
edgefs: Change IsHost and IsMultus network func signature
edgefs: Reorder mgr annotations declaration
edgefs: Update cluster CRD docs and example for NetworkSpec
Signed-off-by: giovanism <giovanism@outlook.co.id >
2019-08-26 16:17:03 +07:00
Dmitry Yusupov
8412bf6b3c
edgefs: Initial prototype
...
fix ApplyMultus
apply multus to target template spec too
Modify NetworkSpec for new proposal
Prevent duplicated multus network annotations
Rename Network "Interfaces" with "Selectors"
Signed-off-by: giovanism <giovanism@outlook.co.id >
2019-08-26 14:45:16 +07:00
Dmitry Yusupov
bfe867e16c
Merge pull request #3628 from sabbot/useHostLocalTime
...
Add useHostLocalTime option
2019-08-15 14:33:03 -07:00
Anton Skriptsov
e99df703c5
Add useHostLocalTime option
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-08-14 11:26:42 -07:00
Guangming Wang
adf975c3c2
edgefs: cleanup pod.go comment, fix typos
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io >
2019-08-13 21:00:54 +08:00
Dmitry Yusupov
1f8bd1f431
Merge pull request #3571 from ethan-daocloud/patch-2
...
logging message typo fix
2019-08-06 10:44:36 -07:00
sabbot
11160a8720
Add validation and extra columns to EfgeFS CRDs
...
Signed-off-by: sabbot <sabbotagge@gmail.com >
2019-08-06 19:26:00 +03:00
ethan
524c508f3b
logging message typo fix
...
Signed-off-by: ethan <guangming.wang@daocloud.io >
2019-08-05 22:13:33 +08:00
Travis Nielsen
d50c9ef3bf
Merge pull request #3530 from renekalff/fix-k8s-ownerreferences
...
Ceph (and EdgeFS?) cluster is being deleted after K8S cluster restart or api/etcd issues
2019-07-26 18:33:16 -06:00
René Kalff
25780878eb
Make the ownerreference name match the cluster name referenced
...
In order to cleanup all cluster resources in case of cluster deletion
all resources have an ownerreference to the cluster crd instance.
Because the name of the reference was incorrectly set to the name of the
namespace the cluster resources can unintentionally be deleted by the
kubernetes garbage collector after a kubernetes cluster anomaly.
Signed-off-by: René Kalff <r.kalff@intermax.nl >
2019-07-26 18:33:38 +02:00
Nick McKinney
d9aec6bad6
Allow control over K8s service type via CRD
...
Signed-off-by: Nick McKinney <nmckinney@breakpoint-labs.com >
2019-07-25 15:49:18 -04:00
travisn
3142c3e5cb
simplify CR status updates for ceph and edgefs
...
The status messages on the CRs had much duplicated code
for logging an error if the status update failed.
Now any failures around the status update are logged
consistently within the updateClusterStatus method
so there is no need to return an error and duplicate
the error handling everywhere.
Signed-off-by: travisn <tnielsen@redhat.com >
2019-07-24 12:52:30 -06:00
Anton Skriptsov
3952874ae1
Add mgr pod liveness probe
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-07-23 11:25:19 -07:00
Dmitry Yusupov
a3d02fb6ea
make getModifiedRookImagePath be generic and use it for isgw too
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-07-22 10:07:22 -07:00
Anton Skriptsov
aea098b8b5
Add/remove nodes via EdgeFS cluster' CRD
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-07-17 09:09:52 -07:00
Sébastien Han
9824bd2ff9
ceph: improve upgrade procedure
...
When a cluster is updated with a different image version, this triggers
a serialized restart of all the pods. Prior to this commit, no safety
check were performed and rook was hoping for the best outcome.
Now before doing restarting a daemon we check it can be restarted. Once
it's restarted we also check we can pursue with the rest of the
platform. For instance, with monitors we check that they are in quorum,
for OSD we check that PGs are clean and for MDS we make sure they are
all active.
Fixes: https://github.com/rook/rook/issues/2889
Signed-off-by: Sébastien Han <seb@redhat.com >
2019-07-17 00:37:43 +02:00
Dmitry Yusupov
1f1f58ac1e
Merge pull request #3375 from dyusupov/master
...
support for rook Device.FullPath
2019-07-05 07:40:47 -07:00
Dmitry Yusupov
5ffe2f037c
support for rook Device.FullPath
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-07-03 23:06:58 -07:00
Travis Nielsen
72afc709aa
Merge pull request #3353 from sabbot/handle-crd-update
...
EdgeFS Rolling Upgrade support
2019-07-02 10:43:24 -06:00
Anton Skriptsov
8d0866b20e
upgrade service's crds
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-07-01 13:19:03 -07:00
travisn
9d7474467c
set the fully qualified apiVersion for OwnerReferences
...
OwnerReferences are now created with the fully qualified apiVersion
such that the references will work properly on OpenShift.
Signed-off-by: travisn <tnielsen@redhat.com >
2019-07-01 06:55:08 -06:00
travisn
8226d577f6
remove obsolete check for setting the resource ownerreferences
...
The check for whether to set the OwnerReferences is no longer
necessary. When passing the correct value to the apiVersion,
the OwnerReferences can be successfully set for OpenShift.
Signed-off-by: travisn <tnielsen@redhat.com >
2019-07-01 06:55:07 -06:00
xiaorui.zou
b3cd67f871
Fix onDelete func panic
...
onDelete obj in some case will return DeletedFinalStateUnknown type, we need use assert.
Signed-off-by: xiaorui.zou <xiaorui.zou@gmail.com >
2019-06-13 09:31:53 +08:00
Dmitry Yusupov
41d92cee3e
enable proper values for metadataOnly property
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-06-06 21:12:04 -07:00
Anton Skriptsov
a0edbf627f
Edgefs:3181 prevents multiple targets deployment on the same node
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-05-15 11:45:59 -07:00
Travis Nielsen
0dacfd4a0c
Merge pull request #3093 from jarrpa/node-labels
...
Read node labels for provider topology
2019-05-14 14:07:17 -06:00
Jose A. Rivera
f3a1512983
Read node labels for provider topology
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com >
2019-05-14 13:18:00 -05:00
Anton Skriptsov
57d4bb28b4
Edgefs: Add s3 proxy container to S3X pod
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-05-14 09:25:57 -07:00
Anton Skriptsov
3d88547068
Add K8S_NAMESPACE env to EdgeFS containers
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-05-02 09:07:28 -07:00
Anton Skriptsov
1db2da74a7
Add container count for restore option
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-05-01 13:14:56 -07:00
Dmitry Yusupov
9dd2e422bb
address regression in ISGW dynamicFetch configuring
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-04-26 19:01:23 -07:00
Anton Skriptsov
e4f19e3863
Target nodes containers
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-04-24 16:35:34 -07:00
Anton Skriptsov
c659f2d6c7
Fix isgw formatting
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-04-24 16:35:07 -07:00
Anton Skriptsov
04ad41bdcd
v1beta Edgefs operator and CRDs
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-04-24 16:35:04 -07:00
Anton Skriptsov
5746c03446
v1beta1 api's and codegenerated files
...
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com >
2019-04-24 16:32:47 -07:00
travisn
bc87b440fb
update to the k8s 1.14 client libraries
...
Signed-off-by: travisn <tnielsen@redhat.com >
2019-04-18 07:51:41 -06:00
Alexander Trost
0c6eb7aa3d
crds: Set annotations pods, deployments and so on
...
Allow the user to set annotations in the CRDs of the following operators which will then be set on
the resulting Pods (Deployments, StatefulSets and so on).
Operators:
* Cassandra
* Ceph
* CockroachDB
* EdgeFS
* Minio
* NFS
The Annotations related structures have been added to the
rook.io/v1alpha2 pkg.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2019-04-16 20:47:05 +02:00
Alexander Trost
8bc26d9096
k8sclient: Update all operators to use apps/v1
...
All usages of k8s go client are now also using the versioned `AppsV1() `
call for the client.
Updated MySQL and Wordpress, and Kube Registy examples to use apps/v1
Deployments.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2019-04-12 09:25:42 +02:00
Dmitry Yusupov
e1f61219b4
support for configurable trlog settings
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-04-09 15:20:18 -07:00
Dmitry Yusupov
9ad68500fa
support for configurable resource profiles
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-03-29 10:33:13 -07:00
Dmitry Yusupov
06b6be3866
add selector for isgw service
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-03-21 16:32:32 -07:00
Dmitry Yusupov
d91c0560cf
added serviceAccountName to swift and others
...
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com >
2019-03-21 16:32:32 -07:00