Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
fix paths to manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed Jul 16, 2017
1 parent 1085a9f commit ea4475a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
## TL;DR
```bash
# install dynamic hostpath provisioner
kubectl create -f https://github.com/MaZderMind/hostpath-provisioner/master/manifests/rbac.yaml
kubectl create -f https://github.com/MaZderMind/hostpath-provisioner/master/manifests/deployment.yaml
kubectl create -f https://github.com/MaZderMind/hostpath-provisioner/master/manifests/storageclass.yaml
kubectl create -f https://raw.githubusercontent.com/MaZderMind/hostpath-provisioner/master/manifests/rbac.yaml
kubectl create -f https://raw.githubusercontent.com/MaZderMind/hostpath-provisioner/master/manifests/deployment.yaml
kubectl create -f https://raw.githubusercontent.com/MaZderMind/hostpath-provisioner/master/manifests/storageclass.yaml

# create a test-pvc and a pod writign to it
kubectl create -f https://github.com/MaZderMind/hostpath-provisioner/master/manifests/test-claim.yaml
kubectl create -f https://github.com/MaZderMind/hostpath-provisioner/master/manifests/test-pod.yaml
kubectl create -f https://raw.githubusercontent.com/MaZderMind/hostpath-provisioner/master/manifests/test-claim.yaml
kubectl create -f https://raw.githubusercontent.com/MaZderMind/hostpath-provisioner/master/manifests/test-pod.yaml

# expect a file to exist on your host
$ ls -la /var/kubernetes/default-hostpath-test-claim-pvc-*/
Expand Down
2 changes: 0 additions & 2 deletions manifests/test-claim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: hostpath-test-claim
# annotations:
# volume.beta.kubernetes.io/storage-class: "hostpath"
spec:
storageClassName: "hostpath"
accessModes:
Expand Down

0 comments on commit ea4475a

Please sign in to comment.