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
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
78 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
715 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
138 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
532 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
76 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
66 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
206 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
99 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.
7
votes
1answer
980 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
669 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
323 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
142 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?
8
votes
1answer
17k 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
474 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
139 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
269 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
557 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, ...
19
votes
1answer
815 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
8 9 10 11
12