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.

Microservices on Kubernetes - The simple way

323 views

Published on

At DevOpsDays india 2016. A talk on how kompose helps to move apps based on docker-compose to Kubernetes.

Published in: Software
  • Be the first to comment

Microservices on Kubernetes - The simple way

  1. 1. MicroServices on Kubernetes - The Simple Way docker-compose to k8s in one line Suraj Deshmukh Red Hat
  2. 2. UX & Simplicity
  3. 3. version: "2" services: redis-master: image: gcr.io/google_containers/redis:e2e redis-slave: image: gcr.io/google_samples/gb-redisslave:v1 environment: - GET_HOSTS_FROM=dns frontend: image: gcr.io/google-samples/gb-frontend:v4 ports: - "80:80" environment: - GET_HOSTS_FROM=dns
  4. 4. Enter kompose!
  5. 5. $ kompose up
  6. 6. What is Kompose? ● Kompose deploys microservices to Kubernetes or OpenShift ● Kompose converts docker-compose.yml file to Kubernetes and OpenShift artifacts. (you can modify artifacts and then deploy)
  7. 7. Demo on Kubernetes $ kompose up
  8. 8. Demo on OpenShift $ kompose --provider openshift up
  9. 9. Plain conversion $ kompose convert
  10. 10. How to contribute ● Github project link: https://github.com/kubernetes-incubator/kompose/ ● Try it out with your docker-compose files, report issues, ask for enhancement, etc. ● All contributions are highly welcome.
  11. 11. Reach out ● Talk to us on #kompose channel on http://slack.kubernetes.io/ ● We do bi-weekly community meeting on Wednesday 22.30 IST at https://bluejeans.com/404059616 Upcoming meeting is on 23rd Nov.
  12. 12. What next? ● Container Orchestration Specification - OpenCompose ● Common to most container orchestration systems like Kubernetes, OpenShift, Mesos-Marathon ● Github repo for spec: https://github.com/redhat-developer/opencompose ● Intro to spec: http://developers.redhat.com/blog/2016/11/03/container-orchestration-spec ification-for-better-devops/
  13. 13. Links: ● Demo repo: https://github.com/surajssd/talks/tree/master/DevopsDaysIndia2016 ● Slides: http://bit.ly/komposeDD
  14. 14. About me: ● Works at Red Hat in Developer tooling team and one of the contributors to Kompose project. ● Twitter: surajd_ ● Slack, IRC: surajd ● Email: surajd@redhat.com
  15. 15. Thank You

×