Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
14c0f368
Unverified
Commit
14c0f368
authored
2 years ago
by
zhougw
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
the KUESPRAYDIR defined but never used (#8930)
* fix dir error * the command line should align
parent
0761659a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/ansible.md
+1
-1
1 addition, 1 deletion
docs/ansible.md
docs/aws-ebs-csi.md
+3
-3
3 additions, 3 deletions
docs/aws-ebs-csi.md
with
4 additions
and
4 deletions
docs/ansible.md
+
1
−
1
View file @
14c0f368
...
@@ -13,7 +13,7 @@ KUBESPRAYDIR=kubespray
...
@@ -13,7 +13,7 @@ KUBESPRAYDIR=kubespray
ANSIBLE_VERSION=2.12
ANSIBLE_VERSION=2.12
virtualenv --python=$(which python3) $VENVDIR
virtualenv --python=$(which python3) $VENVDIR
source $VENVDIR/bin/activate
source $VENVDIR/bin/activate
cd $KUESPRAYDIR
cd $KU
B
ESPRAYDIR
pip install -U -r requirements-$ANSIBLE_VERSION.txt
pip install -U -r requirements-$ANSIBLE_VERSION.txt
test -f requirements-$ANSIBLE_VERSION.yml && \
test -f requirements-$ANSIBLE_VERSION.yml && \
ansible-galaxy role install -r requirements-$ANSIBLE_VERSION.yml && \
ansible-galaxy role install -r requirements-$ANSIBLE_VERSION.yml && \
...
...
This diff is collapsed.
Click to expand it.
docs/aws-ebs-csi.md
+
3
−
3
View file @
14c0f368
...
@@ -27,7 +27,7 @@ Check the associated storage class (if you enabled persistent_volumes):
...
@@ -27,7 +27,7 @@ Check the associated storage class (if you enabled persistent_volumes):
```
ShellSession
```
ShellSession
$ kubectl get storageclass
$ kubectl get storageclass
NAME PROVISIONER AGE
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`
:
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:
...
@@ -71,8 +71,8 @@ You should see the PVC provisioned and bound:
```
ShellSession
```
ShellSession
$ kubectl get pvc
$ kubectl get pvc
NAME
STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
ebs-claim Bound pvc-0034cb9e-1ddd-4b3f-bb9e-0b5edbf5194c 1Gi RWO ebs-sc 50s
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):
And the volume mounted to the example Pod (wait until the Pod is Running):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment