O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

OpenShift meetup Bangalore

191 visualizações

Publicada em

This talk was presented at first OpenShift Bangalore meetup. It showcases what is OpenShift PAAS and how can you deploy app on OpenShift, etc

Publicada em: Software
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

OpenShift meetup Bangalore

  1. 1. OpenShift overview - Suraj Deshmukh @surajd_
  2. 2. Introduction ● OpenShift Origin is an application platform where developers and teams can build, test, deploy, and run their applications. ● Simply, OpenShift is open-source PAAS from Red Hat
  3. 3. Why OpenShift? ● You don't have to waste time in setting up environment. ● All you need to do is develop apps. ● To make life easier add webhooks to Jenkins, Github, etc. ● Provides a standard way for admins to resource monitoring, scaling, application monitoring, performance, etc rather than spending time on setting up environment.
  4. 4. Architecture
  5. 5. Architecture ● Docker and Kubernetes are core components of OpenShift. ● Docker is core and Kubernetes is heart and kidney of OpenShift that keeps it running. ● OpenShift runs on top of Kubernetes cluster, with data stored in etcd.
  6. 6. Things OpenShift adds to Kubernetes ● Source code management, builds, deployments. ● Managing and promoting images using Source to Image (S2I) and Internal Docker Registry. ● OpenShift is more of developer facing and Kubernetes is more of operations teams. ● Dedicated web console ● Team and User tracking for organizing a large developer organization. ● App management at scale.
  7. 7. Contributions from RHT/OpenShift to Kubernetes
  8. 8. Benefits of OpenShift over orchestration providers ● So when using Docker or Kubernetes directly you start with containerizing your application i.e. build your own containers. ● But with OpenShift you don’t have to worry about it, OpenShift will build containers for you. ● But if you want to run your own containers you can do that as well.
  9. 9. Demo! ● Building and deploying app on OpenShift ● Hexboard App https://github.com/2015-Middleware-Keynote/hexboard
  10. 10. Source to Image ● Source to Image, it downloads your code, detects the environment, builds the code as a developer would do, on a base image specific to that environment, if build is successful the image is pushed to internal OpenShift registry. ● Enables rapid deployment. ● Allows the underlying image to be up to date with somebody else managing it for you.
  11. 11. OpenShift Router ● It’s a point of contact for external world. ● By default it is HAProxy based router, but OpenShift supports other routers as well. ● It looks at the host header of incoming traffic and depending on it, the traffic will be assigned to particular service and service will then pass it to pods. ● It can be deployed by cluster admin.
  12. 12. How do I get OpenShift? ● RED HAT Container Development Kit http://developers.redhat. com/products/cdk/download/ ● Atomic Developer Bundle https://github.com/projectatomic/adb-atomic- developer-bundle/tree/master/components/centos/centos-openshift-setup
  13. 13. Try deploying apps yourself ● Django application https://github.com/openshift/django-ex ● NodeJS application https://github.com/ryanj/http-base and https://github. com/openshift/nodejs-ex ● php application https://github.com/openshift/cakephp-ex ● Ruby application https://github.com/openshift/ruby-ex
  14. 14. Learning about OpenShift ● OpenShift for Developers (free e-book) ● OpenShift Docs ● OpenShift Videos ● Free Video Course: “New, no-cost course: Deploying Containerized Applications” http://developers.redhat.com/blog/2016/02/11/new-no-cost- course-deploying-containerized-applications/
  15. 15. OpenShift offerings ● OpenShift Origin - OpenSource upstream project. ● OpenShift Online - A publicly hosted PAAS for individual developers or teams. ● OpenShift Dedicated - Deploy, manage and support OpenShift instances running on AWS. ● OpenShift Enterprise - For organizations who want to deploy and manage their OpenShift instances on their choice of on-premise hardware or certified cloud provider.
  16. 16. References ● Red Hat Launches OpenShift Dedicated, Delivering its Container Application Platform as a Public Cloud Offering https://www.redhat.com/en/about/press-releases/red-hat-launches-openshift-dedicated-delivering-its-container- application-platform-public-cloud-offering ● What Is the OpenShift Architecture? https://docs.openshift.org/latest/architecture/index.html ● Red Hat’s contribution to Kubernetes http://www.slideshare.net/drettori/kube-12 ● OpenShift 3 Walkthrough https://www.youtube.com/watch?v=yFPYGeKwmpk ● Using GitHub Webhooks on your local machine https://www.youtube.com/watch?v=--wNO4lV6WA ● Docker, Kubernetes, OpenShift: Deploy, Scale, Build - Ryan Jarvinen https://www.youtube.com/watch? v=jRzYv7KaZKo ● S2I https://docs.openshift.com/enterprise/3.0/architecture/core_concepts/builds_and_image_streams.html#source- build

×