-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(csi): add a csi hostpath controller (#72)
feat(csi): add a csi hostpath controller feat(csi): add volume definition for hostpath plugin Signed-off-by: Bruce Becker <[email protected]> --------- Signed-off-by: Bruce Becker <[email protected]>
- Loading branch information
1 parent
92baf6f
commit 33ada11
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
id = "consul-data" | ||
namespace = "default" | ||
name = "consul-data" | ||
type = "csi" | ||
plugin_id = "csi-hostpath" | ||
external_id = "consul-data" | ||
capacity_max = "1G" | ||
capacity_min = "100M" | ||
|
||
capability { | ||
access_mode = "single-node-writer" | ||
attachment_mode = "file-system" | ||
} | ||
|
||
mount_options { | ||
fs_type = "ext4" | ||
mount_flags = ["noatime"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
id = "grafana" | ||
name = "grafana" | ||
type = "csi" | ||
plugin_id = "csi-hostpath" | ||
|
||
capacity_min = "1MB" | ||
capacity_max = "1GB" | ||
|
||
capability { | ||
access_mode = "single-node-reader-only" | ||
attachment_mode = "file-system" | ||
} | ||
capability { | ||
access_mode = "multi-node-reader-only" | ||
attachment_mode = "file-system" | ||
} | ||
|
||
capability { | ||
access_mode = "single-node-writer" | ||
attachment_mode = "file-system" | ||
} | ||
|
||
mount_options { | ||
mount_flags = ["rw"] | ||
} |