Code Monkey home page Code Monkey logo

docker-compose-kubernetes's People

Contributors

huggsboson avatar mkantor avatar vyshane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-compose-kubernetes's Issues

Stuck at waiting for cluster

Running ./kube-up-docker-machine.sh sets up the VM and such, but gets stuck at Waiting for Kubernetes cluster to become available...

$ ./kube-up-docker-machine.sh
kubernetes_skydns_1 is up-to-date
kubernetes_master_1 is up-to-date
kubernetes_kube2sky_1 is up-to-date
kubernetes_etcd_1 is up-to-date
kubernetes_proxy_1 is up-to-date
Waiting for Kubernetes cluster to become available...

Looks like the underlying cause may be that kubectl isn't found on my mac. Should that command be available at this step?

docker & docker-machine get slow to respond with timeout

Hi,

On MAC OSX (with boot2docker), my docker and docker-machine are getting slow when my kubernetes cluster is up, after a while I get some timeout and then it doesn't work at all while kubectl still works fine.
Did you note this or is it just me ? Maybe you don't have this issue if you are using linux.

Please share your experience.

Arnaud.

$DOCKER_HOST not defined on linux

This makes the
dns_host=$(echo $DOCKER_HOST | awk -F'[/:]' '{print $4}')
in activate-dns.sh an empty string, ultimately leading to the error:
The Endpoints "kube-dns" is invalid:subsets[0].addresses[0].ip: invalid value '': invalid IPv4 address

In that case, should it be replaced by 127.0.0.1 ? (that's what fixed it for me)

Kube-ui

Would be great to have kube-ui in the docker-compse yaml. :-)

Good job with this docker-compose

Does not support kubernetes secrets

Here's a simple way to see the issue:

  1. Use the kube-up.sh script to set up kubernetes.
  2. Follow http://kubernetes.io/v1.1/docs/user-guide/secrets/README.html to create a secret and a pod that consumes it.
  3. After creating the pod (and waiting some time for the wheels to spin), use kubectl describe pods/secret-test-pod to list the pod's events.

You will see events like these:

FailedSync   Error syncing pod, skipping: IsLikelyNotMountPoint("/var/lib/kubelet/pods/8c8d900f-992c-11e5-836b-46ca7ac5766f/volumes/kubernetes.io~secret/secret-volume"): file does not exist
FailedMount  Unable to mount volumes for pod "secret-test-pod_default": IsLikelyNotMountPoint("/var/lib/kubelet/pods/8c8d900f-992c-11e5-836b-46ca7ac5766f/volumes/kubernetes.io~secret/secret-volume"): file does not exist

And the pod will never make it out of the "Pending" state.

Error after the cluster is up

Hi,

I end up with such error:

$ ./kube-up.sh 
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
WARNING: No swap limit support
kubernetes_proxy_1 is up-to-date
kubernetes_etcd_1 is up-to-date
kubernetes_master_1 is up-to-date
kubernetes_skydns_1 is up-to-date
kubernetes_kube2sky_1 is up-to-date
Waiting for Kubernetes cluster to become available...
Kubernetes cluster is up.
W1221 17:06:47.077436   29898 factory_object_mapping.go:423] Failed to download OpenAPI (Get http://10.192.0.2:8080/swagger-2.0.0.pb-v1: dial tcp 10.192.0.2:8080: getsockopt: no route to host), falling back to swagger
Unable to connect to the server: dial tcp 10.192.0.2:8080: getsockopt: no route to host

Any idea why?

Service account without token

Hi,

Something that caught my eye is that this setup does not create a token for the default service account. Have you experienced the same problem? and if so, how did you fix it?

I'm trying to connect a pod to the API master without going through the Insecure option.

Cheers,
Leo.-

Remove dependency on Docker Compose

We should keep external dependencies to a minimum. Kubernetes addons like DNS and kube-ui are launched using Kubernetes itself, and docker run is sufficient for bringing up the base Kubernetes system.

subsets[0].addresses[0].ip: invalid value '127.0.0.1', Details: may not be in the loopback range (127.0.0.0/8)

I run docker-composer-kubernetes on Linux without $DOCKER_HOST assigned, so it set DNS ENDPOIT to 127.0.0.1. However, in kubernetes the loopback IP can not be used as Endpoint IP(*), so I get error:

subsets[0].addresses[0].ip: invalid value '127.0.0.1', Details: may not be in the loopback range (127.0.0.0/8)

*) https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/services.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.