CNA1612BU Deploying real-world workloads on Kubernetes and Pivotal Cloud Foundry VMworld 2017 Fred Melo, Director of Technology, Pivotal Merlin Glynn, Sr. Technical Product Manager, VMware Content: Not for publication #VMworld #CNA1612BU
Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitment from VMware to deliver these features in any generally available product. Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features discussed or presented have not been determined. #CNA1612BU CONFIDENTIAL 2
There Are Many ways to Package & Run Workloads CONTAINERS MICROSERVICES DATA SERVICES BATCHES MONOLITHIC APPLICATIONS EVENT-DRIVEN FUNCTIONS 3
The Goal: Pick the Right Approach for the Workload CONTAINERS MICROSERVICES Container Orchestrator (CaaS) DATA SERVICES BATCHES Application Platform (PaaS) IaaS MONOLITHIC APPLICATIONS Serverless Functions (FaaS) EVENT-DRIVEN FUNCTIONS 4
Choose The Right Tool For The Job Developer Provides Tool Provides Container Orchestrator CONTAINER Container Scheduling Primitives for Network, Routing, Logs & Metrics VMworld 2017 Application Platform APPLICATION Container Orchestrator Container Image & build L7 Network & Routing Logs, Metrics, Monitoring Services Marketplace Team, Quotas & Usage Serverless Functions FUNCTION Application Platform Content: Not for publication Container Orchestrator Function scheduling Function exec services IaaS 5
Choose The Right Tool For The Job Developer Provides Tool Provides Container Orchestrator CONTAINER Container Scheduling Primitives for Network, Routing, Logs & Metrics Application Platform APPLICATION Container Orchestrator Lower complexity, higher efficiency Container Image & build L7 Network & Routing Logs, Metrics, Monitoring Higher flexibility, lower standardization Services Marketplace Team, Quotas & Usage Serverless Functions FUNCTION Application Platform Container Orchestrator Function scheduling Function exec services IaaS 6
Choose The Right Tool For The Job ABSTRACTION Container Orchestrator CONTAINER Pivotal Container Service BOSH Application Platform APPLICATION Pivotal Cloud Foundry Elastic Runtime Serverless Functions FUNCTION Application Platform Container Orchestrator Function scheduling Function exec services IaaS 7
Choose The Right Tool For The Job ABSTRACTION Container Orchestrator CONTAINER Pivotal Container Service Application Platform APPLICATION Pivotal Cloud Foundry Elastic Runtime Monitoring Tracing Logging Pivotal Cloud Foundry Services BOSH IaaS 8
Choose The Right Tool For The Job Platform Operator Container Orchestrator Multi-cloud Provide a reliable and smooth CONTAINER experience for any cloud. Open APIs Allow platform operations from different toolsets and the creation of CD pipelines. Pivotal Container Service Consistency Provide a consistent setup experience, across different cloud environment configurations. Application Platform Pivotal Cloud Foundry Elastic Runtime Monitoring Patches Patching platform components APPLICATION with thousands of apps running Tracing should feel normal. Scaling Seamlessly scale Logging platform components to accommodate changing demand. Upgrades. How do you roll out new versions of the platform with the lights on? Pivotal Cloud Foundry Services BOSH IaaS 9
PKS Controller Kubernetes K8s Cluster K8s Cluster K8s Cluster BOSH GCP Service Broker Harbor NSX-T Built with open-source Kubernetes. Constant compatibility with the current stable release of Kubernetes, operated by BOSH. No proprietary extensions. Production-ready. highly available from apps to infrastructure, no single points of failure. Built-in health checks, scaling, auto-healing and rolling upgrades. Multicloud. BOSH provides a reliable and consistent operational experience. For any cloud. Network management and security out-of-the-box with VMware NSX-T. Multi-cloud, multi-hypervisor. GCP APIs access. The GCP Service Broker allows apps to transparently access Google Cloud APIs, from anywhere. Easily move workloads to/from Google Container Engine (GKE). GCP Azure Openstack AWS Fully automated Ops. Fully automated deploy, scale, patch, upgrade. No downtime. Use CD pipelines to deploy your platform, too. 1 0
Analytics Logging Operations Automation Monitoring Security Container Registry etcd vsphere master VMware PKS worker Kubernetes on BOSH (Kubo) NSX etcd BOSH (PKS) master worker vsan GCP Service Broker Physical Infrastructure 11
What to deploy to CF vs K8s? Please help me decide!!
Higher flexibility and less enforcement of standards Application Platform Container Orchestrator IaaS or Hardware distribution Lower development complexity and higher operational efficiency Strategic goal: Push as many workloads as technically feasible to the top of the platform hierarchy 13
Developer Platform Operator CONTAINERS MICROSERVICES BOSH MONOLITHIC APPLICATIONS DATA SERVICES or distribution 14
Run this app for me, I don t care how Perfect for 12-Factor apps Application Platform Platform builds containers The platform takes care of container creation and management from source code. Pivotal makes sure they re always up-to-date. Out-of-box app logging, metrics, tracing and monitoring. No additional configuration required. Create services on demand On-demand service brokers allow dynamic creation and binding of service dependencies, offered through a marketplace. 15
Developer `cf push` war Here is my source code Run it on the cloud for me I do not care how Root FS Build Pack Staging Drop war let PCF Routing PCF Routing PCF Routing A I URL Request: myapp.foo.com myapp.foo.com Availability Zone 1 Availability Zone 2 Availability Zone 3 PCF Elastic Runtime A I 16
Choose The Right Tool For The Job Cloud Native Application Development - 12-Factor apps - Spring Boot - Microsoft.NET - Any technology supported by the PCF Buildpacks - Platform Provides Service Mesh Legacy Application Development Persistent Data Volumes - Native Docker Tooling- Non Standard Port Apps - No Buildpack - App Requires declarative hardware- 17
Container Orchestrator Run this container for me. I ll provide and manage the image, configure port binds, routes and dependencies Ideal for packaged apps, apps/services exposing multiple ports and where finer grain control is needed Developer builds containers. Developers are responsible for containers creation and management More Customization K8s offers more extension points and customization possibilities. Higher Flexibility. K8s allows explicitly port bind definitions and container co-location (Pods). 18
URL Request: myapp.foo.com/k8siscool Developer `kubectl apply f myapp.yml` Master etcd Service: nodeport ingress kube-proxy kube-proxy POD or Docker Registry Worker K8s Cluster Load Balancer distribution POD Worker 19
New Cloud Native Development Persistence Cloud Provider Volumes MongoDB, CouchDB, Couchbase, Elastic Search, Services Managed as a cluster nodes need to communicate with one another often with the help of service meshes such as Istio or Linkerd Spark, Elastic Search (ELK) Misc things like multiple ports, etc. Needing new architectural primitives 20
ISVs Apps are already or need to be containerized I ve had two large banks ask me My vendors are giving me their software as containers. Where do I run them? - Forrester Analyst Enterprise Redis, AppDynamics, etc. App teams are using containers as their single deployable artifact App team requires control of whole stack (app & exec) But IT (Platform team) have a pretty healthy understanding of the controls that are needed. (Optimistic) Best practices and scanning (Pessimistic) Standardized images and container creation pipelines (um, yeah, that looks a bit like buildpacks) Some app teams are building the platforms to deploy and manage their containerized workloads - Mesos, Kubernetes,. 21
Choose The Right Abstraction PCF + K8S Container Elastic Runtime (ERT) App App App CF API Platform Services Developer App App App Logging Metrics Monitoring Application Application Platform Other Service Brokers BOSH Manual or Build Automation Platform Operator KUBERNETES API Pivotal Container Service (PKS) Kubernetes Cluster Cluster Cluster GCP Service Broker NSX-T 22
Choose The Right Abstraction PCF + K8S Container Elastic Runtime (ERT) App App App CF API Platform Services Developer App App App Logging Metrics Monitoring Application Application Platform PKS Controller Other Service Brokers BOSH KUBERNETES API Pivotal Container Service (PKS) Kubernetes Cluster Cluster Cluster GCP Service Broker NSX-T 23
Container Elastic Runtime (ERT) App App App Choose The Right Abstraction PCF + K8S CF Routing Platform Services App App App Logging Metrics Monitoring Consumer Or Micro-Service CF Routing Application Application Platform PKS Controller Other Service Brokers BOSH K8S Routing Pivotal Container Service (PKS) Kubernetes Cluster Cluster Cluster GCP Service Broker NSX-T 24
DRI Architect for Agility Architect the right Abstractions Automate Everything Build for Failure Control Virtual Data Center Platform Operator Automation Agility Day 2 Operations Control BOSH Developer Pivotal Cloud Foundry PCF Application Services or Container Services Application Logging & Monitoring Self Service PKS BOSH powered Kubernetes vsphere NSX vsan Wavefront vrli (Dev) vrli (Ops) vrops vrni
Developer Ready Infrastructure @ VMworld VMworld US Key Focus Description CNA1509BU DRI Developer-Ready Infrastructure from VMware & Pivotal CNA1612BU CNA2006BU PCF & PKS DRI Use Cases: Deploying real-world workloads on Kubernetes and Pivotal Cloud Foundry Deep Dive: Architecting Container Services with VMware and Pivotal Developer Ready Infrastructure CNA2080BU PKS Deep Dive: How to Deploy and Operationalize Kubernetes CNA3429BU CNA3430BU MGT2871BU PKS PCF PCF & vrops, vrli Basics of Kubernetes on BOSH: Run Production-grade Kubernetes on the SDDC Your Enterprise Cloud-Native App Platform: An Introduction to Pivotal Cloud Foundry Bridging the Operations Gap Between the Software-Defined Data Center and Pivotal CF for VMware Deployments NET1523BU PCF & NSX Integrating NSX and Cloud Foundry PAR4411PU DRI Emerging Technologies with VMware and Pivotal - presented jointly by VMware, Pivotal and Special Guest Speakers from Cognizant and WWT 26
Demo
Any Questions