Commit Graph
103 Commits
Author SHA1 Message Date
rohan47 d4a29735ff Updated ceph image from v14.2.0-20190319 to v14.2.1-20190430
ceph image v14.2.0-20190319 has 3 high vulnerabilities so
updated it to v14.2.1-20190430
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-05-10 20:11:10 +05:30
Ashish Ranjan dac028ab24 enhance(nfs): remove one to one mapping for nfs provisioner
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit removes one to one mapping of NFS provisioner and adds a dedicated provisioner for nfs.
2019-04-26 20:52:30 +05:30
Ashish Ranjan 23efbf658b enhance(NFS): adds dynamic provisoning for nfs
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit adds dynamic provisioning for nfs
2019-04-26 04:25:49 +05:30
Alexander Trost 9e7e1e23d1 minio: Update to RELEASE.2019-04-23T23-50-36Z
This seems to fix issues with Minio which have just now appeared out of
nowhere.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-04-24 20:58:07 +02:00
John Mulligan f6c15bfb5a ceph csi: include required templates in image
Include the mandatory template files in the rook ceph image
so that the user-driven configuration for CSI and flex do not
need to differ in this aspect.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-04-10 17:53:28 -04:00
Ken Dreyer a92714b348 images: remove comment about ceph mimic image
Commit 91cc62676d changed our base ceph
version from Mimic to Nautilus.

Update the comment in the Dockerfile to reflect this change.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2019-04-10 11:55:43 -06:00
travisn 91cc62676d Base the rook ceph operator image on the Nautilus release image
To target a Nautilus image with msgr2 and configure the nfs ganesha feature
for Ceph, we need to update the base image to Nautilus.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
John Mulligan 0fd73d82d9 images: support specifying custom 'docker' command
In the image makefiles use the "DOCKERCMD" variable in place of
calls to docker command line tool. This allows custom paths
to docker or other docker-compatible tools to be used for builds.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-25 18:49:11 -05:00
Michael Goff 3764ecf547 build: Update node to 10.x in cross container
Signed-off-by: Michael Goff <thephred@gmail.com>
2019-02-13 14:15:05 -08:00
travisn 8ea61fdc66 ceph: use base arm64 image for arm
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-31 07:44:59 -08:00
Dmitry Yusupov 4f958162e1 Edgefs Image
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2018-12-05 23:05:42 -08: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
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
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 c43b95ef83 base the operator docker image on ceph/ceph
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:48:45 -06:00
Fan, Shang Xiang 3d7c650492 build: comply with docker best practice.
Signed-off-by: Fan, Shang Xiang <sxfan@alauda.io>
2018-10-16 13:10:02 +08:00
Jeff Layton 522949e55f nfs: rebase nfs image onto fedora 28
f26 has been EOL'ed for a while now, so we shouldn't be relying on it.

Update to fedora 28. This necessitates installing libnsl2 for ganesha,
which is not installed in the base image these days.

Long term, we should probably find some way to keep this in sync with
the Fedora release cadence, or rebase onto something more stable like
Centos.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-10-09 10:10:50 -04: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
Ganesh Maharaj Mahalingam 92f91ab156 golang 1.11 support
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-09-12 10:53:53 -07:00
Dennis Chen e73fae7cd4 Fix Rook NFS image cross-build issue on AArch64
We need to pull the base image for arm64, not for amd64.
This PR add prefix `arm64v8` of `fedora:26` to pull
the image for arm64.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2018-09-12 14:01:50 +08:00
Jared Watts d751dca2ee Merge pull request #2085 from arm64b/bump-fedora-to-multi-arch
Fix rook nfs docker image build failure on AArch64
2018-09-06 23:43:21 -07:00
Dennis Chen aab0f043d6 Fix rook nfs docker image build failure on AArch64
The original base image `fedora:25` doesn't support multi-arch,
so we get below error message with `docker pull fedora:25`:
```
25: Pulling from library/fedora
no matching manifest for unknown in the manifest list entries
```

