Creating and running docker containers cluster with Kubernetes on AWS

4/4/2016

I downloaded kubernetes (using the command below):

export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash

Now I have 4 minions machine and one master machine in my aws account.

I want my cluster to run 3 docker containers (just a random number), just to see how this works.

currently I don't have my own docker containers so I want to create just demo ones, maybe using some popular image from the docker hub.(image to create containers of https://hub.docker.com/r/williamyeh/scala/)

How do I proceed from here? How do I create those containers and link them with the cluster?

I'm using Mac.

-- Ninja
amazon-web-services
docker
java
kubernetes
scala

1 Answer

4/4/2016

You may want to familiarize yourself with some basic kubernetes concepts such as pods and services. You can also follow step-by-step examples to learn how to run real applications.

-- Yu-Ju Hong
Source: StackOverflow