SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Krasimir Semerdzhiev / @evilyeti
SAP SE
Practical experience with
Kubernetes, Istio and Knative
2© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Krasimir Semerdzhiev (aka Krassi aka @evilyeti)
Gamers’ Workshop
Magazine
ProSyst GmbH
SAP Hybris à SAP Customer Experience
InQMy Labs
SAP Labs Bulgaria
SAP SE
1999
2016-…
Using Kubernetes: …2.5 years later
4© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
KUBE-APISERVER
API
CLI
Kubernetes – basic architecture
Apache 2.0 licensed
ETCD
KUBE-SCHEDULER
CLOUD-CONTROLLER MANAGER
KUBE-CONTROLLER MANAGER
CLOUD PROVIDER
KUBERNETES MASTER
NODE
KUBE PROXY
KUBELET
POD
CONTAINER
NODE
POD
CONTAINER
NODE
POD
CONTAINER
CONTAINER REGISTRY
PLUGIN NETWORKOPERATOR/
DEVELOPER
KUBE PROXY
KUBELET
KUBE PROXY
KUBELET
USERS
…
5© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
• Project “Seven” or “The better Borg”
• Large developer ecosystem
• Declarative state
• Portability – de-facto standard
• “Run any workload”
• Platform for building platforms
Noteworthy
10+ years of experience in
running “borglets” and “omletes”!
6© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
• Mind your base image and keep it small! Don’t use :latest tag.
• One process per container!
• Immutable containers!
• Don’t use root users!
• Make your file system read-only!
• Never restart – crash cleanly instead! Use readiness and liveness probes
• Stdout and stderr
• Use ExternalName services
• Helm charts for installation
Noteworthy
7© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Anybody else running it at SAP?
8© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Spinning Up Kubernetes ... the Usual Way
Master
Master
Master
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
HA
Master
Master
Master
Worker/
Minion
Worker/
Minion
Worker/
Minion
HA
Master
Master
Master
Worker/
Minion
Worker/
Minion
HA
Master
Master
Master
Worker/
Minion
HA
Master
Master
Master
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
HA
Worker/
Minion
Worker/
Minion
Master
Worker/
Minion
Control plane (often in HA and on separate
hardware, usually quite underutilized)
The actual workload (managed by Kubernetes,
usually pretty well utilized)
Worker/
Minion
Master
Worker/
Minion
Worker/
Minion
Master
Worker/
Minion
9© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Spinning Up Kubernetes...the Gardener Way
Seed Cluster
Master
Master
Master
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
HA
Worker/
Minion
Shoot Clusters
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
Worker/
Minion
manages
Worker/Minion
Think outside the box /
Move outside the box!
ETCD
API Server
Scheduler Controller Mgr
API Server
ETCD
SchedulerController Mgr
…
ETCD
Worker/
Minion
Worker/
Minion
Auto-scaling via native
hyperscale provider
service
or controller on bare
metal
Gardener
10© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Using Istio: … 8 minor releases later
12© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Basic micro-service challenges
• Each service has a well-defined purpose and data store
• Many loosely-coupled services with remote dependencies
• Significant “integration” overhead for every service (log
collection, APM, client SDKs) + updates
• Any technology (Go, node.js, Java, Vert.x, etc.)
From Monoliths to Microservices
AppServer + Frameworks
• Coherent application server instance, providing all
framework SDKs/clients
• Tight coupling and non-transparent dependencies
• Minimal “overhead” for the individual app
• Limited technology choice (Java + JVM-based)
13© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Official mission statement:
Istio is an open platform for providing a uniform way to integrate
microservices, manage traffic flow across microservices, enforce policies
and aggregate telemetry data. It provides an abstraction layer over the
underlying cluster management platform, such as Kubernetes, Mesos, etc.
Community members/contributors:
• Google + IBM
• + Envoy from Lyft
Real use forward:
Istio will replace significant part of the traditional Java application server
layer + the SPI/SDK interaction patterns, established over the last 15
years. It’ll allow micro-service developers to FOCUS on their stuff, solving
the plumbing challenge with the underlying infrastructure.
With all the 15+ years of
WebSphere experience!
Istio
What is Istio?
14© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
To be a network for running (not only micro!) services
§ Visibility & Discovery
§ Resiliency & Efficiency
§ Traffic Control
§ Security
§ Policy Enforcement
WHAT ISTIO FOCUSES ON?
15© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Outbound features:
• Service authentication
• Load balancing
• Retry and circuit breaker
• Fine-grained routing
• Telemetry
• Request Tracing
• Fault Injection
Inbound features:
• Service authentication
• Authorization
• Rate limits
• Load shedding
• Telemetry
• Request Tracing
• Fault Injection
WHAT IS A SIDE-CAR AND HOW DOES ISTIO USE IT?
17© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Extremely convenient for micro-service developers
Automatic security token handling
Service roles align with RBAC in Kubernetes
Metrics + requests tracing out of the box to Prometheus
Mutual-TLS via the local side-car
No need for cross-team “adaptation projects”
Breaks the strong technology coupling for services
Noteworthy
Kyma: … taking it all together
19© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Business Events
API calls
Any
Open Service Broker
(OSB) compatible
service provider
Business services
ApplicationConnectivity
ServiceCatalog
Flows
Microservices
API Exposure
Functions
EventBus
Service
Management
Knative
Kubernetes
Third Party System
Customer System
§ Legacy
§ On Premise
§ External System
§ Cloud Solution
SAP® C/4HANA
SAP Marketing Cloud
SAP Commerce Cloud
SAP Sales Cloud
SAP Service Cloud
SAP Customer Data Cloud
SAP S/4HANA®
Service
Consumption
On -
Premise
On -
Premise
Kyma – extensibility in a box
Apache 2.0 licensed, kyma-project.io
20© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Kubernetes
Istio
Prometheus
FluentD/Bit
Serverless
Eventing
Cloud Native
Developer
Experience
Service Mesh
Service Broker /
Catalog
Micro Frontends
Application
Integration
Customization /
Integration Toolbox
Lightweight PaaS
Smart Scaling
BuildPacks
Deployment
Management
Automation
Golang
Resource Efficiency (CPC)
CloudEvents
Knative Kyma
Zipkin
Jaeger
Nats /
Nats Streaming /
Message routing
Lifecycle
Management
API exposure
Open Tracing
Kyma next to Knative
Wormholes
21© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
What to do, what to do?
22© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Knative launch + Kyma launch on the same stage
• SAP involvement in Knative
• Kyma open sourced (kyma-project.io)
Separate session to outline SAP OSS projects (video):
• Project Kyma as a cloud native extension
framework developed by SAP
• Gardener as the Kubernetes clusters as a service
implementation from SAP
• SAPmachine.io the friendly OpenJDK fork from SAP
with free maintenance releases
Go all in! J à Jul ‘18: Kyma launch at Google Cloud Next ‘18
Getting involved in Knative: … as we speak
24© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
What is Knative
25© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
What is Knative
Function
App
Container
Registry
26© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
“Serverless is more than
functions!”
~ Knative team
27© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Anyone using it?
28© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Scale to zero – true pay-per-use
Traffic splitting via dynamic routes (80/5/5/5/5)
Integrates networking and service mesh automatically
Reasonable object model
Batteries included (logging and monitoring), but pluggable
Auto-scaler is interchangeable
In-cluster build
Noteworthy
29© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
“Knative will almost certainly
become the standard plumbing
for functions-as-a-service on
Kubernetes”
-- James Governor, RedMonk
30© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
Enhance Knative with our nats.io eventing
mechanism – ongoing.
• Will lower resource requirements
• Stick to the CNCF technology stack
• Pull request
Enhance the Event source catalog
Our needs
Service Broker / Catalog
Micro Frontends
Application Integration
Customization / Integration
Toolbox
Knative
Kyma
31© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
STAY UP TO DATE and GET INVOLVED!
• kubernetes.io
• istio.io
• knative.dev
• kyma-project.io
• gardener.cloud
• sapmachine.io
… AND UPDATE YOUR OSS DEPENDENCIES! J
References:
Krasimir Semerdzhiev / @evilyeti
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)Going Serverless with Kubeless In Google Container Engine (GKE)
Going Serverless with Kubeless In Google Container Engine (GKE)
 
Knative Meetup
Knative MeetupKnative Meetup
Knative Meetup
 
Knative Intro
Knative IntroKnative Intro
Knative Intro
 
Knative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and OpenshiftKnative, Serverless on Kubernetes, and Openshift
Knative, Serverless on Kubernetes, and Openshift
 
Flexible, hybrid API-led software architectures with Kong
Flexible, hybrid API-led software architectures with KongFlexible, hybrid API-led software architectures with Kong
Flexible, hybrid API-led software architectures with Kong
 
Api more than payload (2021 Update)
Api more than payload (2021 Update)Api more than payload (2021 Update)
Api more than payload (2021 Update)
 
Kubestr browse2021.pptx
Kubestr browse2021.pptxKubestr browse2021.pptx
Kubestr browse2021.pptx
 
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
 
Kubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud appsKubernetes and the 12 factor cloud apps
Kubernetes and the 12 factor cloud apps
 
Building Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKEBuilding Resilient Cloud Native Apps in GKE
Building Resilient Cloud Native Apps in GKE
 
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
 
A sail in the cloud
A sail in the cloudA sail in the cloud
A sail in the cloud
 
Akri cncf-jobs-webinar-final
Akri cncf-jobs-webinar-finalAkri cncf-jobs-webinar-final
Akri cncf-jobs-webinar-final
 
