mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Remove support for whitelist * Rename nginx to nginx-api * Remove websocket support from nginx-api * Change nginx to nginx-api service The nginx-api service will proxy requests to the BigchainDB HTTP API. * Rename ngx-instance-0 to ngx-api-instance-0 in nginx_3scale * Update nginx-api service base docker image and README * Add nginx-ws service to support Websocket * Add config files for simple dev setup * WS support with split NGINX * NGINX module as single entrypoint into the cluster. * Tested HTTP and WS with latest configs * Openresty as separate service * Remove upstream api port as configuration parameter * Changes while testing * Adding READMEs for nginx-http and nginx-https modules * Documentation update * Change 'Openresty' to 'OpenResty'.
23 lines
637 B
YAML
23 lines
637 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: openresty-instance-0
|
|
namespace: default
|
|
labels:
|
|
name: openresty-instance-0
|
|
annotations:
|
|
# NOTE: the following annotation is a beta feature and
|
|
# only available in GCE/GKE and Azure as of now
|
|
# Ref: https://kubernetes.io/docs/tutorials/services/source-ip/
|
|
service.beta.kubernetes.io/external-traffic: OnlyLocal
|
|
spec:
|
|
selector:
|
|
app: openresty-instance-0-dep
|
|
ports:
|
|
- port: "<openresty-backend-port from ConfigMap>"
|
|
targetPort: "<openresty-backend-port from ConfigMap>"
|
|
name: openresty-svc-port
|
|
protocol: TCP
|
|
type: ClusterIP
|
|
clusterIP: None
|