This PR bumps the fedora base image to `:26` which is multi-arch
version, to address the build issue.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2018-09-04 10:56:12 +08: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
Bassam Tabbara e2fd1eb8e6 Merge pull request #2054 from SUSE/ceph-makefiles-skip-image-save
Image build/release: do not save image for builds; save only for release
2018-08-23 10:09:19 -07:00
Blaine Gardner 60b4a1e4d3 Image make: Move save image step to release builds
The image save step in the image build makefiles takes half or more of
the time of builds, and this step is not necessary for development
builds. Move this functionality to the `build/release/Makefile` so that
images are saved during release builds but not during dev builds. This
will allow developers to iterate more quickly on their builds.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-08-23 09:49:56 -06:00
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
rohan47 8d85b6f4a8 nfs: rook/nfs image build
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 10:34:40 +00:00
Bassam Tabbara 3741254612 fix perms on docker.sock
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-08-02 23:51:22 -07:00
travisn 27ba0cb3c5 ceph: update to 12.2.7
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-24 15:15:59 -06:00
Blaine Gardner 8b218dfbe7 make: Remove unused IMAGES from image Makefiles
Many of the `rook/images/<image>/` directory Makefiles defined a
variable called `IMAGES`, which was unused and causing some developer
confusion with the feature adding the ability to specify which backend
images to build. Remove these unused instances.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-20 15:49:46 -06:00
Blaine Gardner 483163fc21 make: Allow building select images
Raise the scope of the `IMAGES` config variable in the
`build/release/Makefile` to the `build/makelib/common.mk` file, and use
the `IMAGES` variable in the `images/Makefile` to allow users to build
only select images.

Examples of new use:
  make IMAGES='ceph ceph-toolbox' build
  make -C build/release IMAGES='ceph ceph-toolbox' publish

The 'images/image.mk' clean.build target was changed to use
`CLEAN_IMAGES` instead of `IMAGES`, as it was conflicting with use of
the parameter in image builds.

Added IMAGES option to top-level make's help text. The text for this
option exceeded 80 lines in the `Makefile` itself, so the help text was
refactored to eliminate `    @echo '<text>'`. The `Makefile` text should
now match exactly what is output to the user including line length.

Added IMAGES option to `INSTALL.md` file's "Build" section and also
moved some text around and added a few extra points of clarification
there to hopefully improve readability, especially for first-time
readers.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-20 15:49:46 -06:00
Bassam Tabbara 1289bec186 fix arm64 image builds
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-07-13 14:44:10 -07: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 a80f05cf51 cockroachdb: rook/cockroachdb image build
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-18 17:09:45 -07: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
Jared Watts 3a2a2d2021 build: rook/ceph image build
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-18 14:25:39 -07:00
Dennis Chen 872717d879 Add native build support on AArch64
Remove the `amd64` hardcode and the 'amd64 only build support' block.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2018-04-19 15:38:23 +08:00
Bassam Tabbara d7bdec5635 build: upgrade to golang 1.10.1
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-03-31 23:44:25 -07:00
travisn 9e4baf4c96 (ichekrygin) Remove the rook api service from production code
Remove controller api component and api daemon
Remove rookctl and  endpoints from Docker image

Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-16 08:30:54 -07:00
Jared Watts c35754ece8 Add golang 1.10 to supported list, minor updates to dev flow instructions
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-02-26 14:41:28 -08:00
Blaine Gardner 286ea82ee4 Update arm builds to more specific variants
There is a deprecation warning in the `armhf` org on DockerHub.

> The armhf organization is deprecated in favor of the more-specific
arm32v7 and arm32v6 organizations, as per
https://github.com/docker-library/official-images#architectures-other-than-amd64.
Please adjust your usages accordingly.

Required changes to Rook:
`armhf` -> `arm32v7`
`aarch64` -> `arm64v8`

Install documentation has been updated as well.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-02-02 15:49:16 -07:00
Sébastien Han c591036682 images: bump tiny's version
We now use the latest version of Tini.
Also the version is now configurable.

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-01-29 14:41:28 +01:00
Bassam Tabbara 3487cac3e1 images: switch to ubuntu xenial LTS
zesty is longer supported and now that we are not building ceph from source xenial is more appropriate given that its LTS.
2018-01-17 17:22:39 -08:00
Bassam Tabbara 2b818eefe4 images: use ceph deb packages instead of building from source
Ceph is now installed from deb packages instead of being built from
source. This results in larger images sizes (roughly 60MB increase
compressed) but the maintenance and build burden is reduced. Future
versions of ceph will hopefully optimize for image size.

All support for building native code in containers has been removed,
as it is no longer needed. When we add other backends we will assume
that they can be installed using apt-get too.
2018-01-08 21:06:44 -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
Alexander Trost 8f2fdb2c32 Add condition for nproc when one CPU is available 2017-12-30 14:07:49 +01:00
Bassam Tabbara a8846a9209 update ceph to 12.2.2 2017-12-01 17:06:18 -08:00
Alexander Trost 971a552d2b toolbox: Fallback to rook-api dns name when service env vars are not set 2017-11-29 18:04:58 +01:00