Add external interfaces configuration example.

This commit is contained in:
Waqar Ahmed 2020-10-22 00:10:47 +05:00
parent 9efffe8ecd
commit 0f51e88a9f
2 changed files with 26 additions and 3 deletions

View File

@ -109,7 +109,6 @@ The above will prompt the user with 2 text fields and a dropdown in the UI getti
| schema.items | []variables | false | specified when `schema.type` is list to declare attributes allowed in the list. |
| schema.private | bool | false | specified for declaring information sensitive fields. |
| schema.null | bool | false | specifies if the value for the variable can be null. defaults to false. |
| schema.null | bool | false | specifies if the value for the variable can be null. defaults to false. |
**subquestions**: `subquestions[]` cannot contain `subquestions` or `show_subquestions_if` keys, but all other keys in the above table are supported. Also variables having `schema.type` list do not support `subquestions`.

View File

@ -57,7 +57,7 @@ When a chart release will be deleted, all (2) volumes data will be deleted unlik
The following is a recommended configuration example for creating ix volumes
```
volumes: [
"volumes": [
{
"datasetName": "ix_volume1",
"mountPath": "/mount_test1"
@ -77,7 +77,7 @@ volumes: [
The following is a recommended configuration example for `hostPathVolumes`
```
hostPathVolumes: [
"hostPathVolumes": [
{
"hostPath": "/mnt/pool/test_dir",
"mountPath": "/test_dir",
@ -90,3 +90,27 @@ hostPathVolumes: [
}
]
```
## External Interfaces Configuration Examples
```
"externalInterfaces": [
{
"hostInterface": "ens3",
"ipam": {"type": "dhcp"}
},
{
"hostInterface": "br0",
"ipam": {
"type": "static",
"staticIPConfigurations": ["192.168.0.120/24"],
"staticRoutes": [
{"destination": "0.0.0.0/0", "gateway": "192.168.0.1"}
]
}
}
]
```
The first entry in the above configuration example will add an external interface in the pod using macvlan with `ipam` being set to `dhcp`.
Second entry will add an external interface in the pod using `bridge` and using static IP configuration for the external interface.