Proxy configmap
Edit this configmap to configure parameters such as connection timeouts and to enable or disable transport layer security (TLS) encryption.
Contents
{{ .Release.Name
}}-proxy-config
configmap, where {{ .Release.Name }} is the
unique name that is assigned to the deployment, for example, noi. The configmap
is used to configure parameters such as connection timeouts and to enable or disable TLS encryption,
as in the following
example: connectionTimeoutMs: "900000"
externalHostOrIP: mycluster.icp
revision: "1"
routes: |
[{"Port":6001, "Service": "{{ .Release.Name }}-objserv-agg-primary:4100"},
{"Port":6002, "Service": "{{ .Release.Name }}-objserv-agg-backup:4100"}
]
tlsEnabled: "true"
tlsHandshakeTimeoutMs: "2000"
Where
mycluster.icp is the public domain name of the cluster.Data elements | Description |
---|---|
|
Use this element to specify the connection timeout in milliseconds. |
|
Use this element to specify the external Host or IP address. After deployment, do not edit this value. |
|
Version number of configmap. Must be incremented when a change is made to the configmap, or the change will not be active. Must be an integer greater than 0. |
|
Use this element to specify the gateway routes. After deployment, do not edit this value. |
|
Use this element to enable or disable TLS encryption. |
|
Use this element to specify the TLS handshake timeout in milliseconds. |
After you update the configmap the changes are automatically applied to the existing proxy pod.