SlideShare a Scribd company logo
All contents © MuleSoft, LLC
A Guide to RTF Application Deployment
October 2020
Steven Yu
Senior Customer Architect
All contents © MuleSoft, LLC
Safe harbor statement
The information in this presentation is confidential and proprietary to MuleSoft and may not be disclosed without
the permission of MuleSoft. This presentation is not subject to your license agreement or any other service or
subscription agreement with MuleSoft. MuleSoft has no obligation to pursue any course of business outlined in this
document or any related presentation, or to develop or release any functionality mentioned therein. This document,
or any related presentation and MuleSoft's strategy and possible future developments, products and or platforms
directions and functionality are all subject to change and may be changed by MuleSoft at any time for any reason
without notice. The information on this document is not a commitment, promise or legal obligation to deliver any
material, code or functionality. This document is provided without a warranty of any kind, either express or implied,
including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or
non-infringement. This document is for informational purposes and may not be incorporated into a contract.
MuleSoft assumes no responsibility for errors or omissions in this document, except if such damages were caused by
MuleSoft intentionally or grossly negligent.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking
statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
All contents © MuleSoft, LLC
About Me
● 12+ years experience in the ICT (Information & Communication)
technologies
● Cloud, networking, infrastructure and integration
● Cloud (AWS) and Kubernetes SME
● Runtime Fabric Specialist
LinkedIn: https://linkedin.com/in/yuxiaojian
Certifications:
● AWS Advanced Networking and Security (Specialty)
● AWS Architecture and DevOps (Professional)
● AWS Big Data and Machine Learning (Specialty)
● CNCF (Cloud Native Computing Foundation) Certified Kubernetes
Administrator and Developer (CKA & CKAD)
● MuleSoft Certified Developer
Steven Yu (Senior Customer Architecture)
All contents © MuleSoft, LLC
Agenda
1. RTF architecture overview
2. What behind an application deployment
3. Deployment Considerations
4. Troubleshoot deployment issues
5. Recap
6. Q&A
4
All contents © MuleSoft, LLC
cluster-ip
teleportplanet
DNS
etcd flannel
kube-api Monitoringkube-controller-manager kube-scheduler
agent
Runtime Fabric Architecture
MuleSoft
Deploy and
manage apps
kubernetes
K8s, monitoring,
and DNS
components
Gravitational
The low-level
dependencies
for k8s Runtime
K8s Layer
RTF Runtime
resource-cacheingress Log forwarder registry-creds
kubelet DNS
cluster-status
systemd
Gravity Layer
Helm
All contents © MuleSoft, LLC
Pre-survey questions - architecture
6
1. How to set up RTF and what's the difference between cloudhub and RTF?
a. Cloud versus Hybrid
2. If RTF deployed in AWS VPC, how can it connect to SAP system hosted on premise
a. DirectConnect or VPN
3. Would be good to have a touch base on RTF in Azure
4. Does this work on Google cloud?
a. Cloud agnostic
5. What’s going under the hood during rtf installation ( istio, helm chart). Purpose of certificate
generation. Is the url taken from generated certificates?
a. init.sh
6. Updating components through terraform on AWS
7. Logging frameworks with RTF
a. Temporary local log store + centralized log server
b. Three log forwarders
8. How DR is handled in RTF
9. How the object store works differently in case of runtime fabric?
a. https://docs.mulesoft.com/runtime-fabric/1.7/runtime-fabric-limitations
b. How To Use Redis As Custom Object Store Reference In Mule 4
c. Implement Watermark with a DB connector
All contents © MuleSoft, LLC
What behind an application deployment
7
All contents © MuleSoft, LLC
Application Deployment - Resource allocations
8
(https://docs.mulesoft.com/runtime-fabric/latest/deploy-resource-allocation)
Burstable CPU
● CPU throttling
● CPU allocation and licensed core
Guaranteed Memory
● Memory allocation
● RTF Applications are Restarted by Themselves
or After a New application Deployment Due to
"Burstable" Memory Mode
All contents © MuleSoft, LLC
Application Deployment - maven
9
CICD pipeline and maven
Maven deployment in Mule 3 or Mule 4
● Upload application to Exchange and deploy
● How to deploy a Mule 4 application to Runtime Fabric with Maven
● How to Deploy a Mule 3 Application to Runtime Fabric With Maven
Deploy an application already in Exchange
● How to Use Maven to Deploy an Application from Exchange to RTF Directly
Deployment parameters not supported by the Maven Plugin
● How to Configure JVM Arguments via API to RTF Applications
All contents © MuleSoft, LLC
Pre-survey questions - deployment
10
Part 1
1. How CI-CD differs compared to deployment on Cloudhub?
2. Can you talk about the exchange limit of max 100k assets for RTF deployments per org
and how to overcome it?
a. https://docs.mulesoft.com/exchange/to-create-an-asset#asset-limits
3. How does RTF licensing works?
a. https://docs.mulesoft.com/runtime-fabric/1.7/deploy-resource-allocation#mulesoft-license-compliance
4. For business financial and expense reporting what out of box feature is provisioned in rtf
5. The asset publication to exchange should be handled by CI or the developer what's the
best practice? Also, I couldn't find the properties in the control plane properties tab
though I have added them in pom.xml under mule maven plugin RTF deployment.
6. How does RTF manage multiple versions of runtime deployment and why is this needed?
7. How different environments like DEV, QA, UAT, STG, PROD are created in RTF? Do we need
to set up a separate RTF for each environment or some other approach is followed?
a. Each environment is a different namespace in rtf
b. No network segregation within the same RTF cluster
All contents © MuleSoft, LLC
Pre-survey questions - deployment
11
Part 2
1. How do we set up CI/CD in RTF deployment topology? Is mulesoft going to provide base
Image with pre configured dependencies? How can we manage app deployment to
pods?
2. Want to understand how Jenkins will be build with RTF
3. A Mule deployment in a Jenkins pipeline. How to use environmental variables and
property placeholders in a .yaml or properties file?
4. How popular is this deployment option? Does it support Mule domain projects?
a. https://help.mulesoft.com/s/article/Domain-Support-Shared-Resources-with-MuleSoft-Platforms
5. How do we deploy RTF on machine which has four cores ? so RTF pod would be only for
each core or each core can have more than one pod of RTF ?
a. Fractional cores or multiple cores
6. How to scale deployed application on RTF?
7. How the URLs look like which APIs can use to call each other within RTF
a. https://help.mulesoft.com/s/article/How-to-Access-Mule-Applications-in-the-Same-RTF-Cluster-from-One-Application
All contents © MuleSoft, LLC
Troubleshoot application deployment issues
12
Operational or connectivity issues
UI issues
● "Deploy failed. Something went wrong"
○ Deploy deleted assets
○ Exchange Permission
Connectivities
● Mutual authentication - no TLS/SSL interception
Maven deployment
● The Minimum Permission to Deploy an Application with Anypoint Console or Maven in RTF
● Can not Load MQ Connector in Mule 3 applications in RTF
● Error "No application with the provided GAV could be retrieved from Exchange" when deploying an
application to Runtime Fabric
All contents © MuleSoft, LLC
Troubleshoot application deployment issues
13
Pod start issues
Init:ImagePullBackOff
● Init:ImagePullBackOff in RTF
● Manually Renew the Credentials for the Image Registry in RTF
Application CrashLoopBackOff or keep restarting
● How to check if an application is restarted due to memory issues in RTF (Runtime Fabric)
● How to check the memory usage of an application replica in RTF (Runtime Fabric)
● How to Check Application Native Memory Usage in RTF
● Application crashed during starting
● Init:CrashLoopBackOff - the init container got a problem downloading the application package
API auto-discovery
● Application In RTF Stays At "Applying" Status Due to API Auto Discovery
All contents © MuleSoft, LLC
Troubleshoot application deployment issues
14
Platform issues
CGroup memory leaking (kernel memory accounting)
● Kernel memory accounting issue
● Kernel issue
○ “Cause Unknown” - from Redhat
● Symptoms - "cannot allocate memory"
○ Health status refresh timeout - Cluster-status
○ Agent update timeout
○ PullImageBackoff - registry-creds
○ Agent disconnected
● RTF - How to Resolve the Cgroup Memory Leaking Issue in Runtime Fabric
○ Regular cluster maintenance and reboot
Flannel
● Fixed in new versions
● How to Check if the Overlay Network is Working Well in RTF
All contents © MuleSoft, LLC
Best practices
15
Keep the infrastructure and RTF platform in good status
● Regularly patch and reboot nodes (at least every two months)
● Keep version gaps small
Build a CICD pipeline and always test before proceeding to Prod
● Allocate enough memory
● Provide client credentials if it’s app with auto-discovery
All contents © MuleSoft, LLC
Recap
16
RTF architecture
Application deployment process
Deployment considerations
Troubleshoot application deployment issues
All contents © MuleSoft, LLC
Q&A
17
All contents © MuleSoft, LLC
Thank you

More Related Content

PPTX
Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft
Akshata Sawant
 
PPTX
Introduction to MuleSoft
Alexandra N. Martinez
 
PPTX
MuleSoft Deployment Strategies (RTF vs Hybrid vs CloudHub)
Prashanth Kurimella
 
PDF
Cloudhub 2.0
Christopher Co
 
PDF
[Final] best practices for access management (mule soft meetups riyadh) - j...
satyasekhar123
 
PDF
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
Jitendra Bafna
 
PDF
MuleSoft Sizing Guidelines - VirtualMuleys
Angel Alberici
 
PPTX
Introduction to CloudHub 2.0
NeerajKumar1965
 
Manchester MuleSoft Meetup #6 - Runtime Fabric with Mulesoft
Akshata Sawant
 
Introduction to MuleSoft
Alexandra N. Martinez
 
MuleSoft Deployment Strategies (RTF vs Hybrid vs CloudHub)
Prashanth Kurimella
 
Cloudhub 2.0
Christopher Co
 
[Final] best practices for access management (mule soft meetups riyadh) - j...
satyasekhar123
 
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
Jitendra Bafna
 
MuleSoft Sizing Guidelines - VirtualMuleys
Angel Alberici
 
Introduction to CloudHub 2.0
NeerajKumar1965
 

What's hot (20)

PPTX
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
Kellton Tech Solutions Ltd
 
PDF
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
Jitendra Bafna
 
PPTX
Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...
Alfonso Martino
 
PPTX
Kubernetes for Beginners: An Introductory Guide
Bytemark
 
PDF
MuleSoft Runtime Fabric (RTF): Foundations : MuleSoft Virtual Muleys Meetups
Angel Alberici
 
PPTX
Managing APIs with MuleSoft
Guilherme Pereira Silva
 
PDF
Denver MuleSoft Meetup: Deep Dive into Anypoint Runtime Fabric Security
Stephanie Lawrence
 
PDF
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
Angel Alberici
 
PDF
MuleSoft Anypoint Platform and Three Tier Architecture
Harish Kumar
 
PPTX
MuleSoft's Approach to Driving Customer Outcomes
MuleSoft
 
PPTX
Building APIs with Mule and Spring Boot
Guilherme Pereira Silva
 
PDF
Introduction to MuleSoft
Salesforce Developers
 
PPTX
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Eva Mave Ng
 
PPTX
Vanrish Mulesoft Integration architect ppt
Rajnish Kumar
 
PPTX
Mulesoft Anypoint platform introduction
gijish
 
PPTX
Patna MuleSoft Meetup Anypoint Cloudhub 2.0
shyamraj55
 
PDF
Introduction to MuleSoft Anytime Platform
Salesforce Developers
 
PDF
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
SlideTeam
 
PPTX
Rtf v2 ingress muleSoft meetup self managed kubernetes
Sandeep Deshmukh
 
PPTX
Cloud Native: what is it? Why?
Juan Pablo Genovese
 
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
Kellton Tech Solutions Ltd
 
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
Jitendra Bafna
 
Mulesoft Meetup Roma - CloudHub 2.0: a fully managed, containerized integrati...
Alfonso Martino
 
Kubernetes for Beginners: An Introductory Guide
Bytemark
 
MuleSoft Runtime Fabric (RTF): Foundations : MuleSoft Virtual Muleys Meetups
Angel Alberici
 
Managing APIs with MuleSoft
Guilherme Pereira Silva
 
Denver MuleSoft Meetup: Deep Dive into Anypoint Runtime Fabric Security
Stephanie Lawrence
 
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
Angel Alberici
 
MuleSoft Anypoint Platform and Three Tier Architecture
Harish Kumar
 
MuleSoft's Approach to Driving Customer Outcomes
MuleSoft
 
Building APIs with Mule and Spring Boot
Guilherme Pereira Silva
 
Introduction to MuleSoft
Salesforce Developers
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Eva Mave Ng
 
Vanrish Mulesoft Integration architect ppt
Rajnish Kumar
 
Mulesoft Anypoint platform introduction
gijish
 
Patna MuleSoft Meetup Anypoint Cloudhub 2.0
shyamraj55
 
Introduction to MuleSoft Anytime Platform
Salesforce Developers
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
SlideTeam
 
Rtf v2 ingress muleSoft meetup self managed kubernetes
Sandeep Deshmukh
 
Cloud Native: what is it? Why?
Juan Pablo Genovese
 
Ad

Similar to MuleSoft Online Meetup a Guide to RTF application deployment - October 2020 (20)

PDF
MuleSoft Online meetup - An expert's guide to Runtime fabric - August 2020
Royston Lobo
 
PDF
Virtual meetup - Exploring the Runtime Fabric deployment model
Jimmy Attia
 
PPTX
MuleSoft Meetup Roma - Runtime Fabric Series (From Zero to Hero) - Sessione 3
Alfonso Martino
 
PPTX
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Alfonso Martino
 
PDF
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
Angel Alberici
 
PPTX
On prem to cloud hub migration (updated)
Sandeep Deshmukh
 
PDF
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
Jitendra Bafna
 
PDF
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Julian Douch
 
PPTX
Running and Managing Mule Applications
MuleSoft
 
PPTX
Deploying and Managing Anypoint Runtime Fabric on OpenShift
Harshana Martin
 
PPTX
Mulesoftmeetup Thiruvanathapuram #4
Anurag Dwivedi
 
PDF
MuleSoft Surat Virtual Meetup#25 - Anypoint Platform Features and Capabilitie...
Jitendra Bafna
 
PDF
MuleSoft Meetup Singapore June 2021
Julian Douch
 
PPTX
Rtf externalize tls MuleSoft meetup
Sandeep Deshmukh
 
PDF
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Angel Alberici
 
PDF
Surat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Jitendra Bafna
 
PDF
Node.js Tools Ecosystem
Rocket Software
 
PPTX
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Gonzalo Marcos Ansoain
 
PPTX
Dubai meetup- Anypoint Runtime Fabric
satyasekhar123
 
PDF
.NET Application Modernization with PAS and Azure DevOps
VMware Tanzu
 
MuleSoft Online meetup - An expert's guide to Runtime fabric - August 2020
Royston Lobo
 
Virtual meetup - Exploring the Runtime Fabric deployment model
Jimmy Attia
 
MuleSoft Meetup Roma - Runtime Fabric Series (From Zero to Hero) - Sessione 3
Alfonso Martino
 
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Alfonso Martino
 
Containerising the Mule Runtime with Kubernetes & From Zero to Batch : MuleS...
Angel Alberici
 
On prem to cloud hub migration (updated)
Sandeep Deshmukh
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
Jitendra Bafna
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Julian Douch
 
Running and Managing Mule Applications
MuleSoft
 
Deploying and Managing Anypoint Runtime Fabric on OpenShift
Harshana Martin
 
Mulesoftmeetup Thiruvanathapuram #4
Anurag Dwivedi
 
MuleSoft Surat Virtual Meetup#25 - Anypoint Platform Features and Capabilitie...
Jitendra Bafna
 
MuleSoft Meetup Singapore June 2021
Julian Douch
 
Rtf externalize tls MuleSoft meetup
Sandeep Deshmukh
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Angel Alberici
 
Surat MuleSoft Meetup#2 - Anypoint Runtime Fabric
Jitendra Bafna
 
Node.js Tools Ecosystem
Rocket Software
 
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Gonzalo Marcos Ansoain
 
Dubai meetup- Anypoint Runtime Fabric
satyasekhar123
 
.NET Application Modernization with PAS and Azure DevOps
VMware Tanzu
 
Ad

More from Royston Lobo (15)

PDF
Singapore MuleSoft Meetup - 23 Nov 2022
Royston Lobo
 
PDF
Singapore MuleSoft Meetup - 24 Aug 2022
Royston Lobo
 
PDF
2022.06.23 - Sydney Meetup
Royston Lobo
 
PDF
MuleSoft Online Meetup - Salesforce Streaming APIs
Royston Lobo
 
PDF
Online Meetup - MuleSoft - June 2020
Royston Lobo
 
PDF
MuleSOft PKO Developer meetup - 25 March 2021
Royston Lobo
 
PDF
Sydney MuleSoft Meetup #16 - 19 November 2020
Royston Lobo
 
PDF
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
Royston Lobo
 
PDF
Meetup 20200924 Sydney meetup
Royston Lobo
 
PDF
Custom policies in mule 4 and a circuit breaker example
Royston Lobo
 
PDF
Sydney mule soft meetup 30 april 2020
Royston Lobo
 
PPTX
Creating an OData-Enabled API
Royston Lobo
 
PDF
Sydney MuleSoft Meetup #12 2020204
Royston Lobo
 
PDF
Sydney MuleSoft meetup #11 28 November 2019 - all slides
Royston Lobo
 
PDF
Sydney mule soft meetup #8 1 August 2019 - all slides
Royston Lobo
 
Singapore MuleSoft Meetup - 23 Nov 2022
Royston Lobo
 
Singapore MuleSoft Meetup - 24 Aug 2022
Royston Lobo
 
2022.06.23 - Sydney Meetup
Royston Lobo
 
MuleSoft Online Meetup - Salesforce Streaming APIs
Royston Lobo
 
Online Meetup - MuleSoft - June 2020
Royston Lobo
 
MuleSOft PKO Developer meetup - 25 March 2021
Royston Lobo
 
Sydney MuleSoft Meetup #16 - 19 November 2020
Royston Lobo
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
Royston Lobo
 
Meetup 20200924 Sydney meetup
Royston Lobo
 
Custom policies in mule 4 and a circuit breaker example
Royston Lobo
 
Sydney mule soft meetup 30 april 2020
Royston Lobo
 
Creating an OData-Enabled API
Royston Lobo
 
Sydney MuleSoft Meetup #12 2020204
Royston Lobo
 
Sydney MuleSoft meetup #11 28 November 2019 - all slides
Royston Lobo
 
Sydney mule soft meetup #8 1 August 2019 - all slides
Royston Lobo
 

Recently uploaded (20)

PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
The Future of Artificial Intelligence (AI)
Mukul
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 

MuleSoft Online Meetup a Guide to RTF application deployment - October 2020

  • 1. All contents © MuleSoft, LLC A Guide to RTF Application Deployment October 2020 Steven Yu Senior Customer Architect
  • 2. All contents © MuleSoft, LLC Safe harbor statement The information in this presentation is confidential and proprietary to MuleSoft and may not be disclosed without the permission of MuleSoft. This presentation is not subject to your license agreement or any other service or subscription agreement with MuleSoft. MuleSoft has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation and MuleSoft's strategy and possible future developments, products and or platforms directions and functionality are all subject to change and may be changed by MuleSoft at any time for any reason without notice. The information on this document is not a commitment, promise or legal obligation to deliver any material, code or functionality. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This document is for informational purposes and may not be incorporated into a contract. MuleSoft assumes no responsibility for errors or omissions in this document, except if such damages were caused by MuleSoft intentionally or grossly negligent. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
  • 3. All contents © MuleSoft, LLC About Me ● 12+ years experience in the ICT (Information & Communication) technologies ● Cloud, networking, infrastructure and integration ● Cloud (AWS) and Kubernetes SME ● Runtime Fabric Specialist LinkedIn: https://linkedin.com/in/yuxiaojian Certifications: ● AWS Advanced Networking and Security (Specialty) ● AWS Architecture and DevOps (Professional) ● AWS Big Data and Machine Learning (Specialty) ● CNCF (Cloud Native Computing Foundation) Certified Kubernetes Administrator and Developer (CKA & CKAD) ● MuleSoft Certified Developer Steven Yu (Senior Customer Architecture)
  • 4. All contents © MuleSoft, LLC Agenda 1. RTF architecture overview 2. What behind an application deployment 3. Deployment Considerations 4. Troubleshoot deployment issues 5. Recap 6. Q&A 4
  • 5. All contents © MuleSoft, LLC cluster-ip teleportplanet DNS etcd flannel kube-api Monitoringkube-controller-manager kube-scheduler agent Runtime Fabric Architecture MuleSoft Deploy and manage apps kubernetes K8s, monitoring, and DNS components Gravitational The low-level dependencies for k8s Runtime K8s Layer RTF Runtime resource-cacheingress Log forwarder registry-creds kubelet DNS cluster-status systemd Gravity Layer Helm
  • 6. All contents © MuleSoft, LLC Pre-survey questions - architecture 6 1. How to set up RTF and what's the difference between cloudhub and RTF? a. Cloud versus Hybrid 2. If RTF deployed in AWS VPC, how can it connect to SAP system hosted on premise a. DirectConnect or VPN 3. Would be good to have a touch base on RTF in Azure 4. Does this work on Google cloud? a. Cloud agnostic 5. What’s going under the hood during rtf installation ( istio, helm chart). Purpose of certificate generation. Is the url taken from generated certificates? a. init.sh 6. Updating components through terraform on AWS 7. Logging frameworks with RTF a. Temporary local log store + centralized log server b. Three log forwarders 8. How DR is handled in RTF 9. How the object store works differently in case of runtime fabric? a. https://docs.mulesoft.com/runtime-fabric/1.7/runtime-fabric-limitations b. How To Use Redis As Custom Object Store Reference In Mule 4 c. Implement Watermark with a DB connector
  • 7. All contents © MuleSoft, LLC What behind an application deployment 7
  • 8. All contents © MuleSoft, LLC Application Deployment - Resource allocations 8 (https://docs.mulesoft.com/runtime-fabric/latest/deploy-resource-allocation) Burstable CPU ● CPU throttling ● CPU allocation and licensed core Guaranteed Memory ● Memory allocation ● RTF Applications are Restarted by Themselves or After a New application Deployment Due to "Burstable" Memory Mode
  • 9. All contents © MuleSoft, LLC Application Deployment - maven 9 CICD pipeline and maven Maven deployment in Mule 3 or Mule 4 ● Upload application to Exchange and deploy ● How to deploy a Mule 4 application to Runtime Fabric with Maven ● How to Deploy a Mule 3 Application to Runtime Fabric With Maven Deploy an application already in Exchange ● How to Use Maven to Deploy an Application from Exchange to RTF Directly Deployment parameters not supported by the Maven Plugin ● How to Configure JVM Arguments via API to RTF Applications
  • 10. All contents © MuleSoft, LLC Pre-survey questions - deployment 10 Part 1 1. How CI-CD differs compared to deployment on Cloudhub? 2. Can you talk about the exchange limit of max 100k assets for RTF deployments per org and how to overcome it? a. https://docs.mulesoft.com/exchange/to-create-an-asset#asset-limits 3. How does RTF licensing works? a. https://docs.mulesoft.com/runtime-fabric/1.7/deploy-resource-allocation#mulesoft-license-compliance 4. For business financial and expense reporting what out of box feature is provisioned in rtf 5. The asset publication to exchange should be handled by CI or the developer what's the best practice? Also, I couldn't find the properties in the control plane properties tab though I have added them in pom.xml under mule maven plugin RTF deployment. 6. How does RTF manage multiple versions of runtime deployment and why is this needed? 7. How different environments like DEV, QA, UAT, STG, PROD are created in RTF? Do we need to set up a separate RTF for each environment or some other approach is followed? a. Each environment is a different namespace in rtf b. No network segregation within the same RTF cluster
  • 11. All contents © MuleSoft, LLC Pre-survey questions - deployment 11 Part 2 1. How do we set up CI/CD in RTF deployment topology? Is mulesoft going to provide base Image with pre configured dependencies? How can we manage app deployment to pods? 2. Want to understand how Jenkins will be build with RTF 3. A Mule deployment in a Jenkins pipeline. How to use environmental variables and property placeholders in a .yaml or properties file? 4. How popular is this deployment option? Does it support Mule domain projects? a. https://help.mulesoft.com/s/article/Domain-Support-Shared-Resources-with-MuleSoft-Platforms 5. How do we deploy RTF on machine which has four cores ? so RTF pod would be only for each core or each core can have more than one pod of RTF ? a. Fractional cores or multiple cores 6. How to scale deployed application on RTF? 7. How the URLs look like which APIs can use to call each other within RTF a. https://help.mulesoft.com/s/article/How-to-Access-Mule-Applications-in-the-Same-RTF-Cluster-from-One-Application
  • 12. All contents © MuleSoft, LLC Troubleshoot application deployment issues 12 Operational or connectivity issues UI issues ● "Deploy failed. Something went wrong" ○ Deploy deleted assets ○ Exchange Permission Connectivities ● Mutual authentication - no TLS/SSL interception Maven deployment ● The Minimum Permission to Deploy an Application with Anypoint Console or Maven in RTF ● Can not Load MQ Connector in Mule 3 applications in RTF ● Error "No application with the provided GAV could be retrieved from Exchange" when deploying an application to Runtime Fabric
  • 13. All contents © MuleSoft, LLC Troubleshoot application deployment issues 13 Pod start issues Init:ImagePullBackOff ● Init:ImagePullBackOff in RTF ● Manually Renew the Credentials for the Image Registry in RTF Application CrashLoopBackOff or keep restarting ● How to check if an application is restarted due to memory issues in RTF (Runtime Fabric) ● How to check the memory usage of an application replica in RTF (Runtime Fabric) ● How to Check Application Native Memory Usage in RTF ● Application crashed during starting ● Init:CrashLoopBackOff - the init container got a problem downloading the application package API auto-discovery ● Application In RTF Stays At "Applying" Status Due to API Auto Discovery
  • 14. All contents © MuleSoft, LLC Troubleshoot application deployment issues 14 Platform issues CGroup memory leaking (kernel memory accounting) ● Kernel memory accounting issue ● Kernel issue ○ “Cause Unknown” - from Redhat ● Symptoms - "cannot allocate memory" ○ Health status refresh timeout - Cluster-status ○ Agent update timeout ○ PullImageBackoff - registry-creds ○ Agent disconnected ● RTF - How to Resolve the Cgroup Memory Leaking Issue in Runtime Fabric ○ Regular cluster maintenance and reboot Flannel ● Fixed in new versions ● How to Check if the Overlay Network is Working Well in RTF
  • 15. All contents © MuleSoft, LLC Best practices 15 Keep the infrastructure and RTF platform in good status ● Regularly patch and reboot nodes (at least every two months) ● Keep version gaps small Build a CICD pipeline and always test before proceeding to Prod ● Allocate enough memory ● Provide client credentials if it’s app with auto-discovery
  • 16. All contents © MuleSoft, LLC Recap 16 RTF architecture Application deployment process Deployment considerations Troubleshoot application deployment issues
  • 17. All contents © MuleSoft, LLC Q&A 17
  • 18. All contents © MuleSoft, LLC Thank you