瀏覽代碼

docs: enhance markdown indent and fix typos

JimMoen 2 年之前
父節點
當前提交
a35ed4dacb
共有 2 個文件被更改,包括 153 次插入155 次删除
  1. 76 77
      deploy/charts/emqx-enterprise/README.md
  2. 77 78
      deploy/charts/emqx/README.md

+ 76 - 77
deploy/charts/emqx-enterprise/README.md

@@ -11,14 +11,14 @@ This chart bootstraps an emqx deployment on a Kubernetes cluster using the Helm
 
 
 To install the chart with the release name `my-emqx`:
 To install the chart with the release name `my-emqx`:
 
 
-+ From github
++ From Github
   ```
   ```
   $ git clone https://github.com/emqx/emqx.git
   $ git clone https://github.com/emqx/emqx.git
   $ cd emqx/deploy/charts/emqx-enterprise
   $ cd emqx/deploy/charts/emqx-enterprise
   $ helm install my-emqx .
   $ helm install my-emqx .
   ```
   ```
 
 
-+ From chart repos
++ From chart Repos
   ```
   ```
   helm repo add emqx https://repos.emqx.io/charts
   helm repo add emqx https://repos.emqx.io/charts
   helm install my-emqx emqx/emqx-enterprise
   helm install my-emqx emqx/emqx-enterprise
@@ -37,85 +37,85 @@ $ helm del  my-emqx
 
 
 The following table lists the configurable parameters of the emqx chart and their default values.
 The following table lists the configurable parameters of the emqx chart and their default values.
 
 
-| Parameter | Description | Default Value |
+| Parameter                            | Description                                                                                                                                                  | Default Value                                           |
 |--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
 |--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
