mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Remove 3scale port number from configs (#1676)
* Remove 'threescale-api-port' from all configs in node setup * Update docs - remove references to threescale-api-port * Fix typo
This commit is contained in:
@@ -173,18 +173,6 @@ Step 4.2: NGINX with HTTPS + 3scale
|
||||
``public-mdb-port`` in the file which specifies where MongoDB is
|
||||
available.
|
||||
|
||||
* Set ``ports[2].port`` and ``ports[2].targetPort`` to the value set in the
|
||||
``threescale-api-port`` in the ConfigMap above. This is the
|
||||
``public-threescale-port`` in the file which specifies where OpenResty is
|
||||
available.
|
||||
|
||||
* Set ``threescale-api-port`` to 27017, or the port number on which you
|
||||
want to expose MongoDB service.
|
||||
Set the ``ngx-public-mdb-port.targetPort`` to the port number on which the
|
||||
Kubernetes MongoDB service will be present.
|
||||
Note: This is only used for testing with 3scale, and will be removed in
|
||||
the future.
|
||||
|
||||
* Start the Kubernetes Service:
|
||||
|
||||
.. code:: bash
|
||||
@@ -339,10 +327,10 @@ Step 9.2: NGINX with HTTPS + 3scale
|
||||
``ngx-https-instance-0``, set the fields to ``ngx-https-instance-0-dep``.
|
||||
|
||||
* Set the ports to be exposed from the pod in the
|
||||
``spec.containers[0].ports`` section. We currently expose 4 ports -
|
||||
``mongodb-frontend-port``, ``cluster-frontend-port``,
|
||||
``threescale-api-port`` and ``cluster-health-check-port``. Set them to
|
||||
the values specified in the ConfigMap.
|
||||
``spec.containers[0].ports`` section. We currently expose 3 ports -
|
||||
``mongodb-frontend-port``, ``cluster-frontend-port`` and
|
||||
``cluster-health-check-port``. Set them to the values specified in the
|
||||
ConfigMap.
|
||||
|
||||
* Start the Kubernetes Deployment:
|
||||
|
||||
@@ -850,8 +838,6 @@ To test the NGINX instance with HTTPS and 3scale integration:
|
||||
|
||||
$ dig +noall +answer _public-mdb-port._.tcp.ngx-https-instance-0.default.svc.cluster.local SRV
|
||||
|
||||
$ dig +noall +answer _public-threescale-port._.tcp.ngx-https-instance-0.default.svc.cluster.local SRV
|
||||
|
||||
$ dig +noall +answer _public-insecure-cluster-port._.tcp.ngx-https-instance-0.default.svc.cluster.local SRV
|
||||
|
||||
$ wsc -er wss://ngx-https-instance-0/api/v1/streams/valid_transactions
|
||||
|
||||
Reference in New Issue
Block a user