Serverless with Knative - Mete Atamel (Google)
Serverless with Knative - Mete Atamel (Google)Serverless with Knative - Mete Atamel (Google)
Serverless with Knative - Mete Atamel (Google)
 
Take the Fastest Path to Node.Js Application Development with Bitnami & AWS L...
Take the Fastest Path to Node.Js Application Development with Bitnami & AWS L...Take the Fastest Path to Node.Js Application Development with Bitnami & AWS L...
Take the Fastest Path to Node.Js Application Development with Bitnami & AWS L...
 
Deploy prometheus on kubernetes
Deploy prometheus on kubernetesDeploy prometheus on kubernetes
Deploy prometheus on kubernetes
 
AzDevCom2021 - Bicep vs Terraform
AzDevCom2021 - Bicep vs TerraformAzDevCom2021 - Bicep vs Terraform
AzDevCom2021 - Bicep vs Terraform
 
KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)KubeCon 2019 - Scaling your cluster (both ways)
KubeCon 2019 - Scaling your cluster (both ways)
 
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for UnknownsTectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
 
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
 

Ähnlich wie Kubernetes, Istio and Knative - noteworthy practical experience

Your Path to the Intelligent Enterprise with SAP & AWS
Your Path to the Intelligent Enterprise with SAP & AWSYour Path to the Intelligent Enterprise with SAP & AWS
Your Path to the Intelligent Enterprise with SAP & AWS
Amazon Web Services
 
SAP Cloud Infrastructure Strategy @ Virtualization Week
SAP Cloud Infrastructure Strategy @ Virtualization WeekSAP Cloud Infrastructure Strategy @ Virtualization Week
SAP Cloud Infrastructure Strategy @ Virtualization Week
Frank Stienhans
 

Ähnlich wie Kubernetes, Istio and Knative - noteworthy practical experience (20)

Cloud Native with Kyma
Cloud Native with KymaCloud Native with Kyma
Cloud Native with Kyma
 
Your Path to the Intelligent Enterprise with SAP & AWS
Your Path to the Intelligent Enterprise with SAP & AWSYour Path to the Intelligent Enterprise with SAP & AWS
Your Path to the Intelligent Enterprise with SAP & AWS
 
Kyma: Extending Business systems with Kubernetes, Istio and <fill the blank>.
Kyma: Extending Business systems with Kubernetes, Istio and <fill the blank>.Kyma: Extending Business systems with Kubernetes, Istio and <fill the blank>.
Kyma: Extending Business systems with Kubernetes, Istio and <fill the blank>.
 
PARTNER PRESENTATION: Transform into a Cloud First Business with Capgemini’s ...
PARTNER PRESENTATION: Transform into a Cloud First Business with Capgemini’s ...PARTNER PRESENTATION: Transform into a Cloud First Business with Capgemini’s ...
PARTNER PRESENTATION: Transform into a Cloud First Business with Capgemini’s ...
 
SAP Cloud Infrastructure Strategy @ Virtualization Week
SAP Cloud Infrastructure Strategy @ Virtualization WeekSAP Cloud Infrastructure Strategy @ Virtualization Week
SAP Cloud Infrastructure Strategy @ Virtualization Week
 
Transform into a Cloud-First Business with SAP on AWS and Capgemini’s Cloud C...
Transform into a Cloud-First Business with SAP on AWS and Capgemini’s Cloud C...Transform into a Cloud-First Business with SAP on AWS and Capgemini’s Cloud C...
Transform into a Cloud-First Business with SAP on AWS and Capgemini’s Cloud C...
 
2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass
 
Event Horizon at Solace Connect Singapore
Event Horizon at Solace Connect SingaporeEvent Horizon at Solace Connect Singapore
Event Horizon at Solace Connect Singapore
 
CICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdfCICDforModernApplications-Oslo.pdf
CICDforModernApplications-Oslo.pdf
 
SAP Hack2Build hackathon - SAP Commerce Cloud & Kyma runtime
SAP Hack2Build hackathon - SAP Commerce Cloud & Kyma runtimeSAP Hack2Build hackathon - SAP Commerce Cloud & Kyma runtime
SAP Hack2Build hackathon - SAP Commerce Cloud & Kyma runtime
 
The HANA Cloud Platform
The HANA Cloud PlatformThe HANA Cloud Platform
The HANA Cloud Platform
 
HANA Cloud Platform Overview
HANA Cloud Platform OverviewHANA Cloud Platform Overview
HANA Cloud Platform Overview
 
Overview and Walkthrough of the Application Programming Model with SAP Cloud ...
Overview and Walkthrough of the Application Programming Model with SAP Cloud ...Overview and Walkthrough of the Application Programming Model with SAP Cloud ...
Overview and Walkthrough of the Application Programming Model with SAP Cloud ...
 
Learn about Cloud and Scalability in SAP Hybris Commerce Technology Strategy
Learn about Cloud and Scalability in SAP Hybris Commerce Technology StrategyLearn about Cloud and Scalability in SAP Hybris Commerce Technology Strategy
Learn about Cloud and Scalability in SAP Hybris Commerce Technology Strategy
 
What’s new in SAP Cloud Platform Workflow – summer edition 2019
What’s new in SAP Cloud Platform Workflow – summer edition 2019What’s new in SAP Cloud Platform Workflow – summer edition 2019
What’s new in SAP Cloud Platform Workflow – summer edition 2019
 
Introduction to NEW SAP - Accenture Technology Meetup
Introduction to NEW SAP - Accenture Technology MeetupIntroduction to NEW SAP - Accenture Technology Meetup
Introduction to NEW SAP - Accenture Technology Meetup
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
 
Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
 Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019 Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
 
Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
 Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019 Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
Let Your Business Logic go Serverless | AWS Summit Tel Aviv 2019
 
Running Kubernetes with Amazon EKS - AWS Online Tech Talks
Running Kubernetes with Amazon EKS - AWS Online Tech TalksRunning Kubernetes with Amazon EKS - AWS Online Tech Talks
Running Kubernetes with Amazon EKS - AWS Online Tech Talks
 

Mehr von SAP HANA Cloud Platform

Mehr von SAP HANA Cloud Platform (15)

Gardener: Managed Kubernetes on Your Terms
Gardener: Managed Kubernetes on Your TermsGardener: Managed Kubernetes on Your Terms
Gardener: Managed Kubernetes on Your Terms
 
Using Kubernetes to Extend Enterprise Software
Using Kubernetes to Extend Enterprise Software Using Kubernetes to Extend Enterprise Software
Using Kubernetes to Extend Enterprise Software
 
Options for running Kubernetes at scale across multiple cloud providers
Options for running Kubernetes at scale across multiple cloud providersOptions for running Kubernetes at scale across multiple cloud providers
Options for running Kubernetes at scale across multiple cloud providers
 
SAP DKOM 2016 | 30154 | SAP HCP Cloud Extensions Intro
SAP DKOM 2016 | 30154 | SAP HCP Cloud Extensions IntroSAP DKOM 2016 | 30154 | SAP HCP Cloud Extensions Intro
SAP DKOM 2016 | 30154 | SAP HCP Cloud Extensions Intro
 
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
 
SAP D-Code/TechEd 2014|DEV203|Extending SuccessFactors using SAP HANA Cloud P...
SAP D-Code/TechEd 2014|DEV203|Extending SuccessFactors using SAP HANA Cloud P...SAP D-Code/TechEd 2014|DEV203|Extending SuccessFactors using SAP HANA Cloud P...
SAP D-Code/TechEd 2014|DEV203|Extending SuccessFactors using SAP HANA Cloud P...
 
SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...
SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...
SAP TechEd 2013: CD105: Extending SuccessFactors EmployeeCentral with apps on...
 
SAP HANA Cloud Platform Community BOF @ Devoxx 2013
SAP HANA Cloud Platform Community BOF @ Devoxx 2013SAP HANA Cloud Platform Community BOF @ Devoxx 2013
SAP HANA Cloud Platform Community BOF @ Devoxx 2013
 
SAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the CloudSAP HANA Cloud Platform: The void between your Datacenter and the Cloud
SAP HANA Cloud Platform: The void between your Datacenter and the Cloud
 
SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back  SAP HANA Cloud: From Your Datacenter to the Cloud and Back
SAP HANA Cloud: From Your Datacenter to the Cloud and Back
 
OSGI in Java EE servers:Sneak peak
OSGI in Java EE servers:Sneak peakOSGI in Java EE servers:Sneak peak
OSGI in Java EE servers:Sneak peak
 
[BGOUG] Memory analyzer
[BGOUG] Memory analyzer[BGOUG] Memory analyzer
[BGOUG] Memory analyzer
 
[BGOUG] Java GC - Friend or Foe
[BGOUG] Java GC - Friend or Foe[BGOUG] Java GC - Friend or Foe
[BGOUG] Java GC - Friend or Foe
 
JavaOne 2010: OSGI Migrat
JavaOne 2010: OSGI MigratJavaOne 2010: OSGI Migrat
JavaOne 2010: OSGI Migrat
 
Eclipse Open Source @ SAP
Eclipse Open Source @ SAPEclipse Open Source @ SAP
Eclipse Open Source @ SAP
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Kubernetes, Istio and Knative - noteworthy practical experience

  • 1. Krasimir Semerdzhiev / @evilyeti SAP SE Practical experience with Kubernetes, Istio and Knative
  • 2. 2© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Krasimir Semerdzhiev (aka Krassi aka @evilyeti) Gamers’ Workshop Magazine ProSyst GmbH SAP Hybris à SAP Customer Experience InQMy Labs SAP Labs Bulgaria SAP SE 1999 2016-…
  • 4. 4© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ KUBE-APISERVER API CLI Kubernetes – basic architecture Apache 2.0 licensed ETCD KUBE-SCHEDULER CLOUD-CONTROLLER MANAGER KUBE-CONTROLLER MANAGER CLOUD PROVIDER KUBERNETES MASTER NODE KUBE PROXY KUBELET POD CONTAINER NODE POD CONTAINER NODE POD CONTAINER CONTAINER REGISTRY PLUGIN NETWORKOPERATOR/ DEVELOPER KUBE PROXY KUBELET KUBE PROXY KUBELET USERS …
  • 5. 5© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ • Project “Seven” or “The better Borg” • Large developer ecosystem • Declarative state • Portability – de-facto standard • “Run any workload” • Platform for building platforms Noteworthy 10+ years of experience in running “borglets” and “omletes”!
  • 6. 6© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ • Mind your base image and keep it small! Don’t use :latest tag. • One process per container! • Immutable containers! • Don’t use root users! • Make your file system read-only! • Never restart – crash cleanly instead! Use readiness and liveness probes • Stdout and stderr • Use ExternalName services • Helm charts for installation Noteworthy
  • 7. 7© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Anybody else running it at SAP?
  • 8. 8© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Spinning Up Kubernetes ... the Usual Way Master Master Master Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion HA Master Master Master Worker/ Minion Worker/ Minion Worker/ Minion HA Master Master Master Worker/ Minion Worker/ Minion HA Master Master Master Worker/ Minion HA Master Master Master Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion HA Worker/ Minion Worker/ Minion Master Worker/ Minion Control plane (often in HA and on separate hardware, usually quite underutilized) The actual workload (managed by Kubernetes, usually pretty well utilized) Worker/ Minion Master Worker/ Minion Worker/ Minion Master Worker/ Minion
  • 9. 9© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Spinning Up Kubernetes...the Gardener Way Seed Cluster Master Master Master Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion HA Worker/ Minion Shoot Clusters Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion Worker/ Minion manages Worker/Minion Think outside the box / Move outside the box! ETCD API Server Scheduler Controller Mgr API Server ETCD SchedulerController Mgr … ETCD Worker/ Minion Worker/ Minion Auto-scaling via native hyperscale provider service or controller on bare metal Gardener
  • 10. 10© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ
  • 11. Using Istio: … 8 minor releases later
  • 12. 12© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Basic micro-service challenges • Each service has a well-defined purpose and data store • Many loosely-coupled services with remote dependencies • Significant “integration” overhead for every service (log collection, APM, client SDKs) + updates • Any technology (Go, node.js, Java, Vert.x, etc.) From Monoliths to Microservices AppServer + Frameworks • Coherent application server instance, providing all framework SDKs/clients • Tight coupling and non-transparent dependencies • Minimal “overhead” for the individual app • Limited technology choice (Java + JVM-based)
  • 13. 13© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Official mission statement: Istio is an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data. It provides an abstraction layer over the underlying cluster management platform, such as Kubernetes, Mesos, etc. Community members/contributors: • Google + IBM • + Envoy from Lyft Real use forward: Istio will replace significant part of the traditional Java application server layer + the SPI/SDK interaction patterns, established over the last 15 years. It’ll allow micro-service developers to FOCUS on their stuff, solving the plumbing challenge with the underlying infrastructure. With all the 15+ years of WebSphere experience! Istio What is Istio?
  • 14. 14© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ To be a network for running (not only micro!) services § Visibility & Discovery § Resiliency & Efficiency § Traffic Control § Security § Policy Enforcement WHAT ISTIO FOCUSES ON?
  • 15. 15© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Outbound features: • Service authentication • Load balancing • Retry and circuit breaker • Fine-grained routing • Telemetry • Request Tracing • Fault Injection Inbound features: • Service authentication • Authorization • Rate limits • Load shedding • Telemetry • Request Tracing • Fault Injection WHAT IS A SIDE-CAR AND HOW DOES ISTIO USE IT?
  • 16. 17© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Extremely convenient for micro-service developers Automatic security token handling Service roles align with RBAC in Kubernetes Metrics + requests tracing out of the box to Prometheus Mutual-TLS via the local side-car No need for cross-team “adaptation projects” Breaks the strong technology coupling for services Noteworthy
  • 17. Kyma: … taking it all together
  • 18. 19© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Business Events API calls Any Open Service Broker (OSB) compatible service provider Business services ApplicationConnectivity ServiceCatalog Flows Microservices API Exposure Functions EventBus Service Management Knative Kubernetes Third Party System Customer System § Legacy § On Premise § External System § Cloud Solution SAP® C/4HANA SAP Marketing Cloud SAP Commerce Cloud SAP Sales Cloud SAP Service Cloud SAP Customer Data Cloud SAP S/4HANA® Service Consumption On - Premise On - Premise Kyma – extensibility in a box Apache 2.0 licensed, kyma-project.io
  • 19. 20© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Kubernetes Istio Prometheus FluentD/Bit Serverless Eventing Cloud Native Developer Experience Service Mesh Service Broker / Catalog Micro Frontends Application Integration Customization / Integration Toolbox Lightweight PaaS Smart Scaling BuildPacks Deployment Management Automation Golang Resource Efficiency (CPC) CloudEvents Knative Kyma Zipkin Jaeger Nats / Nats Streaming / Message routing Lifecycle Management API exposure Open Tracing Kyma next to Knative Wormholes
  • 20. 21© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ What to do, what to do?
  • 21. 22© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Knative launch + Kyma launch on the same stage • SAP involvement in Knative • Kyma open sourced (kyma-project.io) Separate session to outline SAP OSS projects (video): • Project Kyma as a cloud native extension framework developed by SAP • Gardener as the Kubernetes clusters as a service implementation from SAP • SAPmachine.io the friendly OpenJDK fork from SAP with free maintenance releases Go all in! J à Jul ‘18: Kyma launch at Google Cloud Next ‘18
  • 22. Getting involved in Knative: … as we speak
  • 23. 24© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ What is Knative
  • 24. 25© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ What is Knative Function App Container Registry
  • 25. 26© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ “Serverless is more than functions!” ~ Knative team
  • 26. 27© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Anyone using it?
  • 27. 28© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Scale to zero – true pay-per-use Traffic splitting via dynamic routes (80/5/5/5/5) Integrates networking and service mesh automatically Reasonable object model Batteries included (logging and monitoring), but pluggable Auto-scaler is interchangeable In-cluster build Noteworthy
  • 28. 29© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ “Knative will almost certainly become the standard plumbing for functions-as-a-service on Kubernetes” -- James Governor, RedMonk
  • 29. 30© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ Enhance Knative with our nats.io eventing mechanism – ongoing. • Will lower resource requirements • Stick to the CNCF technology stack • Pull request Enhance the Event source catalog Our needs Service Broker / Catalog Micro Frontends Application Integration Customization / Integration Toolbox Knative Kyma
  • 30. 31© 2019 SAP SE or an SAP affiliate company. All rights reserved. ǀ STAY UP TO DATE and GET INVOLVED! • kubernetes.io • istio.io • knative.dev • kyma-project.io • gardener.cloud • sapmachine.io … AND UPDATE YOUR OSS DEPENDENCIES! J References:
  • 31. Krasimir Semerdzhiev / @evilyeti Thank you!