google-cloud-platform

Google cloud platform Cloud Endpoint SSL/TLS mutual handshake ESP

孤街浪徒 提交于 2021-02-11 13:41:42
问题 I am working on deploying an API solution on GCP where mutual SSL/TLS is required (server and client side certificates). So for the ingress of the traffic (entry point) I found that kubernetes ingress controller has this possibility (NGINX based). I am interested by cloud endpoints which has ESP (extensible service proxy which is also nginx deployment under kubernetes). I couldn't find anywhere in the documentation whether mutual SSL/TLS is available for ESP (cloud endpoint), does anyone know

App Engine Flex - Setting GCP Network Tag

落爺英雄遲暮 提交于 2021-02-11 13:41:32
问题 How can I apply a GCP firewall rule tag to an App Engine Flex instance? I have a project where a bastion host is set up with the appropriate firewall rules to only allow ssh from 0.0.0.0/0 to the bh machine. Then the bastion host is the only source that is able to connect via ssh to all project VMs. I need to apply a firewall rule tag "restricted-ssh" to all app engine flex instances to allow ssh in debug mode. Per documentation: A target, which defines the instances (including GKE clusters

Streaming binary data from Google Cloud Storage to Cloud Function

邮差的信 提交于 2021-02-11 13:26:58
问题 I have some large binary files stored in Google Cloud Storage that require byte by byte processing. I would like to do this processing using a Cloud Function, but this would require streaming the binary data through the cloud function. Does anybody have any idea how to do this. I'm using Python 3.7. 来源: https://stackoverflow.com/questions/60273469/streaming-binary-data-from-google-cloud-storage-to-cloud-function

Streaming binary data from Google Cloud Storage to Cloud Function

坚强是说给别人听的谎言 提交于 2021-02-11 13:26:51
问题 I have some large binary files stored in Google Cloud Storage that require byte by byte processing. I would like to do this processing using a Cloud Function, but this would require streaming the binary data through the cloud function. Does anybody have any idea how to do this. I'm using Python 3.7. 来源: https://stackoverflow.com/questions/60273469/streaming-binary-data-from-google-cloud-storage-to-cloud-function

Scheduling and scaling pods in kubernetes

冷暖自知 提交于 2021-02-11 13:24:32
问题 i am running k8s cluster on GKE it has 4 node pool with different configuration Node pool : 1 (Single node coroned status) Running Redis & RabbitMQ Node pool : 2 (Single node coroned status) Running Monitoring & Prometheus Node pool : 3 (Big large single node) Application pods Node pool : 4 (Single node with auto-scaling enabled) Application pods currently, i am running single replicas for each service on GKE however 3 replicas of the main service which mostly manages everything. when scaling

Scheduling and scaling pods in kubernetes

↘锁芯ラ 提交于 2021-02-11 13:24:19
问题 i am running k8s cluster on GKE it has 4 node pool with different configuration Node pool : 1 (Single node coroned status) Running Redis & RabbitMQ Node pool : 2 (Single node coroned status) Running Monitoring & Prometheus Node pool : 3 (Big large single node) Application pods Node pool : 4 (Single node with auto-scaling enabled) Application pods currently, i am running single replicas for each service on GKE however 3 replicas of the main service which mostly manages everything. when scaling

Static IP to access GCP Machine Learning APIs via gRPC stream over HTTP/2

♀尐吖头ヾ 提交于 2021-02-11 13:01:44
问题 We're living behind a corporate proxy/firewall, that can only consume static IP rules and not FQDNs. For our project, we need to access Google Speech To Text API: https://speech.googleapis.com . If outside of corporate network, we use gRPC stream over HTTP/2 to do that. The ideal scenario looks like: Corporate network -> static IP in GCP -> forwarded gRPC stream to speech.googleapis.com What we have tried is creating a global static external IP, but failed when configuring the Load Balancer,

When connecting to Google Cloud Spanner Emulator with jdbc, credentials that should not be needed are required

扶醉桌前 提交于 2021-02-11 13:00:29
问题 When I try to connect using the Google Cloud Spanner Open Source JDBC Driver, I get the following error message: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more URI:jdbc:cloudspanner:localhost:9010/projects/my-project

When connecting to Google Cloud Spanner Emulator with jdbc, credentials that should not be needed are required

旧巷老猫 提交于 2021-02-11 12:59:39
问题 When I try to connect using the Google Cloud Spanner Open Source JDBC Driver, I get the following error message: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more URI:jdbc:cloudspanner:localhost:9010/projects/my-project

BigQuery displaying wrong results - Duplicating data from Cloud Function?

对着背影说爱祢 提交于 2021-02-11 12:48:53
问题 I am a junior developer and I was in charge of implementing the Facebook API to an existing project. However, the business team figured out that the Google Analytics results displayed on BigQuery are wrong. They asked me to fix it. This is the architecture: What I have done is: On BigQuery, checking how close/far are the results from Google Analytics. I found there is a pattern, the results I am getting on BigQuery are always either 1, 2 or 3 times the original value of GA. I checked if there