From 14c0f368b685f80ff0f248948743cf1b3d42fc4c Mon Sep 17 00:00:00 2001 From: zhougw <49544454+zhougw001@users.noreply.github.com> Date: Mon, 6 Jun 2022 22:42:23 +0800 Subject: [PATCH] the KUESPRAYDIR defined but never used (#8930) * fix dir error * the command line should align --- docs/ansible.md | 2 +- docs/aws-ebs-csi.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ansible.md b/docs/ansible.md index 8f952ee11..972d5f826 100644 --- a/docs/ansible.md +++ b/docs/ansible.md @@ -13,7 +13,7 @@ KUBESPRAYDIR=kubespray ANSIBLE_VERSION=2.12 virtualenv --python=$(which python3) $VENVDIR source $VENVDIR/bin/activate -cd $KUESPRAYDIR +cd $KUBESPRAYDIR pip install -U -r requirements-$ANSIBLE_VERSION.txt test -f requirements-$ANSIBLE_VERSION.yml && \ ansible-galaxy role install -r requirements-$ANSIBLE_VERSION.yml && \ diff --git a/docs/aws-ebs-csi.md b/docs/aws-ebs-csi.md index 3a7684ef2..195727734 100644 --- a/docs/aws-ebs-csi.md +++ b/docs/aws-ebs-csi.md @@ -27,7 +27,7 @@ Check the associated storage class (if you enabled persistent_volumes): ```ShellSession $ kubectl get storageclass NAME PROVISIONER AGE -ebs-sc ebs.csi.aws.com 45s +ebs-sc ebs.csi.aws.com 45s ``` You can run a PVC and an example Pod using this file `ebs-pod.yml`: @@ -71,8 +71,8 @@ You should see the PVC provisioned and bound: ```ShellSession $ kubectl get pvc -NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE -ebs-claim Bound pvc-0034cb9e-1ddd-4b3f-bb9e-0b5edbf5194c 1Gi RWO ebs-sc 50s +NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE +ebs-claim Bound pvc-0034cb9e-1ddd-4b3f-bb9e-0b5edbf5194c 1Gi RWO ebs-sc 50s ``` And the volume mounted to the example Pod (wait until the Pod is Running):