Tag: kubernetes

Kubernetes multi-tier container application

I have two Docker containers running Flask and redis each that communicate well when linked using Docker container linking. I am trying to deploy the same on Kubernetes using services and pods but, it’s not working. I am learning Kubernetes so I must be doing something wrong here. Below are the Docker commands that work […]

Deploy my application to cluster of multiple vms using orchestration tools

Kubernetes is orchestration system for Docker containers. This means: I can deploy and scale my application using it, and it will ensure that my application (that consistes of microservices) is up and running. Now I want to use it to deploy my application to a cluster. My cluster consists of 3 virtual-machines that run Ubuntu […]

Docker application support in Hadoop YARN

I need to process a large (terabytes) set of data (mainly images). I was thinking of using Hadoop YARN with HDFS to process these data. The idea is to ingest all the data into HDFS and then submit Hadoop job to process the data. YARN will deploy the processing application close to the data and […]

How do I expose Docker a Docker port via Kubernetes in Google Cloud?

I am trying to wrap my head around provisioning Docker instances in Kubernetes on Google Cloud. I have build a replica controller that specifies a single pod and defined a port to be exposed, but it is not being exposed. Here is my containers.yaml: apiVersion: v1 kind: ReplicationController metadata: name: postgres spec: replicas: 1 selector: […]

Docker container IP's not communicating in kubernetes cluster

I have a kubenetes cluster running successfully. I have tried bringing applications in the cluster like a simple nginx. I have a setup of master-minion and a minion node. The problem here is that I’m able to launch applications from the master-minion node but when I bring up applications in another minion it gives me […]

Kubernetes Guestbook Example Not Loading Page

New question: I’ve followed the guestbook tutorial here: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/guestbook/README.md And the output of my commands match their outputs exactly. When I try to access the guestbook web server, the page does not load. Specifically, I have the frontend on port 80, I have enabled http/s connections on the console for all instances, I have run […]

How do I debug a kube-proxy that's only proxying portal IP traffic to localhost and not other instances?

I’m running CoreOS and trying to get service 1 to talk to service 2. If both service 1 and 2 have launched on the same instance, everything works. However, if service 1 and 2 are scheduled on different instances, no dice. Here’s my replication controllers: $ kubectl get replicationcontrollers CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS app-server […]

Deploy Docker container using Kubernetes

I’m learning about Kubernetes because it’s a very useful tool to manage and deploy container. So My question is: For example i have 2 instances Amazon EC2 called Kube1 and Kube2. So on Kube1 i create some container using Docker and deploy wordpress successfully. Now i want to make a cluster between Kube1 and Kube2 […]

Operation is not supported while cat memory usage of docker

Environment Ubuntu 13.04 Docker 1.7.0 (and 1.6.2) Problem After starting up kubernetes cluster, I find it’s hard to get the minion resource info, so I cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes, Ubuntu complains that “operation is not supported” even cat with sudo. Docker did not support ubuntu raring right now, and I’ve installed Docker 1.6.2 and 1.7.0 from ppa, […]

How to mimic “–oom-kill-disable=true” in kuberenetes?

–oom-score-adj=-999 of kubelet command seems not work. From now on, I find only the docker run –oom-kill-disable works fine to avoid containers killed by oom. so is there a way to mimic this option in kubernetes? via environment variables?

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.