Skip to content

Commit aba849b

Browse files
authored
Merge pull request #153 from c3y1huang/c3y1/doc/142-link-and-daemonset
Fix link and manifest kind in README.
2 parents 8963fb3 + 316fffb commit aba849b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Events: <none>
155155
```
156156

157157
## Confirm Hostpath driver works
158-
The Hostpath driver is configured to create new volumes under `/tmp` inside the hostpath container that is specified in the plugin DaemonSet found [here](./deploy/hostpath/csi-hostpath-plugin.yaml). This path persist as long as the DaemonSet pod is up and running.
158+
The Hostpath driver is configured to create new volumes under `/csi-data-dir` inside the hostpath container that is specified in the plugin StatefulSet found [here](./deploy/kubernetes-latest/hostpath/csi-hostpath-plugin.yaml). This path persist as long as the StatefulSet pod is up and running.
159159

160160
A file written in a properly mounted Hostpath volume inside an application should show up inside the Hostpath container. The following steps confirms that Hostpath is working properly. First, create a file from the application pod as shown:
161161

@@ -349,7 +349,7 @@ Find out how to enable or create a CSI driver with support for such volumes [her
349349
To test this feature on Kubernetes 1.15 (and only with that release), redeploy the CSI Hostpath plugin YAML by updating the `hostpath` container to use the inline ephemeral mode by setting the `ephemeral` flag, of the driver binary, to true as shown in the following setup:
350350
351351
```yaml
352-
kind: DaemonSet
352+
kind: StatefulSet
353353
apiVersion: apps/v1
354354
metadata:
355355
name: csi-hostpathplugin

0 commit comments

Comments
 (0)