-
Notifications
You must be signed in to change notification settings - Fork 1k
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 shm_volume option #427
Changes from 1 commit
3662c46
28c5fc1
dd05678
1da0878
1bd1456
3f56aec
9207c87
93e1977
c2fb3b4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ type Resources struct { | |
NodeReadinessLabel map[string]string `name:"node_readiness_label" default:""` | ||
MaxInstances int32 `name:"max_instances" default:"-1"` | ||
MinInstances int32 `name:"min_instances" default:"-1"` | ||
ShmVolume bool `name:"shm_volume" default:"true"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thing we use "enable" prefix in other config options? enableSharedMemoryVolume ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, I actually disagree. The data type itself for this value tells that it's enable/disable option, so add it to the name would be redundant. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, so the agreement is to rename it since indeed we have pretty many options following the same pattern. |
||
} | ||
|
||
// Auth describes authentication specific configuration parameters | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,4 @@ const ( | |
|
||
ShmVolumeName = "dshm" | ||
ShmVolumePath = "/dev/shm" | ||
MinShmSize = 64 * 1024 * 1024 | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we make this name nicer?
enableSharedMemoryVolume?