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.

2352 questions
0
votes
1 answer

Ansible - jenkins plugin failing on Google Container Engine (GKE) - infinite loop with ingress

I have such config for ansible: - hosts: localhost connection: local tasks: - name: Jenkins - add job jenkins_job: config: "{{ lookup('file', 'jenkins_conf/pipeline_staging.xml') }}" …
0
votes
1 answer

Azure Kubernetes container machine doesn't connect to server

I have created a new Azure container machine with kubernetes as orchestration. After ssh to my master machine , I tried to check kubernets version by kubectl version. But it was unable to connect the server machine. Client Version:…
user5594493
  • 103
  • 1
0
votes
1 answer

How to tell Kubernetes which nodes to put kube-system pods?

When I create a node-pool for a specific purpose, is there a way to tell Kubernetes not to put kube-system pods such as kube-proxy on those nodes (which consumes memory)? When this happens, the actual pod that is supposed to request all the memory…
yonran
  • 797
  • 2
  • 11
  • 22
0
votes
1 answer

How to use minikube on Windows 10 home edition?

I use mingw on Windows. It likes Linux. I downloaded minikube and kubectl Windows edition and set alias in ~/.bashrc: alias minikube=/c/Users/username/minikube/minikube.exe alias kubectl=/c/Users/username/kubectl/kubectl.exe If I run minikube or…
cloud_cloud
  • 165
  • 2
  • 4
  • 15
0
votes
1 answer

kubeapi server as kubernetes pod

My apologies if this is not the correct place to ask this. I'm a bit baffled by the cluster that some kubernetes deployment scripts generate (like kubeadm). It seems that kube-api server itself runs as a pod inside the Kubernetes cluster itself.…
Jeroen Jacobs
  • 1,386
  • 3
  • 16
  • 25
0
votes
0 answers

gcloud container clusters get-credentials is randomly failing

I use Jenkins running with the official helm chart, spawning kubernetes pods on GKE, and I have the following part in my Jenkinsfile: ... withCredentials([file(credentialsId: "${project}", variable: 'key')])…
0
votes
2 answers

Create user on kubernetes

How can I create additional user on Kubernetes so that he/she can access Kubernetes cluster both from web-ui and CLI (kubectl) and allow that user to administrate a specific namespace?
0
votes
0 answers

Mismatch between request external IP and forwarding rule k8s service target

We are running two separate subdomains, each on a separate external IP address, and each matched to its own kubernetes nginx service. The configuration looks like this: #-------------------- # config for administrative nginx ssl termination…
0
votes
1 answer

Orchestrating multiple databases

We have a project where our hosting clients are offered a database (MySql) as part of their plan and I was curious how would one orchestrate this. We want to run the databases on different machines to where the web servers run. I was thinking on…
Romeo Mihalcea
  • 522
  • 1
  • 9
  • 27
0
votes
1 answer

Kubernetes LoadBalancer works Only for Port 80 and not Others on Google Cloud

I am having trouble exposing ports other than port 80 on my Google Cloud Kubernetes cluster. Below is the Kubernetes service yaml file, but for some reason only port 80 is exposed. I have SSHed into the pods and can confirm that they are internally…
0
votes
1 answer

Kubernetes: recommended way to copy another production db to staging

What would be the recommeded way of copying the production database into staging? Let's say the a link to the production db dump is already available to the staging server. When doing it by hand, I have to: stop any pods with apps that are…
Ramon Tayag
  • 479
  • 2
  • 7
  • 17
0
votes
1 answer

Kubernetes hosted service connection timeouts

I have a service running inside Kubernetes proxied by multiple nginx pods that do SSL termination and basic authentication. I am seeing connection timeouts to the endpoint on a subset of traffic. I have made a series of unique requests to the…
Tanner
  • 143
  • 8
0
votes
1 answer

What QoS does Kubernetes assign to a pod with a single container?

I'm trying to debug OOM issues in our GKE cluster. On Google's recommendation I've assigned memory limits to most of our pods. In reading the QoS docs I see that there are three classes, Guaranteed, Bustable, and Best Effort, and that those are…
jwadsack
  • 201
  • 1
  • 8
0
votes
1 answer

Dockerized Jenkins on GCP Kubernetes gives "No valid crumb was included in the request"

I've tried to run the latest Jenkins (2.19.3) on Google Cloud Platform, by directly deploying the Jenkins Docker image. The process starts fine, but as soon as I try to use some form (e.g. to create a user) I get the "No valid crumb was included in…
0
votes
1 answer

kubernetes to resolve custom internal nameserver

When the pods on GKE k8s are deployed they have the ability to connect to other GCE (google compute engine) instances by ip or google metadata DNS server name. I use internal bind installed on 2 (master/slave) GCE instances for resolving. Let say…
nelasx
  • 161
  • 1
  • 9