github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/geth-reorg/templates/NOTES.txt (about) 1 1. Connect to Geth transaction nodes (through RPC or WS) at the following IP: 2 3 {{- if contains "NodePort" .Values.geth.tx.service.type }} 4 export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "ethereum.fullname" . }}-geth-tx-service) 5 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") 6 echo $NODE_IP:$NODE_PORT 7 {{- else if contains "LoadBalancer" .Values.geth.tx.service.type }} 8 export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "ethereum.fullname" . }}-geth-tx-service -o jsonpath='{.status.loadBalancer.ingress[0].ip}') 9 echo $SERVICE_IP 10 11 NOTE: It may take a few minutes for the LoadBalancer IP to be available. 12 You can watch the status of by running 'kubectl get svc -w {{ template "ethereum.fullname" . }}-geth-tx-service' 13 {{- else if contains "ClusterIP" .Values.geth.tx.service.type }} 14 export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "ethereum.fullname" . }}-geth-tx-service,release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 15 kubectl port-forward $POD_NAME 8545:8545 8546:8546 16 {{- end }}