Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PV/PVC YAML definitions #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

MilosD
Copy link

@MilosD MilosD commented Oct 6, 2017

Hey @kelseyhightower ,

When following instructions in README.md my first POD enters "Pending" state with message "PersistentVolumeClaim is not bound: data-consul-0".
Therefore, I created PVC/PV YAML definitions, and updated README.md to create PV/PVC before Consul service.
I have tested this on my Kubernetes environment, and it works fine.

Thanks,
Milos

README.md Outdated
Create PersistentVolumeClaim and PersistentVolume which Consul uses to store data:

```
kubectl create -f persistenvolumes/data-consul-0-pv.yaml

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo here. It should be,

kubectl create -f persistentvolumes/data-consul-0-pv.yaml
kubectl create -f persistentvolumes/data-consul-0-pvc.yaml
kubectl create -f persistentvolumes/data-consul-1-pv.yaml
kubectl create -f persistentvolumes/data-consul-1-pvc.yaml
kubectl create -f persistentvolumes/data-consul-2-pv.yaml
kubectl create -f persistentvolumes/data-consul-2-pvc.yaml

Note persistenvolumes => persistentvolumes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @tankchintan , typo has been fixed. Thanks for pointing that out!

@tibwiz
Copy link

tibwiz commented Jan 23, 2019

@kelseyhightower can you merge this PR so that the tutorial will be complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants