mirror of
https://github.com/status-im/consul.git
synced 2025-01-14 15:54:40 +00:00
Add OpenShift CNI to list of install options for kubernetes (#14793)
This commit is contained in:
parent
0af2c3639e
commit
3faaa02a0c
@ -119,7 +119,7 @@ Because the plugin is executed by the local Kubernetes kubelet, the plugin alrea
|
|||||||
The Consul Helm Chart is responsible for installing the Consul CNI plugin.
|
The Consul Helm Chart is responsible for installing the Consul CNI plugin.
|
||||||
To configure the plugin to be installed, add the following configuration to your `values.yaml` file:
|
To configure the plugin to be installed, add the following configuration to your `values.yaml` file:
|
||||||
|
|
||||||
<CodeTabs tabs={[ "Reference configuration","GKE configuration" ]}>
|
<CodeTabs tabs={[ "Reference configuration","GKE configuration","OpenShift configuration" ]}>
|
||||||
|
|
||||||
<CodeBlockConfig filename="values.yaml">
|
<CodeBlockConfig filename="values.yaml">
|
||||||
|
|
||||||
@ -151,6 +151,24 @@ connectInject:
|
|||||||
```
|
```
|
||||||
</CodeBlockConfig>
|
</CodeBlockConfig>
|
||||||
|
|
||||||
|
<CodeBlockConfig filename="values.yaml">
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
global:
|
||||||
|
name: consul
|
||||||
|
openshift:
|
||||||
|
enabled: true
|
||||||
|
connectInject:
|
||||||
|
enabled: true
|
||||||
|
cni:
|
||||||
|
enabled: true
|
||||||
|
logLevel: info
|
||||||
|
multus: true
|
||||||
|
cniBinDir: "/var/lib/cni/bin"
|
||||||
|
cniNetDir: "/etc/kubernetes/cni/net.d"
|
||||||
|
```
|
||||||
|
</CodeBlockConfig>
|
||||||
|
|
||||||
</CodeTabs>
|
</CodeTabs>
|
||||||
|
|
||||||
|
|
||||||
@ -160,6 +178,7 @@ The following table describes the available CNI plugin options:
|
|||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `cni.enabled` | Boolean value that enables or disables the CNI plugin. If `true`, the plugin is responsible for redirecting traffic in the service mesh. If `false`, redirection is handled by the `connect-inject init` container. | `false` |
|
| `cni.enabled` | Boolean value that enables or disables the CNI plugin. If `true`, the plugin is responsible for redirecting traffic in the service mesh. If `false`, redirection is handled by the `connect-inject init` container. | `false` |
|
||||||
| `cni.logLevel` | String value that specifies the log level for the installer and plugin. You can specify the following values: `info`, `debug`, `error`. | `info` |
|
| `cni.logLevel` | String value that specifies the log level for the installer and plugin. You can specify the following values: `info`, `debug`, `error`. | `info` |
|
||||||
|
| `cni.multus` | Boolean value that enables multus CNI plugin support. If `true`, multus will be enabled. If `false`, Consul CNI will operate as a chained plugin. | `false` |
|
||||||
| `cni.cniBinDir` | String value that specifies the location on the Kubernetes node where the CNI plugin is installed. | `/opt/cni/bin` |
|
| `cni.cniBinDir` | String value that specifies the location on the Kubernetes node where the CNI plugin is installed. | `/opt/cni/bin` |
|
||||||
| `cni.cniNetDir` | String value that specifies the location on the Kubernetes node for storing the CNI configuration. | `/etc/cni/net.d` |
|
| `cni.cniNetDir` | String value that specifies the location on the Kubernetes node for storing the CNI configuration. | `/etc/cni/net.d` |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user