This document provides an overview of Kubernetes networking and storage capabilities. It begins with an agenda that includes a deep dive on Kubernetes networking and persistent volumes, as well as live demos of persistent storage and another topic. The document then discusses Kubernetes networking at the host level using pods that share IP, IPC, and disk, as well as inter-host networking solutions like OpenShift SDN. It also covers Kubernetes persistent volume claims that allow administrators to provision storage and developers to request storage that is independent of the underlying devices. The document concludes with demos of storage and another topic.
Openshift: The power of kubernetes for engineers - Riga Dev Days 18Jorge Morales
1. The document introduces OpenShift as a container application platform based on Kubernetes that provides developers with tools for building, deploying and managing containerized applications.
2. It discusses key OpenShift concepts like pods, services, projects and image registries that allow grouping and connecting container workloads as well as storing and distributing container images.
3. Hands-on examples and tutorials are provided to demonstrate how developers can use OpenShift to develop multi-container applications from source code to deployment through features like source-to-image builds, deployments and routes.
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...OpenShift Origin
Learn how to build your platform as a service just like RedHat's OpenShift PaaS - covers all the architecture & internals of OpenShift Origin OpenSource project, how to deploy it & configure it for bare metal, AWS, OpenStack, CloudStack or any IaaS, and the community that's collaborating on the project to deliver the next-generation of secure, scale-able PaaS visit: openshift.com for more information
presented at LinuxCon by Diane Mueller in the CloudOpen track
This document discusses OpenShift, an open source Platform as a Service (PaaS) from Red Hat. It provides an overview of OpenShift Origin, including that it runs on Linux, uses brokers and nodes to manage containers called gears that deploy user applications using cartridges. It also summarizes how to get involved with the OpenShift community through forums, blogs, GitHub and IRC/email lists. The conclusion encourages attendees to join the community as PaaS can benefit both developers and sysadmins.
This document provides an overview and summary of OpenShift v3 and containers. It discusses how OpenShift v3 uses Docker containers and Kubernetes for orchestration instead of the previous "Gears" system. It also summarizes the key architectural changes in OpenShift v3, including using immutable Docker images, separating development and operations, and abstracting operational complexity.
This document provides an overview of Red Hat's OpenShift Platform-as-a-Service (PaaS). OpenShift simplifies and automates the development, deployment and scaling of applications. It allows developers to focus on coding instead of managing infrastructure. OpenShift runs applications securely in isolated containers (gears) on top of Red Hat Enterprise Linux. Developers can use integrated tools or a web console to develop, build and deploy applications. OpenShift then automatically scales applications based on demand. The open source OpenShift Origin project allows organizations to run their own private PaaS or contribute to the community.
This document discusses OpenShift v3 and how it can help organizations accelerate development at DevOps speed. It provides an overview of Kubernetes and OpenShift's technical architecture, how OpenShift enables continuous delivery and faster cycle times from idea to production. It also summarizes benefits for developers, integrations, administration capabilities, and the OpenShift product roadmap.
Cloud Native Applications on OpenShiftSerhat Dirik
This document discusses cloud native development and DevOps using OpenShift Container Platform. It begins by defining cloud native as involving both application architecture and the development, deployment and management processes used. It then discusses how containers evolve application delivery and how container platforms are part of the DevOps tool kit. The document outlines the path to DevOps, emphasizing culture, automation and using the right platform. It also notes that DevOps and containers often go hand in hand, with many DevOps adopters using containers. The document then discusses various capabilities of OpenShift and how it supports cloud native development.
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!
Docker, containers, rkt, kubernetes, the Open Container Project, CoreOS, and RancherOS are some of the new buzzwords in cloud. If you've read any articles on them you may have been left thinking this is the new hot technology space but you're unsure of how to leverage it in your own environments. You may even still be wondering how this, in a practical sense, is different from working with virtual machines or the other platforms you've been using.
In this session we'll start with an introduction into containers. We'll look where we are going in computing and how containers can be useful in ways virtual machines can't. From there we'll look at ways you can use containers and Docker in your environments today. We'll round out our time by looking at what's being built with container technology that can help you.
DevOps @ OpenShift Online
Presenter: Adam Miller
As the Release Engineer and a member of Operations team for OpenShift Online, a downstream consumer of OpenShift Origin and the largest Public implementation of OpenShift to date, Adam Miller will discuss what it's like behind the scenes at OpenShift.com and share lessons learned and bring his thoughts and feedback on the future direction of Origin.
This document provides an overview of Container as a Service (CaaS) with Docker. It discusses key concepts like Docker containers, images, and orchestration tools. It also covers DevOps practices like continuous delivery that are enabled by Docker. Specific topics covered include Docker networking, volumes, and orchestration with Docker Swarm and compose files. Examples are provided of building and deploying Java applications with Docker, including Spring Boot apps, Java EE apps, and using Docker for builds. Security features of Docker like content trust and scanning are summarized. The document concludes by discussing Docker use cases across different industries and how Docker enables critical transformations around cloud, DevOps, and application modernization.
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)Eric D. Schabell
Session given at the PTJUG (Portugal JUG):
Whether you're a seasoned Java developer looking to start hacking on EE6 or you just wrote your first line of Ruby yesterday, the cloud is turning out to be the perfect environment for developing applications in just about any modern language or framework. There are plenty of clouds and platform-as-a-services to choose from, but where to start? Join us for an action-packed hour of power where we'll show you how to deploy an application written in the language of your choice - Java, Ruby, PHP, Perl or Python, with the framework of your choice - EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to the OpenShift PaaS in just minutes. And without having to rewrite your app to get it to work the way the cloud provider thinks your app should work.
Check the command-line fu as we leverage Git to onboard apps onto OpenShift Express in seconds, while also making use of the web browser do the heavy-lifting of provisioning clusters, deploying, monitoring and auto-scaling apps in OpenShift Flex.
If you want to learn how the OpenShift PaaS and investing an hour of your time can change everything you thought you knew about developing applications in the cloud, this session is for you!
OpenShift Meetup 8th july 2019 at ConSol - OpenShift v4Robert Bohne
Red Hat OpenShift 4 provides a cloud-like platform for containerized applications that can run on hybrid and multi-cloud infrastructures. It offers full-stack automation for simplified cluster installation and lifecycle management along with over-the-air updates. OpenShift 4 supports deployment on both infrastructure provisioned and managed by Red Hat as well as customer-managed infrastructure. It leverages containers, microservices, and Kubernetes concepts to empower developers to build, deploy and manage applications.
Using Open Source and Open Standards in the Platform gamePatrick Chanezon
This document discusses Docker Inc.'s efforts to establish an open platform for containers through open source and open standards. It summarizes Docker's work on projects like runc, OCI, and containerd that established the building blocks for container technologies. It also notes Docker's rapid growth from 2013 to 2016 and transition from focusing initially on developers to later prioritizing orchestration and production usage through projects like Docker Swarm. The document evaluates how Docker's open source strategy helped establish it as the dominant player in the container space initially before other companies began competing in the container platform market.
1. Docker EE will include an unmodified Kubernetes distribution to provide orchestration capabilities alongside Docker Swarm.
2. When running mixed workloads across orchestrators, resource contention is a risk and it is recommended to separate workloads by orchestrator on each node for now.
3. Docker EE aims to address the shortcomings of running mixed workloads to better support this in the future.
Slides from the talk given to the Startup Berlin Slack Group that demonstrates how TruckIN is implementing its continuous delivery workflow using technologies and open-source tools.
Topics that are covered: Automated Cloud Provisioning (Network, Subnets, VMs, Kubernetes Cluster, Firewall, Disks, Credentials, Private Docker Registry); Configuration Management (Salt Stack), Continuous Integration (Jenkins CI), Continuous Delivery/Deployment (Salt API/Reactor + Kubernetes) to a Google Cloud Kubernetes Cluster, Remote Application Debugging, Managing Google Cloud Kubernetes Cluster, Logging, Monitoring and ChatOps (Slack and operable.io)
This document provides an overview of Kubernetes concepts including architecture, fundamental objects like pods and services, and demonstrations. It begins with an agenda then covers Kubernetes architecture including the master node, worker nodes, and control loop. It describes core objects like pods, replica sets, deployments, services, and labels/selectors. The document demonstrates deploying and accessing the guestbook application using these objects. It concludes with asking for questions and describing goals for educational meetups on cloud native technologies.
OpenShift is a Platform-as-a-Service that provides development environments on demand using containers. It automates application lifecycles including build, deploy, and retirement. OpenShift uses containers to package applications and dependencies in a portable way. Red Hat addresses concerns around adopting containers at scale through OpenShift, which provides security, scalability, integration, management and certification capabilities. OpenShift runs on a user's choice of infrastructure and orchestrates applications across nodes using Kubernetes.
Scalable Python with Docker, Kubernetes, OpenShiftAarno Aukia
This document summarizes a presentation about scaling Python applications using Docker, Kubernetes, and OpenShift. It discusses how the speaker previously ran Python applications on virtual servers, the shortcomings of that approach, and how containerization tools address those issues. It provides an overview of Docker for building application images, Kubernetes for orchestrating containers, and OpenShift for deploying applications to production. The speaker advocates these tools to gain benefits like continuous deployment, easy scaling, and portability across infrastructures.
Achieving Cost and Resource Efficiency through Docker, OpenShift and KubernetesDean Delamont
The document discusses how adopting containerization and microservices technologies like Docker, Kubernetes, and OpenShift can help organizations achieve cost savings, resource efficiency, reduced complexity, accelerated time to market, and greater portability when deploying solutions on OpenStack. Currently, deploying applications on OpenStack using virtual machines is costly due to high resource usage from large VM sizes, installed operating systems, overprovisioned resources, and maintaining active standby instances. The presentation explores how a container-based approach addresses these issues and improves business outcomes.
A look at kubeless a serverless framework on top of kubernetes. We take a look at what serverless is and why it matters then introduce kubeless which leverages Kubernetes API resources to provide a Function as a Services solution.
OpenShift is Red Hat's container application platform that provides a full-stack platform for deploying and managing containerized applications. It is based on Docker and Kubernetes and provides additional capabilities for self-service, automation, multi-language support, and enterprise features like authentication, centralized logging, and integration with Red Hat's JBoss middleware. OpenShift handles building, deploying, and scaling applications in a clustered environment with capabilities for continuous integration/delivery, persistent storage, routing, and monitoring.
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...Kai Wähner
Microservices are the next step after SOA: Services implement a limited set of functions. Services are developed, deployed and scaled independently. Continuous Integration and Continuous Delivery automate deployments. This way you get shorter time to results and increased flexibility. Containers improve these even more offering a very lightweight and flexible deployment option.
In the middleware world, you use concepts and tools such as an Enterprise Service Bus (ESB), Complex Event Processing (CEP), Business Process Management (BPM) or API Gateways. Many people still think about complex, heavyweight central brokers here. However, Microservices and containers are relevant not just for custom self-developed applications, but they are also a key requirement to make the middleware world more flexible, agile and automated.
This session discusses the requirements, best practices and challenges for creating a good Microservices architecture in the middleware world. A live demo with the open source PaaS framework CloudFoundry shows how technologies and frameworks such as Java, SOAP / REST Web Services, Jenkins and Docker are used to create an agile software development lifecycle to realize “Middleware Microservices”. It also discusses other modern cloud-native alternatives such as Kubernetes, Docker, Mesos, Mesosphere or Amazon ECS / AWS.
This document provides an overview and comparison of Docker, Kubernetes, OpenShift, Fabric8, and Jube container technologies. It discusses key concepts like containers, images, and Dockerfiles. It explains how Kubernetes provides horizontal scaling of Docker through replication controllers and services. OpenShift builds on Kubernetes to provide a platform as a service with routing, multi-tenancy, and a build/deploy pipeline. Fabric8 and Jube add additional functionality for developers, with tools, libraries, logging, and pure Java Kubernetes implementations respectively.
This document provides an overview of container orchestration with Kubernetes. It begins with recapping container and Docker concepts like namespaces, cgroups, and union filesystems. It then introduces Kubernetes architecture including components like kube-apiserver, kubelet and kube-proxy. Common Kubernetes objects like pods, services, replica sets and deployments are described. The document also covers Kubernetes networking with options like NodePort, LoadBalancer and Ingress. Additional topics include service discovery, logging/monitoring and persistent storage.
This document provides an overview of Linux containers, Docker, and Kubernetes. It discusses how Linux containers have limitations that Docker aimed to address by providing a platform for managing containers. However, standalone Docker has issues at scale, which Kubernetes was created to solve by offering clustering and orchestration of Docker containers across multiple hosts. Key Kubernetes concepts are explained such as pods, labels, services, and deployments. The document concludes with a reference to a Kubernetes demo.
Robert Barr presents on Kubernetes for Java developers. He discusses Quarkus, Micronaut and Spring Boot frameworks for building cloud-native Java applications. He provides an overview of Docker and how it can package applications. Barr then explains why Kubernetes is useful for orchestrating containers at scale, describing its architecture and key concepts like pods, deployments and services. He demonstrates running a sample application on Kubernetes and integrating with its Java client.
DevNetCreate - ACI and Kubernetes IntegrationHank Preston
This document provides an overview of Kubernetes and how it can be integrated with Cisco Application Centric Infrastructure (ACI) through the ACI Networking plugin for Kubernetes. It discusses Kubernetes concepts like pods, deployments, services and namespaces. It then explains how the ACI plugin maps these Kubernetes objects to ACI objects like endpoint groups, contracts and virtual device contexts to provide network isolation and policies. The rest of the document outlines a hands-on lab where users can set up their own Kubernetes cluster integrated with ACI and deploy applications with different levels of network isolation.
Managing Container Clusters in OpenStack Native WayQiming Teng
This is a presentation from the OpenStack Austin Summit. It talks about managing containers in an OpenStack native way where containers are treated as first class citizens.
The document discusses using Docker containers with OpenStack to deploy applications. It begins with an introduction to Docker and its benefits. It then covers adding Docker support to the OpenStack Nova computing controller to deploy containers instead of virtual machines. The remainder demonstrates setting up DevStack to use Docker with OpenStack and shows examples of launching Docker containers through the OpenStack Horizon web interface.
Oscon 2017: Build your own container-based system with the Moby projectPatrick Chanezon
Build your own container-based system
with the Moby project
Docker Community Edition—an open source product that lets you build, ship, and run containers—is an assembly of modular components built from an upstream open source project called Moby. Moby provides a “Lego set” of dozens of components, the framework for assembling them into specialized container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.
Patrick Chanezon and Mindy Preston explain how you can leverage the Moby project to assemble your own specialized container-based system, whether for IoT, cloud, or bare-metal scenarios. Patrick and Mindy explore Moby’s framework, components, and tooling, focusing on two components: LinuxKit, a toolkit to build container-based Linux subsystems that are secure, lean, and portable, and InfraKit, a toolkit for creating and managing declarative, self-healing infrastructure. Along the way, they demo how to use Moby, LinuxKit, InfraKit, and other components to quickly assemble full-blown container-based systems for several use cases and deploy them on various infrastructures.
Webinar container management in OpenStackCREATE-NET
This webinar covers the topics of Containers in OpenStack and, in particular it offers an overview of what containers are, LXC, Docker and Kubernetes. It also includes the topic of Containers in OpenStack and the specific examples of Nova docker, Murano and Magnum. In the final part there are live Demos about the elements covered earlier.
The document provides an overview of containers and Kubernetes. It discusses the need for containers due to microservices and infrastructure as code. It then covers technical details of containers like Dockerfiles, images, and registries. It also discusses Kubernetes and its components like kube-apiserver, etcd, and kubelet. Finally, it covers Kubernetes concepts like pods, services, deployments, and how they are configured.
WSO2Con ASIA 2016: Revolutionizing WSO2 App Cloud with Kubernetes & DockerWSO2
Containerization is fast becoming the most efficient way to develop and deploy software solutions in the Cloud. Docker embraced this space by fulfilling the above requirements and attracting the industry within a very short period of time. Google solved container cluster management features by initiating the Kubernetes project over a decade of experience on running container technologies at scale.
WSO2 App Cloud enables you to deploy applications using these technologies. In this tutorial we will demonstrate how WSO2 products can be run on Kubernetes. We will also give a preview of the upcoming WSO2 App Cloud which is deeply integrated with Kubernetes for hosting applications.
This tutorial will include
An introduction to Docker and Kubernetes
Deploying WSO2 products on Kubernetes
Kubernetes as the runtime provider for WSO2 App Cloud
This presentation talks about how to use GlusterFS in Openshift to provide Storage for application pods. If you need more details please refer http://humblec.com/persistent-volume-and-persistent-volume-claim-in-openshift-and-kubernetes-using-glusterfs-volume-plugin/
This document provides an overview of Kubernetes networking concepts including:
- Pods share the same network namespace so containers within a Pod can communicate via loopback, while different Pods each get their own IP address.
- Services provide load-balancing to Pods through labels and selectors, with a single IP/port exposed for a set of Pods. This includes options for east-west (Pod-to-Pod) and north-south (external access) traffic.
- Ingress controllers provide layer 7 routing and load-balancing for external access to Services within a cluster.
- Network policies allow restricting traffic to Pods using selectors and rules for ingress sources and egress destinations.
Tell the history of Container/Docker/Kubernetes, and show the key elements of them.
After view this document, you could know the main feature of Container Docker and Kubernetes.
Very basic infomation about how these technique work together.
StatefulSet is used to run PostgreSQL pods across Kubernetes nodes for high availability. When a pod fails, StatefulSet will restart the pod on the same node. However, if the entire node fails, the PostgreSQL pod will not failover to another node by default. To manually failover the pod, it needs to be force deleted and it will restart on a different ready node. However, manual failovers are not recommended for production use.
A Comprehensive Introduction to Kubernetes. This slide deck serves as the lecture portion of a full-day Workshop covering the architecture, concepts and components of Kubernetes. For the interactive portion, please see the tutorials here:
https://github.com/mrbobbytables/k8s-intro-tutorials
Similar to Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive (20)
CViewSurvey Digitech Pvt Ltd that works on a proven C.A.A.G. model.bhatinidhi2001
CViewSurvey is a SaaS-based Web & Mobile application that provides digital transformation to traditional paper surveys and feedback for customer & employee experience, field & market research that helps you evaluate your customer's as well as employee's loyalty.
With our unique C.A.A.G. Collect, Analysis, Act & Grow approach; business & industry’s can create customized surveys on web, publish on app to collect unlimited response & review AI backed real-time data analytics on mobile & tablets anytime, anywhere. Data collected when offline is securely stored in the device, which syncs to the cloud server when connected to any network.
A captivating AI chatbot PowerPoint presentation is made with a striking backdrop in order to attract a wider audience. Select this template featuring several AI chatbot visuals to boost audience engagement and spontaneity. With the aid of this multi-colored template, you may make a compelling presentation and get extra bonuses. To easily elucidate your ideas, choose a typeface with vibrant colors. You can include your data regarding utilizing the chatbot methodology to the remaining half of the template.
Seamless PostgreSQL to Snowflake Data Transfer in 8 Simple StepsEstuary Flow
Unlock the full potential of your data by effortlessly migrating from PostgreSQL to Snowflake, the leading cloud data warehouse. This comprehensive guide presents an easy-to-follow 8-step process using Estuary Flow, an open-source data operations platform designed to simplify data pipelines.
Discover how to seamlessly transfer your PostgreSQL data to Snowflake, leveraging Estuary Flow's intuitive interface and powerful real-time replication capabilities. Harness the power of both platforms to create a robust data ecosystem that drives business intelligence, analytics, and data-driven decision-making.
Key Takeaways:
1. Effortless Migration: Learn how to migrate your PostgreSQL data to Snowflake in 8 simple steps, even with limited technical expertise.
2. Real-Time Insights: Achieve near-instantaneous data syncing for up-to-the-minute analytics and reporting.
3. Cost-Effective Solution: Lower your total cost of ownership (TCO) with Estuary Flow's efficient and scalable architecture.
4. Seamless Integration: Combine the strengths of PostgreSQL's transactional power with Snowflake's cloud-native scalability and data warehousing features.
Don't miss out on this opportunity to unlock the full potential of your data. Read & Download this comprehensive guide now and embark on a seamless data journey from PostgreSQL to Snowflake with Estuary Flow!
Try it Free: https://dashboard.estuary.dev/register
Explore the rapid development journey of TryBoxLang, completed in just 48 hours. This session delves into the innovative process behind creating TryBoxLang, a platform designed to showcase the capabilities of BoxLang by Ortus Solutions. Discover the challenges, strategies, and outcomes of this accelerated development effort, highlighting how TryBoxLang provides a practical introduction to BoxLang's features and benefits.
What is OCR Technology and How to Extract Text from Any Image for FreeTwisterTools
Discover the fascinating world of Optical Character Recognition (OCR) technology with our comprehensive presentation. Learn how OCR converts various types of documents, such as scanned paper documents, PDFs, or images captured by a digital camera, into editable and searchable data. Dive into the history, modern applications, and future trends of OCR technology. Get step-by-step instructions on how to extract text from any image online for free using a simple tool, along with best practices for OCR image preparation. Ideal for professionals, students, and tech enthusiasts looking to harness the power of OCR.
introduction of Ansys software and basic and advance knowledge of modelling s...sachin chaurasia
Ansys Mechanical enables you to solve complex structural engineering problems and make better, faster design decisions. With the finite element analysis (FEA) solvers available in the suite, you can customize and automate solutions for your structural mechanics problems and parameterize them to analyze multiple design scenarios. Ansys Mechanical is a dynamic tool that has a complete range of analysis tools.
Attendance Tracking From Paper To DigitalTask Tracker
If you are having trouble deciding which time tracker tool is best for you, try "Task Tracker" app. It has numerous features, including the ability to check daily attendance sheet, and other that make team management easier.
Break data silos with real-time connectivity using Confluent Cloud Connectorsconfluent
Connectors integrate Apache Kafka® with external data systems, enabling you to move away from a brittle spaghetti architecture to one that is more streamlined, secure, and future-proof. However, if your team still spends multiple dev cycles building and managing connectors using just open source Kafka Connect, it’s time to consider a faster and cost-effective alternative.
An MVP (Minimum Viable Product) mobile application is a streamlined version of a mobile app that includes only the core features necessary to address the primary needs of its users. The purpose of an MVP is to validate the app concept with minimal resources, gather user feedback, and identify any areas for improvement before investing in a full-scale development. This approach allows businesses to quickly launch their app, test its market viability, and make data-driven decisions for future enhancements, ensuring a higher likelihood of success and user satisfaction.
React and Next.js are complementary tools in web development. React, a JavaScript library, specializes in building user interfaces with its component-based architecture and efficient state management. Next.js extends React by providing server-side rendering, routing, and other utilities, making it ideal for building SEO-friendly, high-performance web applications.
Docker Meetup - Melbourne 2015 - Kubernetes Deep Dive
1. Networking & Storage Deep Dive
Ken Thompson
Senior Cloud Solution Architect
Melbourne Docker Meetup - October 2015
KUBERNETES: THE HELMSMEN
2. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive2
Agenda
Kubernetes Deep Dive
● Kubernetes Networking
● Kubernetes Persistent Volumes
● Live Demos:
– Persistent Storage
– Something Fun!...
3. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive3
Container orchestration at scale
KUBERNETES
● Scale workloads across a cluster of
container hosts
● Declarative state of environment
that gets managed
● Intelligent policy-based scheduling
● Multi-host networking support (with
OpenShift-SDN/OvSwitch etc.)
● Multi-host shared storage for
containers
● Image update mechanisms (with
OpenShift Deployment Configs -
rolling update, a-b, etc.)
4. Melbourne Docker Meetup Oct 2015 - K
ubernetes Networking & Storage Deep
Dive
4
KUBERNETES DEEP DIVE:
NETWORKING
5. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive5
DOCKER IN-HOST NETWORKING
Suitable for single-host, not for multi-host
● Docker assigns an IP to each
container
● Its local and private only by default
● Complex for multi-host
● Plugins starting to become available
● Now we have a container..hold on!
– What happens If we want to
have containers sharing
filesystem
– Or IPC communications
– Or localhost communications
(mysql & phpmyadmin for eg.)
eth0
Linux bridge: docker0: 172.17.42.1/16
vethXXX
172.17.x.x/16
container
eth0
vethXXX
172.17.x.y/16
container
eth0
6. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive6
KUBERNETES IN-HOST NETWORKING
Kubernetes Pods
● Pods (aka gears in OSE v2)
– Pod typically runs only one
container for independent scaling,
with exceptions such as “sidecars”.
Ie. MySQL & phpMyAdmin
– Same IP / network namespace
– Same IPC
– Ability to share disk
– Scheduled on same machine
– Atomic unit
– Can listen (to other containers)on
127.0.0.1 or 0.0.0.0
7. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive7
INTER-HOST NETWORKING
Solutions Available
PROGRAMMABLE
INFRA
● GCE – each host gets a
subnet of 256 Ips
● AWS 40-100 Ips per
host
● Custom enterprise
networking
OVERLAY NETWORKS
● Flannel (ie. Atomic
Host) – subnet with
simple overlay.
● Others solutions
available like Weave,
etc.
Open vSwitch
● OpenStack
● Very large
deployments
● Programmable
● OpenShift-SDN uses
this
8. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive8
● Kubernetes assigns 10.1.x.0/24 subnet to pods in each node
● Gateway IP 10.1.x.1 is assigned to lbr0
● Out of the box with OpenShift, Open vSwitch VXLAN overlay is used to connect nodes/pods
● Flat network, allow subdivision via flows
OPENSHIFT-SDN NETWORKING
OVS: br0
vxlan0
eth0
vovsbr
Linux bridge: lbr0: 10.1.0.1/24
vlinuxbr
veth pair
vethXXX
Pod
10.1.0.2
eth0
vethXXX
Pod
10.1.0.3
eth0VXLAN
VXLAN overlay
OVS: br0
vxlan0
eth0
vovsbr
Linux bridge: lbr0: 10.1.1.1/24
vlinuxbr
veth pair
vethXXX
Pod
10.1.1.2
eth0
vethXXX
Pod
10.1.1.3
eth0
10.1.1.0/24
VXLAN
9. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive9
● OpenShift-SDN or similar overlays allow communications within a cluster, but how do
access from outside; ie. WWW?
● Router Pod – Runs HAproxy, proxies incoming traffic through SDN – HTTP/S Only
OPENSHIFT-SDN ROUTING
10. Melbourne Docker Meetup Oct 2015 - K
ubernetes Networking & Storage Deep
Dive
10
KUBERNETES DEEP DIVE:
STORAGE
11. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive11
DOCKER STORAGE CONSTRAINTS KUBERNETES GOALS
CONTAINER STORAGE
1) Containers are ephemeral
(stateless), once they disappear, so
does the data
2) You can mount the host filesystem,
but
1) What about loss of host?
2) How do you scale across
1000s of hosts?
3) How is this data shared?
1) Allow administrators to describe
available storage
2) Allow application developers to
discover and request persistent
storage
3) Persistent storage should be
available without being closely
bound to a particular disk, server,
network or storage device
4) Support iSCSI, NFS, EBS, Gluster,
Ceph… and many more!
Problem Statement
12. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive12
PERSISTENT VOLUME CLAIMS
● Admins add PVs to cluster [1]
● Like Pods, PVClaims live in a
namespace
● Pods [3] and Pvclaims [2] are
requests for resources by users
● Users request resources with
limits, like cpu usage by a
container or storage capacity of a
volume [2]
● OpenShift binds requests to
available resources
● Multiple access modes
(RWO,ROM,RWM)
Requests for storage
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: myclaim
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
kind: Pod
apiVersion: v1
metadata:
name: mypod
spec:
containers:
- name: myfrontend
image: dockerfile/nginx
volumeMounts:
- mountPath: "/var/www/html"
name: mypd
volumes:
- name: mypd
persistentVolumeClaim:
claimName: myclaim
POST:
kind: PersistentVolume
apiVersion: v1
metadata:
name: pv0001
spec:
capacity:
storage: 10
nfs:
Server: srv.com
path: /data/path
1 2
3
13. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive13
DB
Host 1 Host 2
Storage Pool
Kubernetes Persistent Volumes
CONTAINER STORAGE
mysql-claim
pv0001
Network Storage NFSiSCSI EBS RBD
2. Dev “Claims” PV
1. Admin creates PV
14. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive14
DB
Host 1 Host 2
DB
What happens to a container & its storage when a node is lost?
CONTAINER STORAGE
Storage Pool
mysql-claim
pv0001
Network Storage NFSiSCSI EBS RBD
15. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive15
What happens to a container & its storage when a node is lost?
CONTAINER STORAGE
DB
Host 1 Host 2
DB
Storage Pool
mysql-claim
pv0001
Network Storage NFSiSCSI EBS RBD
16. Melbourne Docker Meetup Oct 2015 - K
ubernetes Networking & Storage Deep
Dive
16
Storage Demo
(https://github.com/openshift/origin/tree/master/examples/wordpress)
&
HexBoard Demo
(https://www.youtube.com/watch?v=wWNVpFibayA&feature=youtu.be&t=24m25s)
17. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive17
Free Kubernetes eBook
OpenShift Enterprise Test-Drive
(Free 8 hour Environment on AWS)
Questions?
http://red.ht/1NbW2wi http://red.ht/1MQVgqb
Plus some great ways to get started with Kubernetes...
19. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive19
WHAT ARE LINUX CONTAINERS?
Software packaging concept that typically includes an application and all of
its runtime dependencies
● Easy to deploy and portable
across host systems
● Isolates applications on a
host operating system
● In RHEL, this is done through:
● Control Groups (cgroups)
● Kernel namespaces
● SELinux, sVirt, iptables
● Docker
HOST OS
SERVER
CONTAINER
LIBS
APP
20. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive20
TRADITIONAL OS VS. CONTAINERS
Traditional OS Containers
HARDWARE
HOST OS
HARDWARE
HOST OS
CONTAINER
LIBS
APP A
LIBS A LIBS B LIBS LIBS
APP A APP B
CONTAINER
LIBS
APP B
Packaged dependencies = faster boot times + greater portability
21. Melbourne Docker Meetup Oct 2015 - Kubernetes Networking & Storage Deep Dive21
Developers can access OpenShift via Web, CLI or IDE
OPENSHIFT 3
Turn-key solution for Developer Productivity + Container Orchestration