google-kubernetes-engine

Rabbit mq - Error while waiting for Mnesia tables

无人久伴 提交于 2020-12-30 09:20:47
问题 I have installed rabbitmq using helm chart on a kubernetes cluster. The rabbitmq pod keeps restarting. On inspecting the pod logs I get the below error 2020-02-26 04:42:31.582 [warning] <0.314.0> Error while waiting for Mnesia tables: {timeout_waiting_for_tables,[rabbit_durable_queue]} 2020-02-26 04:42:31.582 [info] <0.314.0> Waiting for Mnesia tables for 30000 ms, 6 retries left When I try to do kubectl describe pod I get this error Conditions: Type Status Initialized True Ready False

Rabbit mq - Error while waiting for Mnesia tables

扶醉桌前 提交于 2020-12-30 09:18:23
问题 I have installed rabbitmq using helm chart on a kubernetes cluster. The rabbitmq pod keeps restarting. On inspecting the pod logs I get the below error 2020-02-26 04:42:31.582 [warning] <0.314.0> Error while waiting for Mnesia tables: {timeout_waiting_for_tables,[rabbit_durable_queue]} 2020-02-26 04:42:31.582 [info] <0.314.0> Waiting for Mnesia tables for 30000 ms, 6 retries left When I try to do kubectl describe pod I get this error Conditions: Type Status Initialized True Ready False

How to enable Gitlab CI/CD for Private GKE cluster?

删除回忆录丶 提交于 2020-12-30 02:14:43
问题 I would like to setup the AutoDevops functionality of Gitlab CI/CD, and for that I am trying to setup the existing kubernetes cluster as my environment. However, the Gitlab requires Kubernetes Master API URL that uses to access the Kubernetes API. Kubernetes exposes several APIs, we want the "base" URL that is common to all of them, e.g., https://kubernetes.example.com rather than https://kubernetes.example.com/api/v1. we will get the API URL by running this command: kubectl cluster-info |

How to enable Gitlab CI/CD for Private GKE cluster?

十年热恋 提交于 2020-12-30 02:14:40
问题 I would like to setup the AutoDevops functionality of Gitlab CI/CD, and for that I am trying to setup the existing kubernetes cluster as my environment. However, the Gitlab requires Kubernetes Master API URL that uses to access the Kubernetes API. Kubernetes exposes several APIs, we want the "base" URL that is common to all of them, e.g., https://kubernetes.example.com rather than https://kubernetes.example.com/api/v1. we will get the API URL by running this command: kubectl cluster-info |

How to enable Gitlab CI/CD for Private GKE cluster?

十年热恋 提交于 2020-12-30 02:14:33
问题 I would like to setup the AutoDevops functionality of Gitlab CI/CD, and for that I am trying to setup the existing kubernetes cluster as my environment. However, the Gitlab requires Kubernetes Master API URL that uses to access the Kubernetes API. Kubernetes exposes several APIs, we want the "base" URL that is common to all of them, e.g., https://kubernetes.example.com rather than https://kubernetes.example.com/api/v1. we will get the API URL by running this command: kubectl cluster-info |

How do I statically provision a volume for a StatefulSet?

流过昼夜 提交于 2020-12-29 06:27:19
问题 I am using Google Kubernetes Engine and would like my StatefulSet to use my previously created disk my-app-disk instead of dynamically creating new persistent disk for each replica in the set. My config is as follows: PersistentVolume yaml: apiVersion: v1 kind: PersistentVolume metadata: name: my-app-data labels: app: my-app spec: capacity: storage: 60Gi accessModes: - ReadWriteOnce gcePersistentDisk: pdName: my-app-disk fsType: ext4 PersistentVolumeClaim yaml: apiVersion: v1 kind:

GKE Ingress Resource with NGINX Load Balancer shows strange IP?

非 Y 不嫁゛ 提交于 2020-12-15 09:12:18
问题 I am running a cluster on GKE where the the ingress is configured to use NGINX like so: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/use-regex: "true" .... And I installed the NGINX load balancer on the CLI using Helm. The load balancer console only shows NGINX (and not the Google one), which is good, and my application definitely routes

GKE Ingress Resource with NGINX Load Balancer shows strange IP?

孤街浪徒 提交于 2020-12-15 09:04:07
问题 I am running a cluster on GKE where the the ingress is configured to use NGINX like so: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/use-regex: "true" .... And I installed the NGINX load balancer on the CLI using Helm. The load balancer console only shows NGINX (and not the Google one), which is good, and my application definitely routes

Google Cloud Kubernetes Ingress Static IP address not reflected and different from setup

不想你离开。 提交于 2020-12-15 05:40:04
问题 I am trying to deploy a complete web application using GKE on Google Cloud (backend as nodejs, and frontend angular). Then enable SSL for it afterward. I created a global IP address (And saw it in the list afterward): gcloud compute addresses create mathbux-static-ip --global After that I have deployed both my backend and frontend - containers and yaml files. The problem here is that the IP address reflected on the ingress controller comes from nowhere, and is different from what I set it to

Create GKE cluster and namespace with Terraform

亡梦爱人 提交于 2020-12-15 01:57:34
问题 I need to create GKE cluster and then create namespace and install db through helm to that namespace. Now I have gke-cluster.tf that creates cluster with node pool and helm.tf, that has kubernetes provider and helm_release resource. It first creates cluster, but then tries to install db but namespace doesn't exist yet, so I have to run terraform apply again and it works. I want to avoid scenario with multiple folder and run terraform apply only once. What's the good practice for situaction