Questions tagged [kubernetes]

For questions about Kubernetes, an open-source system for automating deployment, scaling, and management of containerized applications.

Filter by
Sorted by
Tagged with
2
votes
1answer
7k views

Docker and Kubernetes integrations compatibility matrix?

Two example integrations of Docker and Kubernetes are OpenShift and Rancher Labs AFAIK. Sadly but in fact we have not completely escaped us from the dependency hell. Question: is there an ...
1
vote
1answer
864 views

How to identify the physical IP of where Kubernetes API server runs

Question In a Kubernetes cluster, there is a Docker network IP which looks to be the API server. However, not sure how to identify the physical IP and location of the box in which it is working. If ...
2
votes
2answers
223 views

In kubernetes, using an nginx ingress controller what is recommended way of adding back end services?

I'm running on a simple KVM host and have poor man's load balancing with round robin DNS to and nginx ingress based on this chart which is documented here So to direct traffic to backend pods it ...
3
votes
1answer
50 views

Waiting for Solr to load

By current state of the art, we cannot enforce an ordered start sequence of service containers directly, neither in Docker Swarm nor in Kubernetes. (Maybe there is a standard solution for that via a ...
3
votes
0answers
394 views

Kubernetes on Azure, how do I reuse an existing disk in a new PersistentVolume? [closed]

I currently have a managed Azure disk created from a Azure disk snapshot of a Kubernetes Persistent Volume that no longer exists. I would like to know how to reuse the restored disk in a new '...
2
votes
1answer
127 views

String to specify to KUBE_SERVICE_ADDRESSES (API Server configuration)

What are the strings to set to KUBE_SERVICE_ADDRESSES and their meanings? Which documentation or GitHub repo to look into to understand? Background: I have seen a few strings but not sure what these ...
4
votes
1answer
913 views

Kubernetes API Server KUBE_SERVICE_ADDRESSES parameter and Pod Network configuration

Question Where is the Kubernetes documentation regarding KUBE_SERVICE_ADDRESSES parameter of API server and Pod network configuration? Background KUBE_SERVICE_ADDRESSES parameter value needs to go ...
7
votes
1answer
526 views

Where is the documentation of Kubernetes API server configurations?

Questions Where is the explanations or documentations of the Kubernetes API Server configuration parameters? Background There are parameters to configure for Kubernetes API server e.g. ...
14
votes
2answers
10k views

Docker In Kubernetes Deployment

I am using a third party library that creates sibling docker containers via: docker run -d /var/run/docker.sock:/var/run/docker.sock ... I am trying to create a Kubernetes deployment out of the ...
11
votes
1answer
344 views

What are spells of Kubernetes?

Question What is spell of conjure-up in Kubernetes? Background Following Kubernetes on Ubuntu and run conjure-up kubernetes which showed the snapshot asking which spell to choose. But not sure what ...
2
votes
3answers
1k views

Kubernetes External Access Of A Single Pod

I am running a kubernetes cluster in AWS. I have 2 nodes. I have one pod that should be accessible externally. The problem is, that pod can be on either node. The solution according to the docs: ...
1
vote
1answer
1k views

Internet connection inside Docker container in Kubernetes

I have a Kubernetes pod based on a Jenkins/slave container to which I mount a Docker socket and a Docker binary file with necessary kernel modules in privileged mode. Inside that pod I build a ...
1
vote
1answer
5k views

Use K8s Deployment Hostname In YAML Config

I am trying to convert some K8s examples from ReplicationControllers to Deployments. These examples are for a Selenium grid located: https://github.com/kubernetes/examples/tree/master/staging/selenium ...
6
votes
1answer
2k views

How to replicate a mongodb pod with its persistent storage

I made these settings : apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: name: mongo-claim0 name: mongo-claim0 namespace: my-app spec: ...
0
votes
1answer
76 views

Creativity use case scenario? [closed]

i am a devops learner, just finished graduation actively looking for jobs in the field of DevOps. I am learning many tools like GIT, Jenkins, Chef, Docker , Nagious, ELK, AWS, etc. Can anyone link ...
8
votes
1answer
1k views

How to make Tiller highly available?

I'm using helm to deploy my services to a Kubernetes cluster. I want to improve the service availability of my tiller pod. So I scaled the tiller deployment to 2 replicas. Helm is working as before ...
2
votes
1answer
688 views

Kubernetes flannel pod getting the wrong network

Flannel running in a pod is getting the wrong subnet and networking is just not happy, the symptom is flannel is being assigned /24's from the 10.105.0.0/16. it should be assigning /26's from 10.105.5....
0
votes
1answer
120 views

Kubernetes user mode in production

Docker daemon has to run in root mode which brings up security discussions. How is this with Kubernetes daemon - can it run not as root? Note: both of these products allow you to reduce the scope ...
7
votes
1answer
528 views

What is a minimal viable number of hosts for an experimental Kubernetes cluster?

For example, to play with Docker Swarm in a way which makes sense you need 2 or better 3 hosts, right? What is that number for K8S?
0
votes
1answer
67 views

Kubernetes image concept compared to Docker?

Reading the K8S images article, I see there support for images from Azure, Google Cloud Registry and Amazon EC. But, why is there no support for Docker Hub? Is there any sane way to process/deploy ...
1
vote
1answer
64 views

How to start the latest version of k8s using minikube?

When a k8s cluster is created using minikube, the output indicates that an outdated version of k8s is deployed: user@host ~ $ minikube start Starting local Kubernetes v1.6.4 cluster... Starting VM...
2
votes
2answers
194 views

Docker-compose + Kubernetes: backports.ssl_match_hostname.CertificateError

I have a complete docker stack (source) which uses docker-compose. It works fine by its own, but now I'm trying to deploy it in Kubernetes' Minikube and when after eval $(minikube docker-env) I try ...
3
votes
2answers
94 views

When to put all containers in a pod and when to deploy them individually?

One of the reasons for asking this question is that it seems to be impossible to access a container using kubectl exec when these are deployed in a pod.
5
votes
1answer
861 views

How to create named volumes in Kubernetes?

Several named volumes have been created in docker-compose. How to create these in Kubernetes? How to transform the following named volume example defined in docker-compose to kubernetes format ...
2
votes
1answer
653 views

Why is the K8s UI not available when rancher is used?

K8s has been created using rancher, but when one would like to access the UI it shows: Service unavailable Methods Method 1 rancher was deployed locally using vagrant k8s was deployed click the ui ...
5
votes
2answers
303 views

Load balancing kubernetes cluster on budget KVM provider?

There are a lot of cheap KVM providers these days that offer simple nodes with just a single external IP per node, without any load balancing. What is a typical budget load balancing solution for ...
5
votes
1answer
134 views

Is making kubernetes masters schedulable a really bad idea?

It's a cash strapped start-up. What are the worst consequences of running only three nodes, three schedulable masters? Are there some ways can one mitigate against the risks?
6
votes
1answer
15k views

New Kubernetes Cluster: remote error: tls: bad certificate

This is my first attempt at setting up a Kubernetes cluster in my test environment. In preperation, I created 3 instances running Fedora Atomic: 10.11.184.8: master/etcd 10.11.184.5: node01 10.11.184....
5
votes
2answers
1k views

Deploying a Kubernetes cluster for production on multiple clouds

I want to install a highly available kubernetes cluster (multiple master nodes) on a public cloud (AWS, Azure, GCP and maybe others). I'm looking for a non-vendor specific option to do it. I'm aware ...
8
votes
1answer
467 views

Persistent Storage with Docker in Production - Which Solution and Why?

I've recently started working for a company that wants to break their monolithic SaaS application up into containerized microservices. I'm having a hard time grasping a fundamental part of persistent ...
9
votes
1answer
1k views

Conflicting Kubernetes CPU usage & Docker Container Metrics

We recently switched over our production environment to Kubernetes. I'd like to enforce CPU limits on the containers. I'm getting conflicting CPU metrics that do not fit together. Here's my setup: ...
8
votes
1answer
129 views

Debug BackendConnectionErrors from Kubernetes Service LoadBalancer sesrvice

We recently moved some of our production infrastructure to Kubernetes. Many pods are exposed through a LoadBalancer service on AWS. This creates an ELB, registers each node in the cluster with the ELB,...
2
votes
1answer
257 views

openshift fails to deploy jenkins

When I try to deploy jenkins-ephemeral on openshift 1.5, it fails with the following error message error: couldn't get deployment jenkins-3: Get https://172.30.0.1:443/api/v1/namespaces/projectname/...
13
votes
2answers
1k views

Docker Container capacity planning

I'm running my application on 4 Virtual Machines with 8 3.2 GHz Virtual CPUs and 32 GB, however, I will be splitting up the processes into separate containers. I am not sure how many containers to ...
13
votes
2answers
534 views

Combine Docker Swarm and Kubernetes

My company is trying to play a little catch-up in the DevOps space. I have been doing a lot of research on containerization of applications and the orchestration systems that go with it. I came across ...
2
votes
0answers
1k views

How exactly does Kubernetes work? [closed]

I understand how containers work and the concept of containerizing. However, I am having trouble understanding how Container Cluster Managers work. I was reading through this excellent blog post, ...
18
votes
1answer
782 views

What functional differences are there between kubernetes, rancher and mesos?

What are the main feature differences the popular container orchestration tools kubernetes, rancher, and mesos? What would lead you to choose one over the other?

1
6 7 8 9
10