Merge pull request #3621 from alexcpn/patch-1

add 'git clone' step to quickstart guides
This commit is contained in:
Travis Nielsen authored and GitHub committed 2019-12-10 11:10:15 -07:00
commit 009af3dab0
10 files changed
+30 -7

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
{% assign url = page.url | split: '/' %}
{% assign currentVersion = url[3] %}
{% if currentVersion != 'master' %}
{% assign branchName = currentVersion | replace: 'v', '' | prepend: 'release-' %}
{% else %}
{% assign branchName = currentVersion %}
{% endif %}
+2
View File
@@ -3,6 +3,7 @@ title: Cassandra
weight: 250
indent: true
---
{% include_relative branch.liquid %}
# Cassandra Quickstart
@@ -20,6 +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
cd cluster/examples/kubernetes/cassandra
kubectl apply -f operator.yaml
```
+2
View File
@@ -3,6 +3,7 @@ title: Monitoring
weight: 2500
indent: true
---
{% include_relative branch.liquid %}
# Monitoring
@@ -37,6 +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
cd cluster/examples/kubernetes/ceph/monitoring
```
+4 -7
View File
@@ -3,13 +3,9 @@ title: Ceph Storage
weight: 300
indent: true
---
{% assign url = page.url | split: '/' %}
{% assign currentVersion = url[3] %}
{% if currentVersion != 'master' %}
{% assign branchName = currentVersion | replace: 'v', '' | prepend: 'release-' %}
{% else %}
{% assign branchName = currentVersion %}
{% endif %}
{% include_relative branch.liquid %}
# Ceph Storage Quickstart
@@ -31,6 +27,7 @@ If you are using `dataDirHostPath` to persist rook data on kubernetes hosts, mak
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
cd cluster/examples/kubernetes/ceph
kubectl create -f common.yaml
kubectl create -f operator.yaml
+2
View File
@@ -3,6 +3,7 @@ title: CockroachDB
weight: 500
indent: true
---
{% include_relative branch.liquid %}
# CockroachDB Quickstart
@@ -19,6 +20,7 @@ To make sure you have a Kubernetes cluster that is ready for `Rook`, you can [fo
First deploy the Rook CockroachDB operator using the following commands:
```console
git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
cd cluster/examples/kubernetes/cockroachdb
kubectl create -f operator.yaml
```
+2
View File
@@ -3,6 +3,7 @@ title: CSI driver
weight: 4700
indent: true
---
{% include_relative branch.liquid %}
# EdgeFS Rook integrated CSI driver, provisioner, attacher and snapshotter
@@ -105,6 +106,7 @@ By using `k8sEdgefsNamespaces` and `k8sEdgefsMgmtPrefix` parameters, driver is c
Check configuration options and create kubernetes secret for Edgefs CSI NFS plugin
```console
git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
cd cluster/examples/kubernetes/edgefs/csi/nfs
kubectl create secret generic edgefs-nfs-csi-driver-config --from-file=./edgefs-nfs-csi-driver-config.yaml
```
+3
View File
@@ -4,6 +4,8 @@ weight: 4800
indent: true
---
{% include_relative branch.liquid %}
# EdgeFS Monitoring
Each Rook EdgeFS cluster has some built in metrics collectors/exporters for monitoring with [Prometheus](https://prometheus.io/).
@@ -34,6 +36,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
cd cluster/examples/kubernetes/edgefs/monitoring
```
+3
View File
@@ -4,6 +4,8 @@ weight: 550
indent: true
---
{% include_relative branch.liquid %}
# EdgeFS Geo-Transparent Storage Quickstart
This guide will walk you through the basic setup of a EdgeFS cluster namespaces and enable you to consume S3 object, NFS file access, and iSCSI block storage
@@ -44,6 +46,7 @@ To turn off this node adjustment need to enable `skipHostPrepare` option in clus
If you're feeling lucky, a simple EdgeFS Rook cluster can be created with the following kubectl commands. 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
cd cluster/examples/kubernetes/edgefs
kubectl create -f operator.yaml
kubectl create -f cluster.yaml
+3
View File
@@ -4,6 +4,8 @@ weight: 600
indent: true
---
{% include_relative branch.liquid %}
# Minio Object Store Quickstart
Minio is a high performance distributed object storage server, designed for
@@ -20,6 +22,7 @@ To make sure you have a Kubernetes cluster that is ready for `Rook`, you can [fo
First deploy the Rook Minio operator using the following commands:
```console
git clone --single-branch --branch {{ branchName }} https://github.com/rook/rook.git
cd cluster/examples/kubernetes/minio
kubectl create -f operator.yaml
```
+2
View File
@@ -3,6 +3,7 @@ title: Network Filesystem (NFS)
weight: 800
indent: true
---
{% include_relative branch.liquid %}
# Network Filesystem (NFS)
@@ -22,6 +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
cd cluster/examples/kubernetes/nfs
kubectl create -f operator.yaml
```