Google Kubernetes Engine uses a non-standard FlexVolume directory which
is not documented. This change updates the FlexVolume documentation to
describe how to configure FlexVolume for use on Google Kubernetes
Engine.
Signed-off-by: Ayaz Ahmed Khan <ayaz@ayaz.pk>
Now the golang version 1.1 has been released by the official
website[1], so let's add support for this version, else we'll
get below build error when using golang 1.11:
```
build/makelib/golang.mk:103: *** unsupported go version. Please
make install one of the following supported version: '1.7|1.8|1.9|1.10'. Stop.
```
[1] https://golang.org/dl/
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
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>
While creating a PVC, if the operator dies between successfully creating a rbd
image and associating it with a PV, that PVC will never be completed. A
restarted operator will also fail to complete the task as the requested rbd
image already exists. With the assumption that a PVC UID will always be unique,
this patch will try to use the existing volume and complete the PVC request.
Resolves: #2072
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
This is a temporary patch to help us figure out what is causing the random
issues on concurrent builds and re-using an instance.
This patch also makes the log names concise and consistent across all versions.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
To help with code readability, include daemons from `pkg/daemon/ceph`
as `<dmn>daemon "github.com/rook/rook/pkg/daemon/ceph/<dmn>`. This will
make it easier to understand code lines without needing to scroll up to
check the includes, as there are mon/mds/mgr/osd/rgw packages for
daemons as well as operator and cmd.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
Corrected the cluster namespace in some examples to rook-ceph
Updated PodSecurityPolicy hostNetwork ports
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Create a cephconfig module in Ceph's daemon pkg source, and refactor the
config and keyring generation that exists in the mon package into the
new cephconfig package. The config/keyring generation code is used by
most all daemons and not just mon, so a new package is a more
appropriate place for this.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
We maybe roundup the size to the next `MB` boundary in some cases
when creating the volume, thus we need to make sure the size of
the PV generated is consistent with the actual one.
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
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>