-| `replicaCount` | It is recommended to have odd number of nodes in a cluster, otherwise the emqx cluster cannot be automatically healed in case of net-split. | 3 |
-| `image.repository` | EMQX Image name | emqx/emqx-enterprise |
-| `image.pullPolicy` | The image pull policy | IfNotPresent |
-| `image.pullSecrets ` | The image pull secrets | `[]` (does not add image pull secrets to deployed pods) |
-| `serviceAccount.create` | If `true`, create a new service account | `true` |
-| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template |  |
-| `serviceAccount.annotations` | Annotations to add to the service account |  |
-| `envFromSecret` | The name pull a secret in the same kubernetes namespace which contains values that will be added to the environment | nil |
-| `recreatePods` | Forces the recreation of pods during upgrades, which can be useful to always apply the most recent configuration. | false |
-| `podAnnotations ` | Annotations for pod | `{}` |
-| `podManagementPolicy` | To redeploy a chart with existing PVC(s), the value must be set to Parallel to avoid deadlock | `Parallel` |
-| `persistence.enabled` | Enable EMQX persistence using PVC | false |
-| `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) |
-| `persistence.existingClaim` | EMQX data Persistent Volume existing claim name, evaluated as a template | "" |
-| `persistence.accessMode` | PVC Access Mode for EMQX volume | ReadWriteOnce |
-| `persistence.size` | PVC Storage Request for EMQX volume | 20Mi |
-| `initContainers` | Containers that run before the creation of EMQX containers. They can contain utilities or setup scripts. | `{}` |
-| `resources` | CPU/Memory resource requests/limits | {} |
-| `extraVolumeMounts` | Additional volumeMounts to the default backend container. | [] |
-| `extraVolumes` | Additional volumes to the default backend pod.| [] |
-| `nodeSelector` | Node labels for pod assignment | `{}` |
-| `tolerations` | Toleration labels for pod assignment | `[]` |
-| `affinity` | Map of node/pod affinities | `{}` |
-| `service.type` | Kubernetes Service type. | ClusterIP |
-| `service.mqtt` | Port for MQTT. | 1883 |
-| `service.mqttssl` | Port for MQTT(SSL). | 8883 |
-| `service.ws` | Port for WebSocket/HTTP. | 8083 |
-| `service.wss` | Port for WSS/HTTPS. | 8084 |
-| `service.dashboard` | Port for dashboard and API. | 18083 |
-| `service.nodePorts.mqtt` | Kubernetes node port for MQTT. | nil |
-| `service.nodePorts.mqttssl` | Kubernetes node port for MQTT(SSL). | nil |
-| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
-| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
-| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
-| `service.loadBalancerClass` | The load balancer implementation this Service belongs to | |
-| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
-| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
-| `service.externalIPs` | ExternalIPs for the service | [] |
-| `service.externalTrafficPolicy` |	External Traffic Policy for the service |	`Cluster`
-| `service.annotations` | Service/ServiceMonitor annotations | {}(evaluated as a template) |
-| `service.labels` | Service/ServiceMontior labels | {}(evaluated as a template) |
-| `ingress.dashboard.enabled` | Enable ingress for EMQX Dashboard | false |
-| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard | |
-| `ingress.dashboard.path` | Ingress path for EMQX Dashboard | / |
-| `ingress.dashboard.pathType` | Ingress pathType for EMQX Dashboard | `ImplementationSpecific` |
-| `ingress.dashboard.hosts` | Ingress hosts for EMQX Dashboard | dashboard.emqx.local |
-| `ingress.dashboard.tls` | Ingress tls for EMQX Dashboard | [] |
-| `ingress.dashboard.annotations` | Ingress annotations for EMQX Dashboard | {} |
-| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard | |
-| `ingress.mqtt.enabled` | Enable ingress for MQTT | false |
-| `ingress.mqtt.ingressClassName` | Set the ingress class for MQTT | |
-| `ingress.mqtt.path` | Ingress path for MQTT | / |
-| `ingress.mqtt.pathType` | Ingress pathType for MQTT | `ImplementationSpecific` |
-| `ingress.mqtt.hosts` | Ingress hosts for MQTT | mqtt.emqx.local |
-| `ingress.mqtt.tls` | Ingress tls for MQTT | [] |
-| `ingress.mqtt.annotations` | Ingress annotations for MQTT | {} |
-| `ingress.mqtt.ingressClassName` | Set the ingress class for MQTT | |
-| `metrics.enable` | If set to true, [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) needs to be installed, and emqx_prometheus needs to enable | false |
-| `metrics.type` | Now we only supported "prometheus" | "prometheus" |
-| `ssl.enabled` | Enable SSL support | false |
-| `ssl.useExisting` | Use existing certificate or let cert-manager generate one | false |
-| `ssl.existingName` | Name of existing certificate | emqx-tls |
-| `ssl.dnsnames` | DNS name(s) for certificate to be generated | {} |
-| `ssl.commonName` | Common name for or certificate to be generated | |
-| `ssl.issuer.name` | Issuer name for certificate generation | letsencrypt-dns |
-| `ssl.issuer.kind` | Issuer kind for certificate generation | ClusterIssuer |
+| `replicaCount`                       | It is recommended to have odd number of nodes in a cluster, otherwise the emqx cluster cannot be automatically healed in case of net-split.                  | 3                                                       |
+| `image.repository`                   | EMQX Image name                                                                                                                                              | emqx/emqx-enterprise                                    |
+| `image.pullPolicy`                   | The image pull policy                                                                                                                                        | IfNotPresent                                            |
+| `image.pullSecrets `                 | The image pull secrets                                                                                                                                       | `[]` (does not add image pull secrets to deployed pods) |
+| `serviceAccount.create`              | If `true`, create a new service account                                                                                                                      | `true`                                                  |
+| `serviceAccount.name`                | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the full-name template                               |                                                         |
+| `serviceAccount.annotations`         | Annotations to add to the service account                                                                                                                    |                                                         |
+| `envFromSecret`                      | The name pull a secret in the same Kubernetes namespace which contains values that will be added to the environment                                          | nil                                                     |
+| `recreatePods`                       | Forces the recreation of pods during upgrades, which can be useful to always apply the most recent configuration.                                            | false                                                   |
+| `podAnnotations `                    | Annotations for pod                                                                                                                                          | `{}`                                                    |
+| `podManagementPolicy`                | To redeploy a chart with existing PVC(s), the value must be set to Parallel to avoid deadlock                                                                | `Parallel`                                              |
+| `persistence.enabled`                | Enable EMQX persistence using PVC                                                                                                                            | false                                                   |
+| `persistence.storageClass`           | Storage class of backing PVC                                                                                                                                 | `nil` (uses alpha storage class annotation)             |
+| `persistence.existingClaim`          | EMQX data Persistent Volume existing claim name, evaluated as a template                                                                                     | ""                                                      |
+| `persistence.accessMode`             | PVC Access Mode for EMQX volume                                                                                                                              | ReadWriteOnce                                           |
+| `persistence.size`                   | PVC Storage Request for EMQX volume                                                                                                                          | 20Mi                                                    |
+| `initContainers`                     | Containers that run before the creation of EMQX containers. They can contain utilities or setup scripts.                                                     | `{}`                                                    |
+| `resources`                          | CPU/Memory resource requests/limits                                                                                                                          | {}                                                      |
+| `extraVolumeMounts`                  | Additional volumeMounts to the default backend container.                                                                                                    | []                                                      |
+| `extraVolumes`                       | Additional volumes to the default backend pod.                                                                                                               | []                                                      |
+| `nodeSelector`                       | Node labels for pod assignment                                                                                                                               | `{}`                                                    |
+| `tolerations`                        | Toleration labels for pod assignment                                                                                                                         | `[]`                                                    |
+| `affinity`                           | Map of node/pod affinities                                                                                                                                   | `{}`                                                    |
+| `service.type`                       | Kubernetes Service type.                                                                                                                                     | ClusterIP                                               |
+| `service.mqtt`                       | Port for MQTT.                                                                                                                                               | 1883                                                    |
+| `service.mqttssl`                    | Port for MQTT(SSL).                                                                                                                                          | 8883                                                    |
+| `service.ws`                         | Port for WebSocket/HTTP.                                                                                                                                     | 8083                                                    |
+| `service.wss`                        | Port for WSS/HTTPS.                                                                                                                                          | 8084                                                    |
+| `service.dashboard`                  | Port for dashboard and API.                                                                                                                                  | 18083                                                   |
+| `service.nodePorts.mqtt`             | Kubernetes node port for MQTT.                                                                                                                               | nil                                                     |
+| `service.nodePorts.mqttssl`          | Kubernetes node port for MQTT(SSL).                                                                                                                          | nil                                                     |
+| `service.nodePorts.ws`               | Kubernetes node port for WebSocket/HTTP.                                                                                                                     | nil                                                     |
+| `service.nodePorts.wss`              | Kubernetes node port for WSS/HTTPS.                                                                                                                          | nil                                                     |
+| `service.nodePorts.dashboard`        | Kubernetes node port for dashboard.                                                                                                                          | nil                                                     |
+| `service.loadBalancerClass`          | The load balancer implementation this Service belongs to                                                                                                     |                                                         |
+| `service.loadBalancerIP`             | loadBalancerIP for Service                                                                                                                                   | nil                                                     |
+| `service.loadBalancerSourceRanges`   | Address(es) that are allowed when service is LoadBalancer                                                                                                    | []                                                      |
+| `service.externalIPs`                | ExternalIPs for the service                                                                                                                                  | []                                                      |
+| `service.externalTrafficPolicy`      | External Traffic Policy for the service                                                                                                                      | `Cluster`                                               |
+| `service.annotations`                | Service/ServiceMonitor annotations                                                                                                                           | {}(evaluated as a template)                             |
+| `service.labels`                     | Service/ServiceMonitor labels                                                                                                                                | {}(evaluated as a template)                             |
+| `ingress.dashboard.enabled`          | Enable ingress for EMQX Dashboard                                                                                                                            | false                                                   |
+| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard                                                                                                                     |                                                         |
+| `ingress.dashboard.path`             | Ingress path for EMQX Dashboard                                                                                                                              | /                                                       |
+| `ingress.dashboard.pathType`         | Ingress pathType for EMQX Dashboard                                                                                                                          | `ImplementationSpecific`                                |
+| `ingress.dashboard.hosts`            | Ingress hosts for EMQX Dashboard                                                                                                                             | dashboard.emqx.local                                    |
+| `ingress.dashboard.tls`              | Ingress tls for EMQX Dashboard                                                                                                                               | []                                                      |
+| `ingress.dashboard.annotations`      | Ingress annotations for EMQX Dashboard                                                                                                                       | {}                                                      |
+| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard                                                                                                                     |                                                         |
+| `ingress.mqtt.enabled`               | Enable ingress for MQTT                                                                                                                                      | false                                                   |
+| `ingress.mqtt.ingressClassName`      | Set the ingress class for MQTT                                                                                                                               |                                                         |
+| `ingress.mqtt.path`                  | Ingress path for MQTT                                                                                                                                        | /                                                       |
+| `ingress.mqtt.pathType`              | Ingress pathType for MQTT                                                                                                                                    | `ImplementationSpecific`                                |
+| `ingress.mqtt.hosts`                 | Ingress hosts for MQTT                                                                                                                                       | mqtt.emqx.local                                         |
+| `ingress.mqtt.tls`                   | Ingress tls for MQTT                                                                                                                                         | []                                                      |
+| `ingress.mqtt.annotations`           | Ingress annotations for MQTT                                                                                                                                 | {}                                                      |
+| `ingress.mqtt.ingressClassName`      | Set the ingress class for MQTT                                                                                                                               |                                                         |
+| `metrics.enable`                     | If set to true, [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) needs to be installed, and emqx_prometheus needs to enable | false                                                   |
+| `metrics.type`                       | Now we only supported "prometheus"                                                                                                                           | "prometheus"                                            |
+| `ssl.enabled`                        | Enable SSL support                                                                                                                                           | false                                                   |
+| `ssl.useExisting`                    | Use existing certificate or let cert-manager generate one                                                                                                    | false                                                   |
+| `ssl.existingName`                   | Name of existing certificate                                                                                                                                 | emqx-tls                                                |
+| `ssl.dnsnames`                       | DNS name(s) for certificate to be generated                                                                                                                  | {}                                                      |
+| `ssl.commonName`                     | Common name for or certificate to be generated                                                                                                               |                                                         |
+| `ssl.issuer.name`                    | Issuer name for certificate generation                                                                                                                       | letsencrypt-dns                                         |
+| `ssl.issuer.kind`                    | Issuer kind for certificate generation                                                                                                                       | ClusterIssuer                                           |
 
 
 ## EMQX specific settings
 ## EMQX specific settings
 
 
 The following table lists the configurable [EMQX](https://www.emqx.io/)-specific parameters of the chart and their
 The following table lists the configurable [EMQX](https://www.emqx.io/)-specific parameters of the chart and their
 default values.
 default values.
-Parameter | Description | Default Value
---- | --- | ---
-`emqxConfig` | Map of [configuration](https://www.emqx.io/docs/en/v5.0/admin/cfg.html) items
-expressed as [environment variables](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#environment-variables) (prefix `EMQX_` can be omitted) or using the configuration
-files [namespaced dotted notation](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#syntax) | `nil`
-`emqxLicenseSecretName` | Name of the secret that holds the license information | `nil`
+| Parameter                                                                                                                                                              | Description                                                                   | Default Value |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|---------------|
+| `emqxConfig`                                                                                                                                                           | Map of [configuration](https://www.emqx.io/docs/en/v5.0/admin/cfg.html) items |               |
+| expressed as [environment variables](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#environment-variables) (prefix `EMQX_` can be omitted) or using the configuration |                                                                               |               |
+| files [namespaced dotted notation](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#syntax)                                                                             | `nil`                                                                         |               |
+| `emqxLicenseSecretName`                                                                                                                                                | Name of the secret that holds the license information                         | `nil`         |
 
 
 ## SSL settings
 ## SSL settings
 `cert-manager` generates secrets with certificate data using the keys `tls.crt` and `tls.key`. The helm chart always mounts those keys as files to `/tmp/ssl/`
 `cert-manager` generates secrets with certificate data using the keys `tls.crt` and `tls.key`. The helm chart always mounts those keys as files to `/tmp/ssl/`
@@ -136,9 +136,8 @@ In order to preserve the original client's IP address, you could change the emqx
 EMQX_LISTENERS__TCP__DEFAULT__PROXY_PROTOCOL: "true"
 EMQX_LISTENERS__TCP__DEFAULT__PROXY_PROTOCOL: "true"
 ```
 ```
 
 
-With haproxy you'd also need the following ingress annotation:
+With HAProxy you'd also need the following ingress annotation:
 
 
 ```
 ```
 haproxy-ingress.github.io/proxy-protocol: "v2"
 haproxy-ingress.github.io/proxy-protocol: "v2"
 ```
 ```
-

+ 77 - 78
deploy/charts/emqx/README.md

@@ -11,14 +11,14 @@ This chart bootstraps an emqx deployment on a Kubernetes cluster using the Helm
 
 
 To install the chart with the release name `my-emqx`:
 To install the chart with the release name `my-emqx`:
 
 
-+ From github
++ From Github
   ```
   ```
   $ git clone https://github.com/emqx/emqx.git
   $ git clone https://github.com/emqx/emqx.git
   $ cd emqx/deploy/charts/emqx
   $ cd emqx/deploy/charts/emqx
   $ helm install my-emqx .
   $ helm install my-emqx .
   ```
   ```
 
 
-+ From chart repos
++ From chart Repos
   ```
   ```
   helm repo add emqx https://repos.emqx.io/charts
   helm repo add emqx https://repos.emqx.io/charts
   helm install my-emqx emqx/emqx
   helm install my-emqx emqx/emqx
@@ -37,86 +37,86 @@ $ helm del  my-emqx
 
 
 The following table lists the configurable parameters of the emqx chart and their default values.
 The following table lists the configurable parameters of the emqx chart and their default values.
 
 
-| Parameter | Description | Default Value |
+| Parameter                            | Description                                                                                                                                                  | Default Value                                           |
 |--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
 |--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
-| `replicaCount` | It is recommended to have odd number of nodes in a cluster, otherwise the emqx cluster cannot be automatically healed in case of net-split. | 3 |
-| `image.repository` | EMQX Image name | emqx/emqx |
-| `image.pullPolicy` | The image pull policy | IfNotPresent |
-| `image.pullSecrets ` | The image pull secrets | `[]` (does not add image pull secrets to deployed pods) |
-| `serviceAccount.create` | If `true`, create a new service account | `true` |
-| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template |  |
-| `serviceAccount.annotations` | Annotations to add to the service account |  |
-| `envFromSecret` | The name pull a secret in the same kubernetes namespace which contains values that will be added to the environment | nil |
-| `recreatePods` | Forces the recreation of pods during upgrades, which can be useful to always apply the most recent configuration. | false |
-| `podAnnotations ` | Annotations for pod | `{}` |
-| `podManagementPolicy` | To redeploy a chart with existing PVC(s), the value must be set to Parallel to avoid deadlock | `Parallel` |
-| `persistence.enabled` | Enable EMQX persistence using PVC | false |
-| `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) |
-| `persistence.existingClaim` | EMQX data Persistent Volume existing claim name, evaluated as a template | "" |
-| `persistence.accessMode` | PVC Access Mode for EMQX volume | ReadWriteOnce |
-| `persistence.size` | PVC Storage Request for EMQX volume | 20Mi |
-| `initContainers` | Containers that run before the creation of EMQX containers. They can contain utilities or setup scripts. | `{}` |
-| `resources` | CPU/Memory resource requests/limits | {} |
-| `extraVolumeMounts` | Additional volumeMounts to the default backend container. | [] |
-| `extraVolumes` | Additional volumes to the default backend pod.| [] |
-| `nodeSelector` | Node labels for pod assignment | `{}` |
-| `tolerations` | Toleration labels for pod assignment | `[]` |
-| `affinity` | Map of node/pod affinities | `{}` |
-| `topologySpreadConstraints` | List of topology spread constraints without labelSelector | `[]` |
-| `service.type` | Kubernetes Service type. | ClusterIP |
-| `service.mqtt` | Port for MQTT. | 1883 |
-| `service.mqttssl` | Port for MQTT(SSL). | 8883 |
-| `service.ws` | Port for WebSocket/HTTP. | 8083 |
-| `service.wss` | Port for WSS/HTTPS. | 8084 |
-| `service.dashboard` | Port for dashboard and API. | 18083 |
-| `service.nodePorts.mqtt` | Kubernetes node port for MQTT. | nil |
-| `service.nodePorts.mqttssl` | Kubernetes node port for MQTT(SSL). | nil |
-| `service.nodePorts.ws` | Kubernetes node port for WebSocket/HTTP. | nil |
-| `service.nodePorts.wss` | Kubernetes node port for WSS/HTTPS. | nil |
-| `service.nodePorts.dashboard` | Kubernetes node port for dashboard. | nil |
-| `service.loadBalancerClass` | The load balancer implementation this Service belongs to | |
-| `service.loadBalancerIP` | loadBalancerIP for Service | nil |
-| `service.loadBalancerSourceRanges` | Address(es) that are allowed when service is LoadBalancer | [] |
-| `service.externalIPs` | ExternalIPs for the service | [] |
-| `service.externalTrafficPolicy` |	External Traffic Policy for the service |	`Cluster`
-| `service.annotations` | Service/ServiceMonitor annotations | {}(evaluated as a template) |
-| `service.labels` | Service/ServiceMontior labels | {}(evaluated as a template) |
-| `ingress.dashboard.enabled` | Enable ingress for EMQX Dashboard | false |
-| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard | |
-| `ingress.dashboard.path` | Ingress path for EMQX Dashboard | / |
-| `ingress.dashboard.pathType` | Ingress pathType for EMQX Dashboard | `ImplementationSpecific` |
-| `ingress.dashboard.hosts` | Ingress hosts for EMQX Dashboard | dashboard.emqx.local |
-| `ingress.dashboard.tls` | Ingress tls for EMQX Dashboard | [] |
-| `ingress.dashboard.annotations` | Ingress annotations for EMQX Dashboard | {} |
-| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard | |
-| `ingress.mqtt.enabled` | Enable ingress for MQTT | false |
-| `ingress.mqtt.ingressClassName` | Set the ingress class for MQTT | |
-| `ingress.mqtt.path` | Ingress path for MQTT | / |
-| `ingress.mqtt.pathType` | Ingress pathType for MQTT | `ImplementationSpecific` |
-| `ingress.mqtt.hosts` | Ingress hosts for MQTT | mqtt.emqx.local |
-| `ingress.mqtt.tls` | Ingress tls for MQTT | [] |
-| `ingress.mqtt.annotations` | Ingress annotations for MQTT | {} |
-| `ingress.mqtt.ingressClassName` | Set the ingress class for MQTT | |
-| `metrics.enable` | If set to true, [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) needs to be installed, and emqx_prometheus needs to enable | false |
-| `metrics.type` | Now we only supported "prometheus" | "prometheus" |
-| `ssl.enabled` | Enable SSL support | false |
-| `ssl.useExisting` | Use existing certificate or let cert-manager generate one | false |
-| `ssl.existingName` | Name of existing certificate | emqx-tls |
-| `ssl.commonName` | Common name for or certificate to be generated | |
-| `ssl.dnsnames` | DNS name(s) for certificate to be generated | {} |
-| `ssl.issuer.name` | Issuer name for certificate generation | letsencrypt-dns |
-| `ssl.issuer.kind` | Issuer kind for certificate generation | ClusterIssuer |
+| `replicaCount`                       | It is recommended to have odd number of nodes in a cluster, otherwise the emqx cluster cannot be automatically healed in case of net-split.                  | 3                                                       |
+| `image.repository`                   | EMQX Image name                                                                                                                                              | emqx/emqx                                               |
+| `image.pullPolicy`                   | The image pull policy                                                                                                                                        | IfNotPresent                                            |
+| `image.pullSecrets `                 | The image pull secrets                                                                                                                                       | `[]` (does not add image pull secrets to deployed pods) |
+| `serviceAccount.create`              | If `true`, create a new service account                                                                                                                      | `true`                                                  |
+| `serviceAccount.name`                | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the full-name template                               |                                                         |
+| `serviceAccount.annotations`         | Annotations to add to the service account                                                                                                                    |                                                         |
+| `envFromSecret`                      | The name pull a secret in the same Kubernetes namespace which contains values that will be added to the environment                                          | nil                                                     |
+| `recreatePods`                       | Forces the recreation of pods during upgrades, which can be useful to always apply the most recent configuration.                                            | false                                                   |
+| `podAnnotations `                    | Annotations for pod                                                                                                                                          | `{}`                                                    |
+| `podManagementPolicy`                | To redeploy a chart with existing PVC(s), the value must be set to Parallel to avoid deadlock                                                                | `Parallel`                                              |
+| `persistence.enabled`                | Enable EMQX persistence using PVC                                                                                                                            | false                                                   |
+| `persistence.storageClass`           | Storage class of backing PVC                                                                                                                                 | `nil` (uses alpha storage class annotation)             |
+| `persistence.existingClaim`          | EMQX data Persistent Volume existing claim name, evaluated as a template                                                                                     | ""                                                      |
+| `persistence.accessMode`             | PVC Access Mode for EMQX volume                                                                                                                              | ReadWriteOnce                                           |
+| `persistence.size`                   | PVC Storage Request for EMQX volume                                                                                                                          | 20Mi                                                    |
+| `initContainers`                     | Containers that run before the creation of EMQX containers. They can contain utilities or setup scripts.                                                     | `{}`                                                    |
+| `resources`                          | CPU/Memory resource requests/limits                                                                                                                          | {}                                                      |
+| `extraVolumeMounts`                  | Additional volumeMounts to the default backend container.                                                                                                    | []                                                      |
+| `extraVolumes`                       | Additional volumes to the default backend pod.                                                                                                               | []                                                      |
+| `nodeSelector`                       | Node labels for pod assignment                                                                                                                               | `{}`                                                    |
+| `tolerations`                        | Toleration labels for pod assignment                                                                                                                         | `[]`                                                    |
+| `affinity`                           | Map of node/pod affinities                                                                                                                                   | `{}`                                                    |
+| `topologySpreadConstraints`          | List of topology spread constraints without labelSelector                                                                                                    | `[]`                                                    |
+| `service.type`                       | Kubernetes Service type.                                                                                                                                     | ClusterIP                                               |
+| `service.mqtt`                       | Port for MQTT.                                                                                                                                               | 1883                                                    |
+| `service.mqttssl`                    | Port for MQTT(SSL).                                                                                                                                          | 8883                                                    |
+| `service.ws`                         | Port for WebSocket/HTTP.                                                                                                                                     | 8083                                                    |
+| `service.wss`                        | Port for WSS/HTTPS.                                                                                                                                          | 8084                                                    |
+| `service.dashboard`                  | Port for dashboard and API.                                                                                                                                  | 18083                                                   |
+| `service.nodePorts.mqtt`             | Kubernetes node port for MQTT.                                                                                                                               | nil                                                     |
+| `service.nodePorts.mqttssl`          | Kubernetes node port for MQTT(SSL).                                                                                                                          | nil                                                     |
+| `service.nodePorts.ws`               | Kubernetes node port for WebSocket/HTTP.                                                                                                                     | nil                                                     |
+| `service.nodePorts.wss`              | Kubernetes node port for WSS/HTTPS.                                                                                                                          | nil                                                     |
+| `service.nodePorts.dashboard`        | Kubernetes node port for dashboard.                                                                                                                          | nil                                                     |
+| `service.loadBalancerClass`          | The load balancer implementation this Service belongs to                                                                                                     |                                                         |
+| `service.loadBalancerIP`             | loadBalancerIP for Service                                                                                                                                   | nil                                                     |
+| `service.loadBalancerSourceRanges`   | Address(es) that are allowed when service is LoadBalancer                                                                                                    | []                                                      |
+| `service.externalIPs`                | ExternalIPs for the service                                                                                                                                  | []                                                      |
+| `service.externalTrafficPolicy`      | External Traffic Policy for the service                                                                                                                      | `Cluster`                                               |
+| `service.annotations`                | Service/ServiceMonitor annotations                                                                                                                           | {}(evaluated as a template)                             |
+| `service.labels`                     | Service/ServiceMonitor labels                                                                                                                                | {}(evaluated as a template)                             |
+| `ingress.dashboard.enabled`          | Enable ingress for EMQX Dashboard                                                                                                                            | false                                                   |
+| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard                                                                                                                     |                                                         |
+| `ingress.dashboard.path`             | Ingress path for EMQX Dashboard                                                                                                                              | /                                                       |
+| `ingress.dashboard.pathType`         | Ingress pathType for EMQX Dashboard                                                                                                                          | `ImplementationSpecific`                                |
+| `ingress.dashboard.hosts`            | Ingress hosts for EMQX Dashboard                                                                                                                             | dashboard.emqx.local                                    |
+| `ingress.dashboard.tls`              | Ingress tls for EMQX Dashboard                                                                                                                               | []                                                      |
+| `ingress.dashboard.annotations`      | Ingress annotations for EMQX Dashboard                                                                                                                       | {}                                                      |
+| `ingress.dashboard.ingressClassName` | Set the ingress class for EMQX Dashboard                                                                                                                     |                                                         |
+| `ingress.mqtt.enabled`               | Enable ingress for MQTT                                                                                                                                      | false                                                   |
+| `ingress.mqtt.ingressClassName`      | Set the ingress class for MQTT                                                                                                                               |                                                         |
+| `ingress.mqtt.path`                  | Ingress path for MQTT                                                                                                                                        | /                                                       |
+| `ingress.mqtt.pathType`              | Ingress pathType for MQTT                                                                                                                                    | `ImplementationSpecific`                                |
+| `ingress.mqtt.hosts`                 | Ingress hosts for MQTT                                                                                                                                       | mqtt.emqx.local                                         |
+| `ingress.mqtt.tls`                   | Ingress tls for MQTT                                                                                                                                         | []                                                      |
+| `ingress.mqtt.annotations`           | Ingress annotations for MQTT                                                                                                                                 | {}                                                      |
+| `ingress.mqtt.ingressClassName`      | Set the ingress class for MQTT                                                                                                                               |                                                         |
+| `metrics.enable`                     | If set to true, [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) needs to be installed, and emqx_prometheus needs to enable | false                                                   |
+| `metrics.type`                       | Now we only supported "prometheus"                                                                                                                           | "prometheus"                                            |
+| `ssl.enabled`                        | Enable SSL support                                                                                                                                           | false                                                   |
+| `ssl.useExisting`                    | Use existing certificate or let cert-manager generate one                                                                                                    | false                                                   |
+| `ssl.existingName`                   | Name of existing certificate                                                                                                                                 | emqx-tls                                                |
+| `ssl.commonName`                     | Common name for or certificate to be generated                                                                                                               |                                                         |
+| `ssl.dnsnames`                       | DNS name(s) for certificate to be generated                                                                                                                  | {}                                                      |
+| `ssl.issuer.name`                    | Issuer name for certificate generation                                                                                                                       | letsencrypt-dns                                         |
+| `ssl.issuer.kind`                    | Issuer kind for certificate generation                                                                                                                       | ClusterIssuer                                           |
 
 
 ## EMQX specific settings
 ## EMQX specific settings
 
 
 The following table lists the configurable [EMQX](https://www.emqx.io/)-specific parameters of the chart and their
 The following table lists the configurable [EMQX](https://www.emqx.io/)-specific parameters of the chart and their
 default values.
 default values.
-Parameter | Description | Default Value
---- | --- | ---
-`emqxConfig` | Map of [configuration](https://www.emqx.io/docs/en/v5.0/admin/cfg.html) items
-expressed as [environment variables](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#environment-variables) (prefix `EMQX_` can be omitted) or using the configuration
-files [namespaced dotted notation](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#syntax) | `nil`
-`emqxLicenseSecretName` | Name of the secret that holds the license information | `nil`
+| Parameter                                                                                                                                                              | Description                                                                   | Default Value |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|---------------|
+| `emqxConfig`                                                                                                                                                           | Map of [configuration](https://www.emqx.io/docs/en/v5.0/admin/cfg.html) items |               |
+| expressed as [environment variables](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#environment-variables) (prefix `EMQX_` can be omitted) or using the configuration |                                                                               |               |
+| files [namespaced dotted notation](https://www.emqx.io/docs/en/v5.0/admin/cfg.html#syntax)                                                                             | `nil`                                                                         |               |
+| `emqxLicenseSecretName`                                                                                                                                                | Name of the secret that holds the license information                         | `nil`         |
 
 
 ## SSL settings
 ## SSL settings
 `cert-manager` generates secrets with certificate data using the keys `tls.crt` and `tls.key`. The helm chart always mounts those keys as files to `/tmp/ssl/`
 `cert-manager` generates secrets with certificate data using the keys `tls.crt` and `tls.key`. The helm chart always mounts those keys as files to `/tmp/ssl/`
@@ -137,9 +137,8 @@ In order to preserve the original client's IP address, you could change the emqx
 EMQX_LISTENERS__TCP__DEFAULT__PROXY_PROTOCOL: "true"
 EMQX_LISTENERS__TCP__DEFAULT__PROXY_PROTOCOL: "true"
 ```
 ```
 
 
-With haproxy you'd also need the following ingress annotation:
+With HAProxy you'd also need the following ingress annotation:
 
 
 ```
 ```
 haproxy-ingress.github.io/proxy-protocol: "v2"
 haproxy-ingress.github.io/proxy-protocol: "v2"
 ```
 ```
-