google-kubernetes-engine

Does GKE Ingress-GCE support compression?

心不动则不痛 提交于 2020-01-04 13:37:40
问题 My backend, in Rocket (Rust), does not have compression built in. So, it is dependent on the proxy to compress it. Though nginx ingress controller supports it, I thought whether the default one had it too as it has high availability. If it does not have, then how should I setup? 回答1: UPDATE(2018-01-31): It looks like Cloud HTTP(S) Load Balancer supports GZIP. You just have to serve compressed content from your backend and the load balancer will pass it on. However, NGINX is confused because

Does GKE Ingress-GCE support compression?

筅森魡賤 提交于 2020-01-04 13:35:05
问题 My backend, in Rocket (Rust), does not have compression built in. So, it is dependent on the proxy to compress it. Though nginx ingress controller supports it, I thought whether the default one had it too as it has high availability. If it does not have, then how should I setup? 回答1: UPDATE(2018-01-31): It looks like Cloud HTTP(S) Load Balancer supports GZIP. You just have to serve compressed content from your backend and the load balancer will pass it on. However, NGINX is confused because

New session ID generated for each request

你离开我真会死。 提交于 2020-01-04 05:26:48
问题 Problem summary: New session ID is generated for each request in my application, but only within Google Cloud Container Engine infrastructure. Root cause: I found the root cause of the problem. The session affinity set for Ingress does not work as I expected. Here is how it's created: I'm creating deployment with 2 replicas (basic java application with servlets) I'm creating NodePort service as described here (but using YAML) I'm creating Ingress controler using YAML I'm adding a cookie based

Storage ReadWriteMany in Google Kubernetes Engine

99封情书 提交于 2020-01-04 01:41:46
问题 Is there a way to be able to provide ReadWriteMany storage without having to implement a storage cluster? I was able to provide storage with gcsfuse but it is really slow. I need something close to the speed of GlusterFS. I am currently using GlusterFS. 回答1: Another option: Google Cloud Platform recently started offering a hosted NFS service called Cloud Firestore. Note that as of this writing, Cloud Firestore is still in Beta. Here's the description: Use Cloud Filestore to create fully

Storage ReadWriteMany in Google Kubernetes Engine

只谈情不闲聊 提交于 2020-01-04 01:41:13
问题 Is there a way to be able to provide ReadWriteMany storage without having to implement a storage cluster? I was able to provide storage with gcsfuse but it is really slow. I need something close to the speed of GlusterFS. I am currently using GlusterFS. 回答1: Another option: Google Cloud Platform recently started offering a hosted NFS service called Cloud Firestore. Note that as of this writing, Cloud Firestore is still in Beta. Here's the description: Use Cloud Filestore to create fully

Run nexus in kubernetes cluster using helm

a 夏天 提交于 2020-01-03 09:36:22
问题 There is a helm chart for nexus: https://github.com/helm/charts/tree/master/stable/sonatype-nexus I installed it like using helm: helm install stable/sonatype-nexus --name=nexus But it didn't work because of nexus-proxy. There is logs for nexus-proxy container: [vert.x-eventloop-thread-0] [io.vertx.ext.web.impl.RoutingContextImplBase] Unexpected exception in route So, i started to google and found that post: https://github.com/travelaudience/nexus-proxy/issues/4 There we no answer except this

Run nexus in kubernetes cluster using helm

余生颓废 提交于 2020-01-03 09:33:53
问题 There is a helm chart for nexus: https://github.com/helm/charts/tree/master/stable/sonatype-nexus I installed it like using helm: helm install stable/sonatype-nexus --name=nexus But it didn't work because of nexus-proxy. There is logs for nexus-proxy container: [vert.x-eventloop-thread-0] [io.vertx.ext.web.impl.RoutingContextImplBase] Unexpected exception in route So, i started to google and found that post: https://github.com/travelaudience/nexus-proxy/issues/4 There we no answer except this

Run nexus in kubernetes cluster using helm

半腔热情 提交于 2020-01-03 09:33:39
问题 There is a helm chart for nexus: https://github.com/helm/charts/tree/master/stable/sonatype-nexus I installed it like using helm: helm install stable/sonatype-nexus --name=nexus But it didn't work because of nexus-proxy. There is logs for nexus-proxy container: [vert.x-eventloop-thread-0] [io.vertx.ext.web.impl.RoutingContextImplBase] Unexpected exception in route So, i started to google and found that post: https://github.com/travelaudience/nexus-proxy/issues/4 There we no answer except this

websockets on GKE with istio gives 'no healthy upstream' and 'CrashLoopBackOff'

假如想象 提交于 2020-01-02 05:15:10
问题 I am on GKE using Istio version 1.0.3 . I try to get my express.js with socket.io (and uws engine) backend working with websockets and had this backend running before on a 'non kubernetes server' with websockets without problems. When I simply enter the external_gke_ip as url I get my backend html page, so http works. But when my client-app makes socketio authentication calls from my client-app I get 503 errors in the browser console: WebSocket connection to 'ws://external_gke_ip/socket.io/

how to use Kubernetes DNS for pods?

允我心安 提交于 2020-01-01 08:32:45
问题 On GKE, kube-dns is running on my nodes, I can see the docker containers. I do have access to Services by name, which is great for all these applications where load balancing is a perfectly suitable solution, but how would I use the DNS to access individual pods? I know I can look up specific pods in the API, but I need to update the hosts file myself, and keep watching the pod list. DNS is supposed to do that for me so how is it meant to be used within a pod? The Kubernetes doc says the DNS