Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

For more details, visit the official Kubernetes page.

2075 questions
1
vote
0 answers

Configure Google Cloud Storage plugin with Curator cronjob on GKE Elasticsearch cluster

I deployed an Elasticsearch cluster on GKE, using this project as a starting point: https://github.com/pires/kubernetes-elasticsearch-cluster I would like to configure two Curator jobs by using Kubernetes CronJob objects, to snapshot the indices,…
1
vote
1 answer

Traefik + k8s + Let's Encrypt wildcard SSL + Cloudflare issue

I'm trying to set-up a reverse proxy with wildcard SSL using Traefik, with a DNS challenge against a Cloudflare zone. I have this config in k8s: kind: ConfigMap apiVersion: v1 metadata: name: traefik-https namespace: kube-system data: …
Lee Benson
  • 143
  • 7
1
vote
1 answer

Kube dns wont connect to the Kubernetes api process

Running kubernetes v1.10.0 amd kube-dns using the gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.8 container When the kube-dns container starts it says this in the log: I0610 06:47:06.051414 1 round_trippers.go:398] curl -k -v -XGET -H…
GeoSword
  • 1,647
  • 12
  • 16
1
vote
1 answer

unwanted nodes from different pools in load-balancer configuration

In our google cloud (kubernetes backed) configuration of multiple projects, workloads and service (load-balancers), we specifically configure load-balancers but the configuration seems to change. We specifically add nodes to our load-balancers,…
Brad Rust
  • 13
  • 2
1
vote
1 answer

Azure Internal LB not reachable even though same config works if LB is external

I have a Kubernetes AKS cluster running in a Site-2-Site connected subnet. Kubernetes is able to automatically create an external LB for a service. This ends up with a config that looks like this: Frontend IP config: 52.123.123.12 Backend pools:…
valorl
  • 150
  • 4
1
vote
2 answers

nginx-ingress controller crashes every few days

I have single-machine (untainted) Kubernetes cluster on bare metal CentOs. I'm using nginx-ingress-controller as the gateway. The image I use is from https://quay.io/repository/kubernetes-ingress-controller/nginx-ingress-controller. I was using…
Djent
  • 89
  • 4
  • 15
1
vote
1 answer

create persistent ubuntu deployment in kubernetes

i,m trying to create a persistent Ubuntu Kubernetes deployment my idea was to mount the entire Ubuntu pod file system to a persistent volume here is what i tried apiVersion: apps/v1 kind: Deployment metadata: name: ubuntu labels: app:…
moses
  • 83
  • 1
  • 12
1
vote
1 answer

How to access apps that have been deployed in k8s on Google Cloud Platform using a Google Cloud Engine HTTP(S) Load Balancer?

Aim: to access apps that reside in a kubernetes (k8s) namespace using an HTTP(S) Load Balancer (HLB) Methods TCP load balancing (TLB) (layer 4) A k8s cluster has been created on Google Cloud Platform (GCP) A static IP was created A TLB was created,…
1
vote
1 answer

Mongodb in Kubernetes Timeouts when inserting large amount of data

We have an api in running which receives once a day multiple batches of large data that are inserted in a mongodb. We use the cvallance/mongo-k8s-sidecar for the replicationset configuration This works perfectly on a local mongodatabase. there is…
1
vote
1 answer

Automatically created ingress firewall rules for Google Kubernetes Engine cluster

When deploying a cluster to a single zone/network, there are some firewall rules automatically created by GKE. Trying to get clarification for all of these currently, but failing with one of these rules. Rule 1: For this I need clarification Rule…
1
vote
0 answers

Cannot change /etc/hosts in docker container with read_only root filesystem

I am trying to add a line in /etc/hosts file with a specific IP and a hostname. The IP is static and the hostname is retrievable from the /etc/hostname. However, I want my root file system to be read-only. So I get the following error: /etc/hosts:…
belabrinel
  • 125
  • 1
  • 6
1
vote
1 answer

When creating a regional node pool with gcloud. The nodes do not register

When running the following gcloud command on my existing GKE cluster…
1
vote
1 answer

Automatic rollbacks for deployments

Is there any way to perform an automatic rollback of a failed deployment? Any documentation? I only see manual action in the documentation.
Pacolotero
  • 131
  • 4
1
vote
1 answer

Gcloud kubernetes nginx unable to find upstream host after cluster upgrade

I have just upgraded my cluster and nodes to v1.7.12 and recreated all pods successfully except for my nginx pod which keeps on failing with the error: nginx 2018-02-17T08:38:07.965745644Z nginx: [emerg] host not found in upstream "gunicorn" in…
1
vote
1 answer

Can't read from /proc/self/attr/current, but permissions are 0666

I'm working with an externally created script that reads from /proc/self/attr/current to get SELinux configuration info. It seems that, even though permissions on the file are 0666, on some systems this file can be read with no problem while on…
dbush
  • 153
  • 8