There is generally not a need to launch a specific version
of k8s, so just let minikube pick the latest version
to launch.
Signed-off-by: travisn <tnielsen@redhat.com>
The ceph image isn't needed every time the rook image is updated.
Thus, make it optional to copy the ceph image into the cluster.
Pushing the ceph image can be done by uncommenting in the script
when needed.
Signed-off-by: travisn <tnielsen@redhat.com>
Default to virtualbox driver. `minikube config get vm-driver` does not
work when default is used.
Fixes#3208.
Signed-off-by: Kaushal M <kshlmster@gmail.com>
This fixs that the `git describe` is run with the `-C REPO_PATH` flag to
correctly get the latest tag of the k8s-vagrant-multi-node repo and not
the Rook repository.
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
The minikube script now uses the proper disk path (vda) when minikube is
configured to run with the libvirt driver.
Signed-off-by: Kaushal M <kshlmster@gmail.com>
To simplify the deployment of Rook, both the operator and cluster crd are now created in the
same namespace in the examples. By default the operator will only manage a cluster crd
in the same namespace instead of watching for clusters in all namespaces. To manage a cluster
in another namespace, the roles in latter half of operator-common.yaml need to point to the new
namespace and the operator env var ROOK_CURRENT_NAMESPACE_ONLY should be set to false.
Signed-off-by: travisn <tnielsen@redhat.com>
The command `kubectl delete -n rook-ceph pool replicapool` used to
work, but currently returns the error `error: the server doesn't
have a resource type "pool"`. The actual resource type is
`cephblockpools`. The resource type `cluster` was also recently
changed to `cephcluster`.
Since the function commands end with `|| true`, the errors are
silently masked and the resources are not deleted.
This PR adds delete commands for `cephblockpools` and `cephcluster`,
so that regardless of whether you're testing old or new versions
of Rook the delete commands will work.
Signed-off-by: Earl C. Ruby III <earlruby@users.noreply.github.com>
- 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>
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>
Recent change to support multiple backends changed the docker image name
but missed the change in the test script. This patch addresses that
issue.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>