This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support geth websockets rcp. (#28)
Add support for connecting to geth via websockets rpc. The default port is set to `8546` and will always be set, but in order to use websockets they need to be enabled in the `geth.Geth_Startup_Param` inside the config yaml, e.g. --ws --wsorigins=\"*\" --wsaddr 0.0.0.0 see examples/config/qubernetes-ingress-ws.yaml To override the default set it in the config under `geth.Node_WSPort`. note: If trying to connect externally via an ingress be aware that depending on the backend k8s service and how the load balancing is implemented the health checks may fail, e.g. for GKE currently has a health check that uses http, and setting a configurable health check in k8s is not supported yet, but will be available soon: kubernetes/ingress-gce#1067. * Change RPCPort 7nodes from 8546->8545. change the 7nodes examples configs RPCPort to the default geth rpc port so that it doesn't clash with the default websocket port (8546).
- Loading branch information
Showing
10 changed files
with
78 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#namespace: | ||
# name: quorum-test | ||
# number of nodes to deploy | ||
sep_deployment_files: true | ||
nodes: | ||
number: 4 | ||
service: | ||
# NodePort | ClusterIP | LoadBalancer | ||
type: NodePort | ||
Ingress: | ||
# OneToMany | OneToOne | ||
Strategy: OneToMany | ||
Host: "quorum.testnet.com" | ||
quorum: | ||
# supported: (raft | istanbul) | ||
consensus: istanbul | ||
# related to quorum containers | ||
quorum: | ||
# container images at https://hub.docker.com/u/quorumengineering/ | ||
Quorum_Version: 2.2.5 | ||
# related to transaction manager containers | ||
tm: | ||
# container images at https://hub.docker.com/u/quorumengineering/ | ||
# (tessera|constellation) | ||
Name: tessera | ||
Tm_Version: 0.11 | ||
# persistent storage is handled by Persistent Volume Claims (PVC) https://kubernetes.io/docs/concepts/storage/persistent-volumes/ | ||
# test locally and on GCP | ||
# The data dir is persisted here | ||
storage: | ||
# PVC (Persistent_Volume_Claim - tested with GCP). | ||
Type: PVC | ||
## when redeploying cannot be less than previous values | ||
Capacity: 200Mi | ||
# generic geth related options | ||
geth: | ||
Node_WSPort: 8546 | ||
# general verbosity of geth [1..5] | ||
verbosity: 9 | ||
# additional startup params to pass into geth/quorum | ||
Geth_Startup_Params: --rpccorsdomain=\"*\" --rpcvhosts=\"*\" --ws --wsorigins=\"*\" --wsaddr 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters