SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Angel Borroy | Docker Zaragoza
https://www.meetup.com/Meetup-Group-docker-Zaragoza
Deploying Activiti Cloud with Kubernetes,
Helm and Docker
During this session you can….
• Discover Docker Zaragoza Meetup
• Enjoy a short intro presentation
• Understand how Activiti 7 is being prepared for
Native Cloud deployment
○ Helm
○ k8s
○ Docker
Deploying Activiti Cloud
WITH DOCKER + HELM + K8S
Software catalog
CLOUD NATIVE APPLICATIONS
• Docker
• Kubernetes
• Helm
• Activiti 7
○ Keycloak
Helm
Package Manager for Kubernetes
• Helm chart
○ Docker images
○ Services configuration
○ Infrastructure configuration
• Helm is the CLI & Tiller is the service
• Charts are published on a repository
• Dependencies, multiple configurations,
templates, releases...
https://hub.helm.sh
• Spring Cloud based
• Keycloak for IDM & SSO
• Activiti Modeler BPMN 2.0
• API Gateway
• Service Registry
• Config Server
• Zipkin (traces)
• Activiti Applications
Activiti 7
Process Automation aka BPM
• Runtime Bundle
○ Process definitions & instances
• Query Service
○ Aggregate data from other services
• Audit Service
• Notification Service
• Cloud Connectors
○ Service Tasks
Activiti 7
Process Automation aka BPM
Activiti 7
Deploying and Running a Process
https://github.com/Activiti/
activiti-cloud-charts/tree/
master/activiti-cloud-full-e
xample
Activiti 7
https://localhost:31234
Activiti 7
$ helm repo add activiti-cloud-charts
https://activiti.github.io/activiti-cloud-charts/
"activiti-cloud-charts" has been added to your repositories
$ helm repo list
NAME URL
stable https://kubernetes-charts.storage.googleapis.com
local http://127.0.0.1:8879/charts
alfresco-incubator https://kubernetes-charts.alfresco.com/incubator
activiti-cloud-charts https://activiti.github.io/activiti-cloud-charts/
Activiti 7
$ kubectl create namespace activiti7
namespace "activiti7" created
$ kubectl get namespaces
NAME STATUS AGE
activiti7 Active 2s
default Active 3d
kube-public Active 3d
kube-system Active 3d
$ helm repo update
$ helm install stable/nginx-ingress --namespace=activiti7
$ kubectl get services -n activiti7
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
hardy-moth-nginx-ingress-controller LoadBalancer 10.104.75.117 localhost 80:31357/TCP,443:30350/TCP
hardy-moth-nginx-ingress-default-backend ClusterIP 10.98.155.68 <none> 80/TCP
Activiti 7
$ git clone https://github.com/Activiti/activiti-cloud-charts
$ cd activiti-cloud-chars
$ ifconfig
en7: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=4<VLAN_MTU>
ether 58:ef:68:7d:14:cd
inet 10.244.50.42 netmask 0xffffff00 broadcast 10.244.50.255
media: autoselect (1000baseT <full-duplex>)
status: active
https://github.com/Activiti/activiti-cloud-charts/blob/master/activiti-cloud
-full-example/values.yaml
REPLACEME > 10.244.50.42.nip.io
$ cd activiti-cloud-full-example/
$ helm install -f values.yaml
activiti-cloud-charts/activiti-cloud-full-example --namespace=activiti7
$ kubectl get pods -n activiti7
NAME READY STATUS RESTARTS AGE
hardy-moth-nginx-ingress-controller-887bfc895-tgkcj 1/1 Running 0 10m
hardy-moth-nginx-ingress-default-backend-dbf95b869-vzr4j 1/1 Running 0 10m
inky-moth-activiti-cloud-audit-55f75db476-jmktx 0/1 ContainerCreating 0 57s
inky-moth-activiti-cloud-connector-845d6c448d-pzv5d 0/1 Running 0 57s
inky-moth-activiti-cloud-gateway-66d747865c-5nh8t 0/1 Running 0 57s
inky-moth-activiti-cloud-modeling-595f994bc6-km7pz 0/2 ContainerCreating 0 57s
inky-moth-activiti-cloud-query-58cdb74497-tbgnb 0/1 Running 0 57s
inky-moth-keycloak-0 0/1 Running 0 57s
inky-moth-rabbitmq-0 0/1 Running 0 57s
inky-moth-runtime-bundle-56cf7cfbc5-gsmk4 0/1 Running 0 57s
Activiti 7
$ helm ls --namespace=activiti7
NAME REVISION UPDATED STATUS CHART APP VERSION
hardy-moth 1 Thu Dec 13 13:17:41 2018 DEPLOYED nginx-ingress-1.0.2 0.21.0
inky-moth 1 Thu Dec 13 13:27:27 2018 DEPLOYED activiti-cloud-full-example-0.5.0 1.0
$ helm search activiti-cloud-full
NAME CHART VERSION APP VERSION DESCRIPTION
activiti-cloud-charts/activiti-cloud-full-example0.5.0 1.0 An Activiti Helm chart
Activiti 7
Activiti 7
http://activiti-keycloak.10.244.50.42.nip.io/auth/admin/master/console
Activiti 7
http://activiti-cloud-gateway.10.244.50.42.nip.io/activiti-cloud-modeling
Activiti 7
$ kubectl -n activiti7 delete svc --all
$ kubectl -n activiti7 delete po --all
$ kubectl delete namespace activiti7
Error from server (Conflict): Operation cannot be fulfilled on namespaces "activiti7": The system
is ensuring all content is removed from this namespace. Upon completion, this namespace will
automatically be purged by the system.
Activiti 7
Drive out the rubbish
THANK YOU :)THANK YOU :)

Weitere ähnliche Inhalte

Was ist angesagt?

2017 AWSome day Taichung sharing
2017 AWSome day Taichung sharing2017 AWSome day Taichung sharing
2017 AWSome day Taichung sharing
Yu-Lin Huang
 

Was ist angesagt? (20)

Architecting for Resiliency
Architecting for ResiliencyArchitecting for Resiliency
Architecting for Resiliency
 
Getting Started with AWS
Getting Started with AWSGetting Started with AWS
Getting Started with AWS
 
2017 AWSome day Taichung sharing
2017 AWSome day Taichung sharing2017 AWSome day Taichung sharing
2017 AWSome day Taichung sharing
 
EC2 Container Service - Distributed Applications at Scale - Pop-up Loft Tel Aviv
EC2 Container Service - Distributed Applications at Scale - Pop-up Loft Tel AvivEC2 Container Service - Distributed Applications at Scale - Pop-up Loft Tel Aviv
EC2 Container Service - Distributed Applications at Scale - Pop-up Loft Tel Aviv
 
Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)
 
Secure Content Delivery with AWS
Secure Content Delivery with AWSSecure Content Delivery with AWS
Secure Content Delivery with AWS
 
Getting Started on AWS
Getting Started on AWS Getting Started on AWS
Getting Started on AWS
 
Getting Started with Amazon EC2 Container Service
Getting Started with Amazon EC2 Container ServiceGetting Started with Amazon EC2 Container Service
Getting Started with Amazon EC2 Container Service
 
Aws cli
Aws cliAws cli
Aws cli
 
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivScaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
 
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel AvivAmazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
 
AWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant systemAWS CloudFormation template with single & redundant system
AWS CloudFormation template with single & redundant system
 
Amazon ECS
Amazon ECSAmazon ECS
Amazon ECS
 
Intro to Amazon ECS
Intro to Amazon ECSIntro to Amazon ECS
Intro to Amazon ECS
 
