gRPC on GKE tutorial: Python client (bookstore_client.py) cannot connect to the API backend in latest version of grc.io/endpointsv2/python-grpc-bookstore-server
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
In which file did you encounter the issue?
Did you change the file? If so, how?
Overrode the PORT env variable to set it to 8000. Changed https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/endpoints/kubernetes/grpc-bookstore.yaml
image: gcr.io/process-mining-gke/bookstore-grpc-server:latest
env:
- name: PORT
value: "8000"
Describe the issue
This issue is with gRPC on GKE tutorial : https://cloud.google.com/endpoints/docs/grpc/get-started-kubernetes-engine
The python client (bookstore_client.py) can no longer connect to the API backend as the latest docker image build of the API backend (grc.io/endpointsv2/python-grpc-bookstore-server) ends up listening on the port specified by the PORT variable while the proxy (esp) forwards request to port 8000 as specified in the Kubernetes manifest file .
This is likely due to the changes made in https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/endpoints/bookstore-grpc/bookstore_server.py to make it work in Cloud Run which requires that the server listen on the port specified by the PORT environment.
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 8.1k
- Forks
- 6.7k
- Merge medio
- 4 d 4 h
- PR fusionados (30 d)
- 8
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GoogleCloudPlatform/python-docs-samples
-
samples
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
GoogleCloudPlatform/python-docs-samples#14609 ·
Los mantenedores suelen responder en 1 día
-
samples
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
GoogleCloudPlatform/python-docs-samples#14610 ·
Los mantenedores suelen responder en 1 día
-
samples
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
GoogleCloudPlatform/python-docs-samples#14611 ·
Los mantenedores suelen responder en 1 día
-
chore(generative_ai) Update model references for generative_ai samplesQuizá libre de nuevo @XrossFox la tomó hace 153 días y no hay ningún pull request abierto. Abiertosamples
GoogleCloudPlatform/python-docs-samples#14117 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Fix Pipeline dependency issues for geospatial-classification/serving_appQuizá libre de nuevo @XrossFox la tomó hace 164 días y no hay ningún pull request abierto. Abiertosamples
GoogleCloudPlatform/python-docs-samples#14091 · 1 asignado ·
Los mantenedores suelen responder en 1 día