Excellent. The job feature has been a godsend. We had a hacky version for one-off jobs but k8-job feature removed some of those complexities. cron-jobs will be one step closer to an ideal solution.
We have to thank the community for the amazing work in this release - Stateful application support, laptop development in one command and cross cluster service federation. Onward and upward!
Yep! For those that haven't seen it - https://github.com/kubernetes/minikube
It's really cool - even runs a FULL UI locally (minikube dashboard), and supports xhyve, virtualbox, KVM and VMWare Fusion.
TL;DR
# For Mac
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.4.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# For Linux
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.4.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
$ minikube start
$ (99% of regular kubernetes commands here)
We mainly use the VM to provide a well-known and tested environment for Kubernetes to run in. Running inside a Docker container on Linux would have similar benefits, but there are still a few bugs with running some of the Kubernetes components inside containers.
I don't know if this is why, but when I work with Docker on Linux, I prefer to use docker-machine's VM layer because that way, I don't need to run docker commands as root.
My only complaint with the VM layer is it's harder to have faster iterations with local development. I know this isn't the documented way to develop with kubernetes but I often use containers with -v $PWD:/app to test things interactively
That's pretty cool, as some of the Kubernetes installation procedures can look a little daunting.
One question though, are there any plans to support Windows as a host OS for this (either via VMWare Workstation or Hyper-V directly, or via something like Vagrant)?
you linked to the 0.4.0 version, but apparently there's a 0.5.0 version now; replacing 0.4.0 with 0.5.0 worked for me, and 0.5.0 seems to work better on osx 10.10.
Great experience using it so far. I'm using the virtualbox driver, but does anyone know if using the xhyve driver will conflict with docker for mac beta? Looks like they are using docker-machine under the hood?
Has the documentation website been updated? I'm still seeing a lot of things that link directly to "release-1.2" and I can't find any information about RBAC. Kubernetes is great, but the docs have never been treated as a first-class citizen. I'd love to see the docs be considered part of the deliverable that is a release.
1) Can you say more what you're looking for? Specifically image checkpoint/restore? Something else?
2) Yes! We're hiring :) However, you can start working on k8s wherever you are - we're 100% open source.
Suspect the parent may be talking about CRIU support? I think it's a way off, but it is definitely worth thinking about how this would work in Kube world.
Is the open source work on Kubernetes at Google being done directly on the GitHub repo or is there an internal mirror where work is first done and internal issues tracked separately, similar to Android?
100% open (there is no mirror repo that I'm aware of). There's certainly internal discussion, particularly when some members of the team don't want to be "seen in public", but this isn't like other projects where it's sync'ed from a hidden internal repo.
Disclaimer: while I work at Google on Cloud, and know the K8s folks, I've never even committed any changes.
It doesn't support checkpoints or container migrations right now, but it does go out of its way to hide from pods all the details about the host, in order to support them in a future release.
An error occurred trying to connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/build?buildargs=...
usetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&rm=1&shmsize=0&t=gcr.io%2F<HIDDEN>%2Fhello-node%3Av1&ulimits=null: open
//./pipe/docker_engine: The system cannot find the file specified.
The instruction that I needed to run 'Docker Quickstart' (as Administrator) was not obvious.
I guess it is difficult to describe the steps when there is a major difference between platform methods (windows 7 and Docker Toolbox vs win 10 with Docker).
After that I am up and running. Thanks for the pointer.
I have a cluster that I'm looking to upgrade on AWS and was holding off for some information on upgrade procedures but I see this "Instructions coming soon" under "Known Issues and Important Steps before Upgrading".
We have a brand new repo for fixing these things - https://github.com/kubernetes/kubernetes.github.io - but that said, if you EVER run into something misleading, outdated or incomplete, please ping immediately!
Thanks! I'm aware of that repo. I think the problem is much deeper than can be fixed by creating more issues in the repo. The docs for k8s really need to be approached holistically by a technical writer or someone else who works on it full time. What's there now, and the approach the project has taken towards docs thus far, has resulted in information that is inconsistent, not well organized, and not well maintained. I think comprehensive documentation should be considered a requirement for a release—just as important as the code or the test suite. Software is only useful if people can figure out how to use it, and it's very hard to do that when it's so difficult to find high quality information.
Docker Swarm (built into Docker 1.2) is in the same econiche as Kubernetes, but is not as mature. It is still catching up, and probably more on par with pre-1.0 Kubernetes feature-wise. Kubernetes is what Docker will be when it grows up.
Note: I don't work for Docker or on the Kubernetes team. I have put things into production with Docker, Docker Compose, AWS ECS, and Kubernetes 1.1 on AWS for the past two years and have built tools on top of K8S.
I'm confused as to whether scheduled jobs is in this release. Great work k8s team.
edit: I see it got pushed to 1.4 https://github.com/kubernetes/kubernetes/issues/28496. Too bad, I was really looking forward to that.