Live data from Hacker News

Docker for Mac with Kubernetes

docs.docker.com

21–30 of 169 posts

Re: Docker for Mac with Kubernetes

#21
post #10

Docker for Mac is not usable today, because of high cpu due IO [1] [1] https://github.com/docker/for-mac/issues/1759

Oh man. Thanks for sharing this. I thought it was just my Mac.

I have a Dropbox running inside a container on my Mac. Even though there is minimal activity on the account it drains the battery like crazy. Native Dropbox client isn’t great in that regard, but it feels like there is an order of magnitude difference.

Re: Docker for Mac with Kubernetes

#23

Earlier quoted context omitted.

Your docker compose yml is trivially reusable for Swarm. We run it in production and is spectacular . The complexity overhead of kubernetes may be premature when you don't have massive requirements

That's the thing, we use k8s in production and I just used docker-compose for testing in my device environment for the sake of simplicity. Though over time it became not so simple to maintain two parallel config as the system grown up.

that's one of the reason we decided to jump on swarm. And seeing how Swarm has matured and added features, we are very happy.

Azure also comes with a Swarm-mode deployment template which is pretty great (https://github.com/Azure/acs-engine/blob/master/docs/swarmmo...). However, setting up and running Swarm has been a pleasure.

Re: Docker for Mac with Kubernetes

#24

Earlier quoted context omitted.

That's the thing, we use k8s in production and I just used docker-compose for testing in my device environment for the sake of simplicity. Though over time it became not so simple to maintain two parallel config as the system grown up.

that's one of the reason we decided to jump on swarm. And seeing how Swarm has matured and added features, we are very happy. Azure also comes with a Swarm-mode deployment template which is pretty great ( https://github.com/Azure/acs-engine/blob/master/docs/swarmmo... ). However, setting up and running Swarm has been a pleasure.

This is very interesting. I've been looking for middle ground between Dokku and Kubernetes, I'll give swarm a try. Does it handle ingress at all? vhosts, TLS certificates, etc?

Re: Docker for Mac with Kubernetes

#25

Earlier quoted context omitted.

that's one of the reason we decided to jump on swarm. And seeing how Swarm has matured and added features, we are very happy. Azure also comes with a Swarm-mode deployment template which is pretty great ( https://github.com/Azure/acs-engine/blob/master/docs/swarmmo... ). However, setting up and running Swarm has been a pleasure.

This is very interesting. I've been looking for middle ground between Dokku and Kubernetes, I'll give swarm a try. Does it handle ingress at all? vhosts, TLS certificates, etc?

If you're paying for EE, then UCP can do a lot for you. We're using the HRM heavily, and it's very handy.

Re: Docker for Mac with Kubernetes

#26

Earlier quoted context omitted.

This is very interesting. I've been looking for middle ground between Dokku and Kubernetes, I'll give swarm a try. Does it handle ingress at all? vhosts, TLS certificates, etc?

If you're paying for EE, then UCP can do a lot for you. We're using the HRM heavily, and it's very handy.

I don't know what any of those mean :(

Re: Docker for Mac with Kubernetes

#27

Earlier quoted context omitted.

that's one of the reason we decided to jump on swarm. And seeing how Swarm has matured and added features, we are very happy. Azure also comes with a Swarm-mode deployment template which is pretty great ( https://github.com/Azure/acs-engine/blob/master/docs/swarmmo... ). However, setting up and running Swarm has been a pleasure.

This is very interesting. I've been looking for middle ground between Dokku and Kubernetes, I'll give swarm a try. Does it handle ingress at all? vhosts, TLS certificates, etc?

ingress is the most beautiful part of Swarm - it is built in.

however, it does not do termination. You should trivially include a haproxy/nginx pod/service/vm to do the termination for you.

One of the cool new infrastructure features is Docker Cloud - which allows you to "bring your own nodes" for 15$/node/month and setup Swarm. https://docs.docker.com/docker-cloud/cloud-swarm/using-swarm...

Re: Docker for Mac with Kubernetes

#28

I don't understand the use-case here. You want to use Docker+Kubernetes but can't work out the bits to run it in VM's on your own?

A use case would be for Devops to be able to just point developers to a simple and documented method of running this environment in development without having to invest the time into creating and maintaining it themselves or expect the developers to invest into the operations aspects.

Re: Docker for Mac with Kubernetes

#29
post #14

Earlier quoted context omitted.

Kubernetes is enabled for all OSX version

Minor nitpick, it's called macOS now.

I don't understand why people refer to pre-Sierra releases as macOS. Sierra and onwards is called macOS.

guillaumerose was referring to all versions, so both "all OS X versions" and "all macOS versions" would be wrong, no...?

Re: Docker for Mac with Kubernetes

#30

I don't understand the use-case here. You want to use Docker+Kubernetes but can't work out the bits to run it in VM's on your own?

If you need to experiment with k8s locally it's pretty easy to install Kubernetes in one or 2 VMs on your laptop with kubeadm but then you need to install Docker inside this VM. Minikube is also installing another Docker daemon inside their own VM.

Because I already have Docker for Mac installed to be able to build and test images I think it's useful to have this local k8s integration.

Post reply on HN