From 6085b6218a8fca0689336b9e0532b5ff09c0126e Mon Sep 17 00:00:00 2001 From: Vince Power Date: Sun, 8 Sep 2019 22:51:36 -0300 Subject: [PATCH] Updating README.md Showing change to examples repo in URLs and adjusting an example to be accurate (and reflect the actual file) where storageClassName: standard is in spec not metadata. --- staging/storage/minio/README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/staging/storage/minio/README.md b/staging/storage/minio/README.md index 12117bbf..ea2895ea 100644 --- a/staging/storage/minio/README.md +++ b/staging/storage/minio/README.md @@ -41,9 +41,9 @@ This section uses following core components of Kubernetes: Run the below commands to get started quickly ```sh -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-pvc.yaml?raw=true -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-deployment.yaml?raw=true -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-service.yaml?raw=true +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-pvc.yaml +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-deployment.yaml +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-service.yaml ``` ### Step 1: Create Persistent Volume Claim @@ -61,13 +61,13 @@ kind: PersistentVolumeClaim metadata: # This name uniquely identifies the PVC. Will be used in deployment below. name: minio-pv-claim - storageClassName: standard labels: app: minio-storage-claim spec: # Read more about access modes here: http://kubernetes.io/docs/user-guide/persistent-volumes/#access-modes accessModes: - ReadWriteOnce + storageClassName: standard resources: # This is the request for storage. Should be available in the cluster. requests: @@ -77,7 +77,7 @@ spec: Create the PersistentVolumeClaim ```sh -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-pvc.yaml?raw=true +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-pvc.yaml persistentvolumeclaim "minio-pv-claim" created ``` @@ -136,7 +136,7 @@ spec: Create the Deployment ```sh -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-deployment.yaml?raw=true +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-deployment.yaml deployment "minio-deployment" created ``` @@ -163,7 +163,7 @@ spec: Create the Minio service ```sh -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-standalone-service.yaml?raw=true +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-standalone-service.yaml service "minio-service" created ``` @@ -199,9 +199,9 @@ This example uses following core components of Kubernetes: Run the below commands to get started quickly ```sh -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-headless-service.yaml?raw=true -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-statefulset.yaml?raw=true -kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-service.yaml?raw=true +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-headless-service.yaml +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-statefulset.yaml +kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-service.yaml ``` ### Step 1: Create Minio Headless Service @@ -229,7 +229,7 @@ spec: Create the Headless Service ```sh -$ kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-headless-service.yaml?raw=true +$ kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-headless-service.yaml service "minio" created ``` @@ -297,7 +297,7 @@ spec: Create the Statefulset ```sh -$ kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-statefulset.yaml?raw=true +$ kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-statefulset.yaml statefulset "minio" created ``` @@ -324,7 +324,7 @@ spec: Create the Minio service ```sh -$ kubectl create -f https://github.com/kubernetes/kubernetes/blob/master/examples/storage/minio/minio-distributed-service.yaml?raw=true +$ kubectl create -f https://raw.githubusercontent.com/kubernetes/examples/master/staging/storage/minio/minio-distributed-service.yaml service "minio-service" created ```