Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

DEVNET-1183 OpenShift + Kubernetes + Docker

1.586 Aufrufe

Veröffentlicht am

You have heard about containers and would like to see more than some hand waving and slideware. Well sit back and enjoy. We'll cover some basic vocabulary and tech for those who are new to the technology. From there on out, it will be all demos! Starting with just deploying a simple Docker image, we will work all the way up to a complete application and scale it on demand. You will leave a great taste of the technology Red Hat and Cisco will be bringing you to get your application development on the right track!

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

DEVNET-1183 OpenShift + Kubernetes + Docker

  1. 1. APPLICATIONS AND CONTAINERS AT SCALE: OpenShift + Kubernetes + Docker Presented by: Steven Pousty OpenShift/Red Hat @TheSteve0 on Twitter, IRC, Instagram, Ingress, Skype, SmugMug, and Github
  2. 2. Agenda • Cover the tech • Show some demos • Wrap it up
  3. 3. Assumptions • You have written web applications • You like things easy
  4. 4. Platform as a Service
  5. 5. Let’s Start From the Bottom Containers
  6. 6. Defining Container • Based on Linux containers (namespaces, control groups) • Combines file system layers into a "Union File System" • Includes all of the components necessary to run a process, store persistent data, or both • Docker currently provides the best specification for portable applications
  7. 7. Containers vs. VMs
  8. 8. Containers: Pros and Cons Pros: • Extreme application portability • Very easy to create and work with derivative images • Fast boot on containers Cons: • Host-centric solution; not aware of anything else • No higher-level provisioning • No usage tracking / reporting
  9. 9. Wins • Efficient resource usage • BYOB - bring your own bits • A standard way for people to make container images • Huge ecosystem
  10. 10. Kubernetes • "a system for managing containerised applications across multiple hosts" • declarative model – make the world match the truth • open source project by Google
  11. 11. Concepts pod: colocated group of Docker containers that share an IP and storage volumes service: provides a single, stable name for set of pods and acts as basic load balancer replication controller: manages the lifecycle of pods and ensures specified number are running label: used to organise and select groups of objects
  12. 12. Wins • Runtime and operational management of containers • Manage related Docker containers as a unit • Container communication across hosts • Availability and scalability through automated deployment and monitoring of pods and their replicas, across hosts
  13. 13. Division of Labor • Kubernetes provides a container runtime • OpenShift provides the Application, DevOps, and team environment
  14. 14. OpenShift Concepts • application: one or more pods linked together by services; distinct, interconnected components • config: collection of objects describing combination of pods, services, replication controllers, environment variables, and other components • template: parameterised version of config for generalised reuse • build config: object defining source code URI, authentication for change notifications (webhooks), and build type (source-to-image or docker-builder) • deployment: image and settings for it: replication controller, trigger policies, and deployment strategy
  15. 15. DEMO
  16. 16. Wins • Efficiently manage thousands of applications, auto-scaling components independently and updating them en masse • Responsive, change-aware platform supports fault-tolerant, automated, and repeatable builds and deployments • All the tech packaged up and made easier to use
  17. 17. Conclusion • We covered A LOT • For us, it's the Linux story again – huge community through best upstreams - come build with us! • Your world as a sys admin or developer is looking bright • Use containers to have an agreed upon way to manage server bits – We can automate some annoying things - i.e. dev env creation or autoscaling – Template an entire application - infra and code – OpenShift packages all this technology into one nice package

×