-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #575 from adrianchiris/document-mofed-env-vars
Document MOFED container env vars
- Loading branch information
Showing
2 changed files
with
38 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
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,33 @@ | ||
# MOFED Driver Container Environment Variables | ||
|
||
When creating _nicclustercpolicy_ instance for Network Operator, under `ofedDriver` section | ||
it is possible to specify a list of environment variables to be exposed to mofed driver container. | ||
|
||
These variables affect the operation of the container. | ||
|
||
__Example__ | ||
|
||
```yaml | ||
ofedDriver: | ||
env: | ||
- name: CREATE_IFNAMES_UDEV | ||
value: true | ||
``` | ||
|
||
The use of these Environment variables is intended for advanced cases. | ||
In most deployments its expected to not require setting those. | ||
|
||
| Name | Experimental | Default | Description | | ||
| ---- | ------------ | ------- | ----------- | | ||
| CREATE_IFNAMES_UDEV |N|`"false"`| create udev rule to preserve "old-style" path based netdev names e.g `enp3s0f0`| | ||
| UNLOAD_STORAGE_MODULES |N|`"false"`| unload host storage modules prior to loading mofed modules | | ||
| ENABLE_NFSRDMA |N|`"false"`| enable loading of nfs relates storage modules from mofed container| | ||
| RESTORE_DRIVER_ON_POD_TERMINATION |N|`"true"`| restore host drivers when container is gracefully stopped | | ||
| ENTRYPOINT_DEBUG |Y|`"false"`| enable/disable debug logs | | ||
| DEBUG_LOG_FILE |Y|`"/tmp/entrypoint_debug_cmds.log"`| path for entrypoint debug logs | | ||
|
||
In addition, the user can specify essentially any environment variables to be exposed to the MOFED container such as | ||
the standard `"HTTP_PROXY"`, `"HTTPS_PROXY"`, `"NO_PROXY"` | ||
|
||
> __Note__: `CREATE_IFNAMES_UDEV` is being set automatically by Network Operator depenting of the Operating System of worker nodes | ||
> in the cluster (cluster is assumed to be homogenous). |