AWS re:Invent 2016: Running, Configuring, and Securing Windows Workloads (ARC...
AWS re:Invent 2016: Running, Configuring, and Securing Windows Workloads (ARC...AWS re:Invent 2016: Running, Configuring, and Securing Windows Workloads (ARC...
AWS re:Invent 2016: Running, Configuring, and Securing Windows Workloads (ARC...
 
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
Securing your content and media workflows on AWS
Securing your content and media workflows on AWSSecuring your content and media workflows on AWS
Securing your content and media workflows on AWS
 
AWS re:Invent 2016: Hybrid Architectures: Bridging the Gap to the Cloud( ARC2...
AWS re:Invent 2016: Hybrid Architectures: Bridging the Gap to the Cloud( ARC2...AWS re:Invent 2016: Hybrid Architectures: Bridging the Gap to the Cloud( ARC2...
AWS re:Invent 2016: Hybrid Architectures: Bridging the Gap to the Cloud( ARC2...
 
Amazon Elastic Container Service (ECS)
Amazon Elastic Container Service (ECS)Amazon Elastic Container Service (ECS)
Amazon Elastic Container Service (ECS)
 

Ähnlich wie Zaragoza dev ops-activiti-khd-20181212

Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
lutter
 

Ähnlich wie Zaragoza dev ops-activiti-khd-20181212 (20)

Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPS
 
Kubered -Recipes for C2 Operations on Kubernetes
Kubered -Recipes for C2 Operations on KubernetesKubered -Recipes for C2 Operations on Kubernetes
Kubered -Recipes for C2 Operations on Kubernetes
 
Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018
 
What is serveless?
What is serveless? What is serveless?
What is serveless?
 
OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes OSDN: Serverless technologies with Kubernetes
OSDN: Serverless technologies with Kubernetes
 
Kubernetes extensibility
Kubernetes extensibilityKubernetes extensibility
Kubernetes extensibility
 
DCEU 18: Docker Container Networking
DCEU 18: Docker Container NetworkingDCEU 18: Docker Container Networking
DCEU 18: Docker Container Networking
 
Kubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linuxKubernetes deployment on bare metal with container linux
Kubernetes deployment on bare metal with container linux
 
Docker 1.9 Feature Overview
Docker 1.9 Feature OverviewDocker 1.9 Feature Overview
Docker 1.9 Feature Overview
 
ClickHouse on Kubernetes, by Alexander Zaitsev, Altinity CTO
ClickHouse on Kubernetes, by Alexander Zaitsev, Altinity CTOClickHouse on Kubernetes, by Alexander Zaitsev, Altinity CTO
ClickHouse on Kubernetes, by Alexander Zaitsev, Altinity CTO
 
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
Apache Deltacloud: Speaking EC2 and CIMI to Openstack (and others)
 
Altinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
Altinity Cluster Manager: ClickHouse Management for Kubernetes and CloudAltinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
Altinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
 
Get you Java application ready for Kubernetes !
Get you Java application ready for Kubernetes !Get you Java application ready for Kubernetes !
Get you Java application ready for Kubernetes !
 
Kubernetes for the PHP developer
Kubernetes for the PHP developerKubernetes for the PHP developer
Kubernetes for the PHP developer
 
Red Hat and kubernetes: awesome stuff coming your way
Red Hat and kubernetes:  awesome stuff coming your wayRed Hat and kubernetes:  awesome stuff coming your way
Red Hat and kubernetes: awesome stuff coming your way
 
Clocker - How to Train your Docker Cloud
Clocker - How to Train your Docker CloudClocker - How to Train your Docker Cloud
Clocker - How to Train your Docker Cloud
 
OpenStack API's and WSGI
OpenStack API's and WSGIOpenStack API's and WSGI
OpenStack API's and WSGI
 
Dayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on CloudDayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on Cloud
 
Effective Building your Platform with Kubernetes == Keep it Simple
Effective Building your Platform with Kubernetes == Keep it Simple Effective Building your Platform with Kubernetes == Keep it Simple
Effective Building your Platform with Kubernetes == Keep it Simple
 

Mehr von Angel Borroy López

Before & After Docker Init
Before & After Docker InitBefore & After Docker Init
Before & After Docker Init
Angel Borroy López
 

Mehr von Angel Borroy López (20)

Transitioning from Customized Solr to Out-of-the-Box OpenSearch
Transitioning from Customized Solr to Out-of-the-Box OpenSearchTransitioning from Customized Solr to Out-of-the-Box OpenSearch
Transitioning from Customized Solr to Out-of-the-Box OpenSearch
 
Alfresco integration with OpenSearch - OpenSearchCon 2024 Europe
Alfresco integration with OpenSearch - OpenSearchCon 2024 EuropeAlfresco integration with OpenSearch - OpenSearchCon 2024 Europe
Alfresco integration with OpenSearch - OpenSearchCon 2024 Europe
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Using Generative AI and Content Service Platforms together
Using Generative AI and Content Service Platforms togetherUsing Generative AI and Content Service Platforms together
Using Generative AI and Content Service Platforms together
 
Enhancing Document-Centric Features with On-Premise Generative AI for Alfresc...
Enhancing Document-Centric Features with On-Premise Generative AI for Alfresc...Enhancing Document-Centric Features with On-Premise Generative AI for Alfresc...
Enhancing Document-Centric Features with On-Premise Generative AI for Alfresc...
 
La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1
La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1
La Guía Definitiva para una Actualización Exitosa a Alfresco 23.1
 
Docker Init with Templates for Alfresco
Docker Init with Templates for AlfrescoDocker Init with Templates for Alfresco
Docker Init with Templates for Alfresco
 
Before & After Docker Init
Before & After Docker InitBefore & After Docker Init
Before & After Docker Init
 
Alfresco Transform Services 4.0.0
Alfresco Transform Services 4.0.0Alfresco Transform Services 4.0.0
Alfresco Transform Services 4.0.0
 
How to migrate from Alfresco Search Services to Alfresco SearchEnterprise
How to migrate from Alfresco Search Services to Alfresco SearchEnterpriseHow to migrate from Alfresco Search Services to Alfresco SearchEnterprise
How to migrate from Alfresco Search Services to Alfresco SearchEnterprise
 
Using Podman with Alfresco
Using Podman with AlfrescoUsing Podman with Alfresco
Using Podman with Alfresco
 
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
CSP: Evolución de servicios de código abierto en un mundo Cloud NativeCSP: Evolución de servicios de código abierto en un mundo Cloud Native
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
 
Alfresco Embedded Activiti Engine
Alfresco Embedded Activiti EngineAlfresco Embedded Activiti Engine
Alfresco Embedded Activiti Engine
 
Alfresco Transform Core 3.0.0
Alfresco Transform Core 3.0.0Alfresco Transform Core 3.0.0
Alfresco Transform Core 3.0.0
 
Collaborative Editing Tools for Alfresco
Collaborative Editing Tools for AlfrescoCollaborative Editing Tools for Alfresco
Collaborative Editing Tools for Alfresco
 
Desarrollando una Extensión para Docker
Desarrollando una Extensión para DockerDesarrollando una Extensión para Docker
Desarrollando una Extensión para Docker
 
DockerCon 2022 Spanish Room-ONBOARDING.pdf
DockerCon 2022 Spanish Room-ONBOARDING.pdfDockerCon 2022 Spanish Room-ONBOARDING.pdf
DockerCon 2022 Spanish Room-ONBOARDING.pdf
 
Deploying Containerised Open-Source CSP Platforms
Deploying Containerised Open-Source CSP PlatformsDeploying Containerised Open-Source CSP Platforms
Deploying Containerised Open-Source CSP Platforms
 
Alfresco Certificates
Alfresco Certificates Alfresco Certificates
Alfresco Certificates
 
Discovering the 2 in Alfresco Search Services 2.0
Discovering the 2 in Alfresco Search Services 2.0Discovering the 2 in Alfresco Search Services 2.0
Discovering the 2 in Alfresco Search Services 2.0
 

Kürzlich hochgeladen

%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Kürzlich hochgeladen (20)

WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 

Zaragoza dev ops-activiti-khd-20181212

  • 1. Angel Borroy | Docker Zaragoza https://www.meetup.com/Meetup-Group-docker-Zaragoza Deploying Activiti Cloud with Kubernetes, Helm and Docker
  • 2. During this session you can…. • Discover Docker Zaragoza Meetup • Enjoy a short intro presentation • Understand how Activiti 7 is being prepared for Native Cloud deployment ○ Helm ○ k8s ○ Docker
  • 3. Deploying Activiti Cloud WITH DOCKER + HELM + K8S
  • 4. Software catalog CLOUD NATIVE APPLICATIONS • Docker • Kubernetes • Helm • Activiti 7 ○ Keycloak
  • 5. Helm Package Manager for Kubernetes • Helm chart ○ Docker images ○ Services configuration ○ Infrastructure configuration • Helm is the CLI & Tiller is the service • Charts are published on a repository • Dependencies, multiple configurations, templates, releases... https://hub.helm.sh
  • 6. • Spring Cloud based • Keycloak for IDM & SSO • Activiti Modeler BPMN 2.0 • API Gateway • Service Registry • Config Server • Zipkin (traces) • Activiti Applications Activiti 7 Process Automation aka BPM
  • 7. • Runtime Bundle ○ Process definitions & instances • Query Service ○ Aggregate data from other services • Audit Service • Notification Service • Cloud Connectors ○ Service Tasks Activiti 7 Process Automation aka BPM
  • 8. Activiti 7 Deploying and Running a Process https://github.com/Activiti/ activiti-cloud-charts/tree/ master/activiti-cloud-full-e xample
  • 10. Activiti 7 $ helm repo add activiti-cloud-charts https://activiti.github.io/activiti-cloud-charts/ "activiti-cloud-charts" has been added to your repositories $ helm repo list NAME URL stable https://kubernetes-charts.storage.googleapis.com local http://127.0.0.1:8879/charts alfresco-incubator https://kubernetes-charts.alfresco.com/incubator activiti-cloud-charts https://activiti.github.io/activiti-cloud-charts/
  • 11. Activiti 7 $ kubectl create namespace activiti7 namespace "activiti7" created $ kubectl get namespaces NAME STATUS AGE activiti7 Active 2s default Active 3d kube-public Active 3d kube-system Active 3d $ helm repo update $ helm install stable/nginx-ingress --namespace=activiti7 $ kubectl get services -n activiti7 NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) hardy-moth-nginx-ingress-controller LoadBalancer 10.104.75.117 localhost 80:31357/TCP,443:30350/TCP hardy-moth-nginx-ingress-default-backend ClusterIP 10.98.155.68 <none> 80/TCP
  • 12. Activiti 7 $ git clone https://github.com/Activiti/activiti-cloud-charts $ cd activiti-cloud-chars $ ifconfig en7: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=4<VLAN_MTU> ether 58:ef:68:7d:14:cd inet 10.244.50.42 netmask 0xffffff00 broadcast 10.244.50.255 media: autoselect (1000baseT <full-duplex>) status: active https://github.com/Activiti/activiti-cloud-charts/blob/master/activiti-cloud -full-example/values.yaml REPLACEME > 10.244.50.42.nip.io
  • 13. $ cd activiti-cloud-full-example/ $ helm install -f values.yaml activiti-cloud-charts/activiti-cloud-full-example --namespace=activiti7 $ kubectl get pods -n activiti7 NAME READY STATUS RESTARTS AGE hardy-moth-nginx-ingress-controller-887bfc895-tgkcj 1/1 Running 0 10m hardy-moth-nginx-ingress-default-backend-dbf95b869-vzr4j 1/1 Running 0 10m inky-moth-activiti-cloud-audit-55f75db476-jmktx 0/1 ContainerCreating 0 57s inky-moth-activiti-cloud-connector-845d6c448d-pzv5d 0/1 Running 0 57s inky-moth-activiti-cloud-gateway-66d747865c-5nh8t 0/1 Running 0 57s inky-moth-activiti-cloud-modeling-595f994bc6-km7pz 0/2 ContainerCreating 0 57s inky-moth-activiti-cloud-query-58cdb74497-tbgnb 0/1 Running 0 57s inky-moth-keycloak-0 0/1 Running 0 57s inky-moth-rabbitmq-0 0/1 Running 0 57s inky-moth-runtime-bundle-56cf7cfbc5-gsmk4 0/1 Running 0 57s Activiti 7
  • 14. $ helm ls --namespace=activiti7 NAME REVISION UPDATED STATUS CHART APP VERSION hardy-moth 1 Thu Dec 13 13:17:41 2018 DEPLOYED nginx-ingress-1.0.2 0.21.0 inky-moth 1 Thu Dec 13 13:27:27 2018 DEPLOYED activiti-cloud-full-example-0.5.0 1.0 $ helm search activiti-cloud-full NAME CHART VERSION APP VERSION DESCRIPTION activiti-cloud-charts/activiti-cloud-full-example0.5.0 1.0 An Activiti Helm chart Activiti 7
  • 18. $ kubectl -n activiti7 delete svc --all $ kubectl -n activiti7 delete po --all $ kubectl delete namespace activiti7 Error from server (Conflict): Operation cannot be fulfilled on namespaces "activiti7": The system is ensuring all content is removed from this namespace. Upon completion, this namespace will automatically be purged by the system. Activiti 7 Drive out the rubbish