ADD HYBRID DATA PLANE
Docker | Helm | |
---|---|---|
key | api_key | gateway.rpc.apiKey |
org_id | rpc_key | gateway.rpc.rpcKey |
data_planes_connection_string (mdcb) | connection_string | gateway.rpc.connString |
rpc_key
- Organization IDapi_key
- Tyk Dashboard API Access Credentials of the user created earlierconnection_string
: MDCB connection stringgroup_id
(optional) - if you have multiple data planes (e.g. in different regions), specify the data plane group (string) to which the gateway you are deploying belongs. The data planes in the same group share one Redis.storage
section in tyk.hybrid.conf:
<docker-compose.yml>
file to use the tyk.hybrid.conf that you have just configured.
From:
gateway-svc-hybrid-dp-tyk-gateway
at port 8080
. Pump is also configured with Hybrid Pump which sends aggregated analytics to Tyk Cloud, and Prometheus Pump which expose metrics locally at :9090/metrics
.
1. Set connection details
Set the below environment variables and replace values with connection details to your Tyk Cloud remote control plane. See the above section on how to get the connection details.
gateway-svc-hybrid-dp-tyk-gateway
at port 8080
. Pump is also configured with Hybrid Pump which sends aggregated analytics to Tyk Cloud, and Prometheus Pump which expose metrics locally at :9090/metrics
.
For the complete installation guide and configuration options, please see Tyk Data Plane Chart.
Dashboard | Gateway | MDCB |
---|---|---|
v5.2.0 | v5.2.0 | v2.4.0 |
v5.1.2 | v5.1.2 | v2.3.0 |
v5.1.1 | v5.1.1 | v2.3.0 |
v5.1.0 | v5.1.0 | v2.3.0 |
v5.0.5 | v5.0.5 | v2.2.0 |
v5.0.4 | v5.0.4 | v2.2.0 |
v5.0.3 | v5.0.3 | v2.2.0 |
v5.0.2 | v5.0.2 | v2.2.0 |
v5.0.1 | v5.0.1 | v2.1.1 |
v5.0.0 | v5.0.0 | v2.1.1 |
v4.3.3 | v4.3.3 | v2.1.0 |
v4.3.2 | v4.3.2 | v2.0.4 |
v4.3.1 | v4.3.1 | v2.0.4 |
v4.3.0 | v4.3.0 | v2.0.4 |
v4.2.4 | v4.2.4 | v2.0.3 |
v4.2.3 | v4.2.3 | v2.0.3 |
v4.0.10 | v4.0.10 | v2.0.4 |
v4.0.9 | v4.0.9 | v2.0.3 |
v4.0.8 | v4.0.8 | v2.0.3 |
v3.2.3 | v3.2.3 | v1.8.1 |
v3.0.9 | v3.0.9 | v1.7.11 |
tyk-hybrid
chart is deprecated. Please use our Tyk Data Plane helm chart instead.We recommend that all users to migrate to the tyk-data-plane
Chart. Please review the Configuration section of the new helm chart and cross-check with your existing configurations while planning for migration.tyk-helm
to your local Helm repositoryvalues.yaml
file:
gateway.rpc.apiKey
- Tyk Dashboard API Access Credentials of the user created earliergateway.rpc.rpcKey
- Organization IDgateway.rpc.connString
- MDCB connection stringgateway.rpc.group_id
(optional) - if you have multiple data plane (e.g. in different regions), specify the data plane group (string) to which the gateway you are deploying belong. The data planes in the same group share one Redis instance.gateway.sharding.enabled
and gateway.sharding.tags
(optional) - you can enable sharding to selectively load APIs to specific gateways, using tags. By default, sharding is disabled and the gateway will load all APIs.values.yaml
file:
redis.addrs
: the name of the Redis instance including the port as set by Bitnami tyk-redis-master.tyk.svc.cluster.local:6379
redis.pass
: password set in redis ($REDIS_PASSWORD
). Alternatively, you can use —set flag to set it during helm installation. For example --set redis.pass=$REDIS_PASSWORD
.tyk
namespace are running:
gateway-svc-tyk-hybrid
:
Note: you may need to port forward if you’re testing on a local machine, e.g. kubectl port-forward service/gateway-svc-tyk-hybrid -n tyk 8080:443