build: update docs and example manifests for 1.7 beta release

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2021-07-23 12:30:41 -06:00
1 parent 3b251a450e
commit 7674fb8a17
19 files changed
+24 -24

No files matched your search

@@ -43,7 +43,7 @@ jobs:
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='cassandra' VERSION=0 build
docker images
docker tag $(docker images|awk '/build-/ {print $1}') rook/cassandra:master
docker tag $(docker images|awk '/build-/ {print $1}') rook/cassandra:v1.7.0-beta.0
- name: TestCassandraSuite
run: |
@@ -43,7 +43,7 @@ jobs:
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='nfs' VERSION=0 build
docker images
docker tag $(docker images|awk '/build-/ {print $1}') rook/nfs:master
docker tag $(docker images|awk '/build-/ {print $1}') rook/nfs:v1.7.0-beta.0
- name: install nfs-common
run: |
@@ -301,7 +301,7 @@ jobs:
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='cassandra' VERSION=0 build
docker images
docker tag $(docker images|awk '/build-/ {print $1}') rook/cassandra:master
docker tag $(docker images|awk '/build-/ {print $1}') rook/cassandra:v1.7.0-beta.0
- name: TestCassandraSuite
run: |
@@ -352,7 +352,7 @@ jobs:
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='nfs' VERSION=0 build
docker images
docker tag $(docker images|awk '/build-/ {print $1}') rook/nfs:master
docker tag $(docker images|awk '/build-/ {print $1}') rook/nfs:v1.7.0-beta.0
- name: install nfs-common
run: |
+1 -1
View File
@@ -21,7 +21,7 @@ To make sure you have a Kubernetes cluster that is ready for `Rook`, you can [fo
First deploy the Rook Cassandra Operator using the following commands:
```console
$ git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
$ git clone --single-branch --branch v1.7.0-beta.0 https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/cassandra
kubectl apply -f crds.yaml
kubectl apply -f operator.yaml
+2 -2
View File
@@ -38,7 +38,7 @@ With the Prometheus operator running, we can create a service monitor that will
From the root of your locally cloned Rook repo, go the monitoring directory:
```console
$ git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
$ git clone --single-branch --branch v1.7.0-beta.0 https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/ceph/monitoring
```
@@ -196,4 +196,4 @@ spec:
labels:
monitoring:
prometheus: k8s
[...]
[...]
+1 -1
View File
@@ -50,7 +50,7 @@ If the `FSTYPE` field is not empty, there is a filesystem on top of the correspo
If you're feeling lucky, a simple Rook cluster can be created with the following kubectl commands and [example yaml files](https://github.com/rook/rook/blob/{{ branchName }}/cluster/examples/kubernetes/ceph). For the more detailed install, skip to the next section to [deploy the Rook operator](#deploy-the-rook-operator).
```console
$ git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
$ git clone --single-branch --branch v1.7.0-beta.0 https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/ceph
kubectl create -f crds.yaml -f common.yaml -f operator.yaml
kubectl create -f cluster.yaml
+3 -3
View File
@@ -43,7 +43,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: rook-ceph-tools
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
command: ["/tini"]
args: ["-g", "--", "/usr/local/bin/toolbox.sh"]
imagePullPolicy: IfNotPresent
@@ -133,7 +133,7 @@ spec:
spec:
initContainers:
- name: config-init
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
command: ["/usr/local/bin/toolbox.sh"]
args: ["--skip-watch"]
imagePullPolicy: IfNotPresent
@@ -155,7 +155,7 @@ spec:
mountPath: /etc/rook
containers:
- name: script
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
volumeMounts:
- mountPath: /etc/ceph
name: ceph-config
+1 -1
View File
@@ -279,7 +279,7 @@ needed by the Operator. Also update the Custom Resource Definitions (CRDs).
First get the latest common resources manifests that contain the latest changes for Rook v1.6.
```sh
git clone --single-branch --depth=1 --branch v1.6.0 https://github.com/rook/rook.git
git clone --single-branch --depth=1 --branch v1.7.0-beta.0 https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/ceph
```
+1 -1
View File
@@ -23,7 +23,7 @@ You can read further about the details and limitations of these volumes in the [
First deploy the Rook NFS operator using the following commands:
```console
$ git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
$ git clone --single-branch --branch v1.7.0-beta.0 https://github.com/rook/rook.git
cd rook/cluster/examples/kubernetes/nfs
kubectl create -f crds.yaml
kubectl create -f operator.yaml
@@ -109,7 +109,7 @@ spec:
serviceAccountName: rook-cassandra-operator
containers:
- name: rook-cassandra-operator
image: rook/cassandra:master
image: rook/cassandra:v1.7.0-beta.0
imagePullPolicy: "Always"
args: ["cassandra", "operator"]
env:
@@ -18,7 +18,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: rook-direct-mount
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
command: ["/tini"]
args: ["-g", "--", "/usr/local/bin/toolbox.sh"]
imagePullPolicy: IfNotPresent
@@ -439,7 +439,7 @@ spec:
serviceAccountName: rook-ceph-system
containers:
- name: rook-ceph-operator
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
args: ["ceph", "operator"]
volumeMounts:
- mountPath: /var/lib/rook
@@ -362,7 +362,7 @@ spec:
serviceAccountName: rook-ceph-system
containers:
- name: rook-ceph-operator
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
args: ["ceph", "operator"]
volumeMounts:
- mountPath: /var/lib/rook
@@ -25,7 +25,7 @@ spec:
serviceAccountName: rook-ceph-purge-osd
containers:
- name: osd-removal
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
# TODO: Insert the OSD ID in the last parameter that is to be removed
# The OSD IDs are a comma-separated list. For example: "0" or "0,2".
args: ["ceph", "osd", "remove", "--osd-ids", "<OSD-IDs>"]
@@ -10,7 +10,7 @@ spec:
spec:
initContainers:
- name: config-init
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
command: ["/usr/local/bin/toolbox.sh"]
args: ["--skip-watch"]
imagePullPolicy: IfNotPresent
@@ -32,7 +32,7 @@ spec:
mountPath: /etc/rook
containers:
- name: script
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
volumeMounts:
- mountPath: /etc/ceph
name: ceph-config
@@ -18,7 +18,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: rook-ceph-tools
image: rook/ceph:master
image: rook/ceph:v1.7.0-beta.0
command: ["/tini"]
args: ["-g", "--", "/usr/local/bin/toolbox.sh"]
imagePullPolicy: IfNotPresent
@@ -122,7 +122,7 @@ spec:
serviceAccountName: rook-nfs-operator
containers:
- name: rook-nfs-operator
image: rook/nfs:master
image: rook/nfs:v1.7.0-beta.0
imagePullPolicy: IfNotPresent
args: ["nfs", "operator"]
env:
+1 -1
View File
@@ -111,7 +111,7 @@ spec:
spec:
containers:
- name: rook-nfs-webhook
image: rook/nfs:master
image: rook/nfs:v1.7.0-beta.0
imagePullPolicy: IfNotPresent
args: ["nfs", "webhook"]
ports:
+1 -1
View File
@@ -120,7 +120,7 @@ function build_rook() {
tests/scripts/validate_modified_files.sh build
docker images
if [[ "$build_type" == "build" ]]; then
docker tag $(docker images | awk '/build-/ {print $1}') rook/ceph:master
docker tag $(docker images | awk '/build-/ {print $1}') rook/ceph:v1.7.0-beta.0
fi
}