[google-appengine] How does GCP decides when a Kubernetes deployment is completed

2021-04-04 Thread 'Luca Lupo' via Google App Engine
Hi There, I have a few Java microservices and when I redeploy them, one of them needs like 40 seconds after starting up (it's a dropwizard application) to load data and do some computation to actually be ready to serve requests. This extra time makes so GCP thinks the service is ready and keeps

[google-appengine] Reach container/app by hostname

2020-08-14 Thread 'Luca Lupo' via Google App Engine
Hi There, I have 2 clusters: cluster A and cluster B. I have an app A running on cluster A (docker container) and an app B running on cluster B (docker container). All instances of app B needs to send messages (REST API) to app A and I want that to be happening using the app hostname (the one

[google-appengine] Communication between Java services given IP address

2020-07-27 Thread 'Luca Lupo' via Google App Engine
Hi There, I have 2 services: service1 and service2 both deployed using docker on Google cloud. service1 contains a table where it maps all instances of service2 and when needed will send message (REST request) to a specific instance of service2. Everything works if I use the full URL address