Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Current Status of Kubernetes-powered Docker for Mac Platform

8,923 views

Published on

Kubernetes powered Docker for Mac 17.12 GA is available. This presentation talks about the current status and useful links and information around the announcement

Published in: Engineering
  • Be the first to comment

Current Status of Kubernetes-powered Docker for Mac Platform

  1. 1. Ajeet Singh Raina Docker Captain Date – 1/7/2018 The Current Status of Kubernetes-powered Docker for Mac Platform
  2. 2. Kubernetes powered Docker for Mac 17.12 GA Release [Current Status] - Experimental K8s is only available under Docker for Mac 17.12 CE Final Edge Release. [Updated - 1/6/2018] - Kubernetes powered D4M is not available under Docker for Mac 17.12 CE Final Stable Release [ Updated – 1/6/2018] - Experimental K8s is not yet available under Docker for Windows 17.12 GA Edge or Stable Release.[Updated – 1/5/2018] - Experimental K8s is not yet available for Linux Platform.[ Updated – 1/4/2018] - K8s powered Docker for Windows is slated to come by February 2018. [ Updated – 1/6/2018] - D4M 17.12 CE Edge includes a standalone Kubernetes server & client as well as Docker CLI Integration. - The Kubernetes server runs within a Docker container on your Mac, and is only for local testing
  3. 3. Kubernetes powered Docker for Mac 17.12 GA Release [Current Status] - The Kubernetes server runs locally within your Docker instance, is not configurable, and is a single-node cluster - If you independently installed the Kubernetes CLI, kubectl, make sure that it is pointing to docker-for-desktop and not some other context such as minikube or a GKE cluster. Run: kubectl config use-context docker-for-desktop. If you experience conflicts with an existing kubectl installation, remove /usr/local/bin/kubectl - The Docker for Mac Kubernetes integration provides the Kubernetes CLI command at /usr/local/bin/kubectl. No need to install kubectl. IT COMES OUT-OF-THE-BOX. - If you already have a Kubernetes YAML file, you can deploy it using the kubectl command. - Use the DOCKER_ORCHESTRATOR variable to override the default orchestrator for a given terminal session or a single Docker command
  4. 4. Kubernetes powered Docker for Mac 17.12 GA Release [Important Points] • Future Release of Docker Platform will include both orchestration options available – Kubernetes and Swarm • Swarm CLI will be used for Cluster Management while for orchestration you have a choice of Kubernetes & Swarm • Full Kubernetes API is exposed in the stack, hence support for overall Kubernetes Ecosystem is possible. • Docker Stack Deploy will be able to target both of Swarm or Kubernetes. • Kubernetes is recommended for the production environment • Running both Swarm & Kubernetes is not recommended for the production environment. • AND by now, you must be convinced – “SWARM MODE CLI is NOT GOING ANYWHERE”
  5. 5. Kubernetes powered Docker for Mac 17.12 GA Release Why is Docker making this announcement? Ask from community & customer – - To have both Swarm and K8s available for the pockets within their organization that are using it - TO make K8s easier to manage - For a Docker Dev to Ops experience with K8s - For advanced capabilities of Docker EE around the secure software supply chain, HA and automation for K8s - To make K8s management available across Windows, multiple Linux distros & Cloud
  6. 6. Test locally on Swarm and Kubernetes Develop with Docker Community Edition on your workstation Deploy to production in Swarm Deploy to production in Kubernetes Docker Community Edition All in one development for Swarm and Kubernetes
  7. 7. Kubernetes powered Docker for Mac 17.12 GA Release Docker Compose Docker Stack Deploy Familiar Docker CLI & Tools to deploy Swarm & Kubernetes $docker stack ls $docker service ps $kubectl get stacks –o name Deployment Updates Rollback Logs Scaling
  8. 8. Reference • http://collabnix.com/integration-of-docker-swarm-kubernetes-under-docker-for-mac-platform/ • http://collabnix.com/a-first-look-at-kubernetes-integrated-docker-for-mac-platform/
  9. 9. Thank You

×