SlideShare a Scribd company logo
For Astricon 2017
Leif Madsen & Doug Smith
Red Hat, Inc.
VNF-Asterisk, Deploying The Applications
2
10:45 - Intro to NFV & VNF-Asterisk
11:30 - A VNF-Asterisk Demo
1:45 - Infrastructure Deployment
2:30 - Application Deployment
TODAY’S AGENDA
INSERT DESIGNATOR, IF NEEDED3
The container images Kubernetes Resource Definitions
TroubleshootingRun the deployment
WHAT SHALL WE LOOK AT?
The pieces involved in deploying the VNF-Asterisk applications themselves.
THE DOCKER IMAGES
INSERT DESIGNATOR, IF NEEDED5
dougbtv/docker-asterisk
DOCKER-ASTERISK
sipcapture/homer-docker
HOMER-DOCKER
WHERE ARE THE DOCKERFILES?
The Dockerfiles are on Github, of course! And the images on Dockerhub.
VNF-ASTERISK-CONTROLLER
dougbtv/vnf-asterisk-controller
*
INSERT DESIGNATOR, IF NEEDED6
DISSECTING A DOCKERFILE
Each instruction results in an image layer
FROM: A base image
RUN: Commands
ENV: Environment vars
INSERT DESIGNATOR, IF NEEDED7
THE OPEN CONTAINER INITIATIVE
Docker isn’t the only way.
THE KUBERNETES RESOURCE
DEFINITIONS
9
In Kubernetes pods live together with the
namespaces of an “infra-container” which
shares their network & volume mounts,
and more.
WHAT’S A POD?
Pods are logically grouped containers and scale together in deployments.
Pod
Asterisk (VoIP)
Capture Agent
(packet sniffer)
Network Volumes ...
container container
10
INSIDE A POD SPEC...
It’s really just YAML that specifies how to run a pod.
kind: The type of specification
image: Which image to run
volumeMounts: storage to mount
configMap: configurations to mount
11
DEPLOYMENTS AND REPLICAS
Deployment controllers provide updates to ReplicaSets and Pods
Pod-1
Asterisk
(VoIP)
Capture
Agent
container container
Replica Set
Replicas: 2
Pod-2
Asterisk
(VoIP)
Capture
Agent
container container
2 instances of
Asterisk, please.
Deployment: Asterisk
12
INSIDE A DEPLOYMENT DEFINITION
It abstracts a replication controller & pod specs so you can scale it.
kind: It’s a deployment
replicas: Number of instances
template: What to replicate
spec: The whole pod spec (as before)
13
CONFIGMAPS
How to pack (primarily) static configuration files (or environment vars, and more) into pods.
kind: A config map.
data: A dictionary of configs
These are config files packed into
the yaml file! Here’s some friendly
ones you know and love (like
pjsip.conf and cdr.conf)
DEMO TIME!
TROUBLESHOOTING
BONUS! TAKE THE HIGH ROAD
17
DO YOU LIKE THE EASY WAY OUT?
You can also run VNF-Asterisk solely with Docker-Compose!
$ dnf install -y docker-compose
$ git clone https://github.com/dougbtv/docker-asterisk.git
$ docker-compose build
$ docker-compose up
18
{intentionally blank}
19
20
VNF-Asterisk is a VNF utilizing Asterisk (an
Open Source telephony framework) and
intended to be used for validating environments,
and exploring topics such as:
● VNFs in COEs (Kubernetes / Openshift)
● Container Networking
● Scale
● High Availability
● And more.
SO, WHAT IS VNF-ASTERISK?
A demo VNF in Kubernetes that YOU can try out!
redhat-nfvpe/vnf-asterisk

More Related Content

PDF
Asterisk as a Virtual Network Function Part 3
PDF
Asterisk as a Virtual Network Function Part 2
PDF
Asterisk as a Virtual Network Function Part 1
PPTX
Tacker vancouver project update
PPTX
Tacker vancouver project onboarding new
PDF
Docker Swarm 1.12 Overview and Demo
PPTX
Kubernetes service with ha
PDF
Asterisk as a Virtual Network Function Part 3
Asterisk as a Virtual Network Function Part 2
Asterisk as a Virtual Network Function Part 1
Tacker vancouver project update
Tacker vancouver project onboarding new
Docker Swarm 1.12 Overview and Demo
Kubernetes service with ha

What's hot (20)

PDF
Docker Summit 2016 - Kubernetes: Sweets and Bitters
PDF
OpenStack Swiftの最新機能とStorlets
PDF
Using Storlets/Docker For Large Scale Image Processing
PDF
HPC on OpenStack
PPTX
Canister
PDF
Kubernetes Security Best Practices for DevOps
PDF
Cloudformation vs terraform_vs_ansible
PPTX
Cloud Native Okteto Cloud
PDF
JupyterHub + kubernetes
PPTX
CI, CD, CT, Deploy, IaaS, DevOps, Stage
PPTX
Dive into orchestration with Kubernetes
PDF
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
PDF
Rally: OpenStack Benchmarking
PDF
Lopug docker end_of_distro
PDF
Importance of having a vulnerability management | Vfeed
PDF
Simplifying and Securing your OpenShift Network with Project Calico
PPTX
Make stateful apps in Kubernetes a no brainer with Pure Storage and GitOps
PDF
05.10.2017 AWS User Group Meetup - FALLACIES OF DISTRIBUTED COMPUTING WITH KU...
PDF
Bcn open stack meet up - july 2014
PPTX
Cross Cloud CI Intro
Docker Summit 2016 - Kubernetes: Sweets and Bitters
OpenStack Swiftの最新機能とStorlets
Using Storlets/Docker For Large Scale Image Processing
HPC on OpenStack
Canister
Kubernetes Security Best Practices for DevOps
Cloudformation vs terraform_vs_ansible
Cloud Native Okteto Cloud
JupyterHub + kubernetes
CI, CD, CT, Deploy, IaaS, DevOps, Stage
Dive into orchestration with Kubernetes
Google ko: fast Kubernetes microservice development in Go - Sangam Biradar, E...
Rally: OpenStack Benchmarking
Lopug docker end_of_distro
Importance of having a vulnerability management | Vfeed
Simplifying and Securing your OpenShift Network with Project Calico
Make stateful apps in Kubernetes a no brainer with Pure Storage and GitOps
05.10.2017 AWS User Group Meetup - FALLACIES OF DISTRIBUTED COMPUTING WITH KU...
Bcn open stack meet up - july 2014
Cross Cloud CI Intro
Ad

Similar to Asterisk as a Virtual Network Function Part 4 (20)

PDF
Introduction to Docker
PDF
What is this "docker"
PPTX
Docker Ecosystem on Azure
PDF
JUDCon 2010 Boston : BoxGrinder
PPTX
Running Docker in Development & Production (DevSum 2015)
PDF
Docker intro
PDF
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
PPTX
Docker and the Container Ecosystem
PDF
Docker Multi-arch All The Things
PPTX
SPFx Team based Development using Docker
PDF
Introducing Docker
PDF
App container rkt
PPTX
Docker and kubernetes
PDF
Docker - Lightweight Virtualization
PPTX
Dockerizing a Symfony2 application
ODP
Linux containers & Devops
PDF
Delivering Docker & K3s worloads to IoT Edge devices
PDF
Dev opsec dockerimage_patch_n_lifecyclemanagement_2019
PDF
Belvedere
Introduction to Docker
What is this "docker"
Docker Ecosystem on Azure
JUDCon 2010 Boston : BoxGrinder
Running Docker in Development & Production (DevSum 2015)
Docker intro
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
Agile Brown Bag - Vagrant & Docker: Introduction
Docker and the Container Ecosystem
Docker Multi-arch All The Things
SPFx Team based Development using Docker
Introducing Docker
App container rkt
Docker and kubernetes
Docker - Lightweight Virtualization
Dockerizing a Symfony2 application
Linux containers & Devops
Delivering Docker & K3s worloads to IoT Edge devices
Dev opsec dockerimage_patch_n_lifecyclemanagement_2019
Belvedere
Ad

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Spectroscopy.pptx food analysis technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
1. Introduction to Computer Programming.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Getting Started with Data Integration: FME Form 101
PDF
Encapsulation theory and applications.pdf
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Empathic Computing: Creating Shared Understanding
Tartificialntelligence_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Spectroscopy.pptx food analysis technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
A comparative analysis of optical character recognition models for extracting...
Reach Out and Touch Someone: Haptics and Empathic Computing
1. Introduction to Computer Programming.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Electronic commerce courselecture one. Pdf
NewMind AI Weekly Chronicles - August'25-Week II
Per capita expenditure prediction using model stacking based on satellite ima...
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Getting Started with Data Integration: FME Form 101
Encapsulation theory and applications.pdf
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Group 1 Presentation -Planning and Decision Making .pptx
cuic standard and advanced reporting.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Empathic Computing: Creating Shared Understanding

Asterisk as a Virtual Network Function Part 4

  • 1. For Astricon 2017 Leif Madsen & Doug Smith Red Hat, Inc. VNF-Asterisk, Deploying The Applications
  • 2. 2 10:45 - Intro to NFV & VNF-Asterisk 11:30 - A VNF-Asterisk Demo 1:45 - Infrastructure Deployment 2:30 - Application Deployment TODAY’S AGENDA
  • 3. INSERT DESIGNATOR, IF NEEDED3 The container images Kubernetes Resource Definitions TroubleshootingRun the deployment WHAT SHALL WE LOOK AT? The pieces involved in deploying the VNF-Asterisk applications themselves.
  • 5. INSERT DESIGNATOR, IF NEEDED5 dougbtv/docker-asterisk DOCKER-ASTERISK sipcapture/homer-docker HOMER-DOCKER WHERE ARE THE DOCKERFILES? The Dockerfiles are on Github, of course! And the images on Dockerhub. VNF-ASTERISK-CONTROLLER dougbtv/vnf-asterisk-controller *
  • 6. INSERT DESIGNATOR, IF NEEDED6 DISSECTING A DOCKERFILE Each instruction results in an image layer FROM: A base image RUN: Commands ENV: Environment vars
  • 7. INSERT DESIGNATOR, IF NEEDED7 THE OPEN CONTAINER INITIATIVE Docker isn’t the only way.
  • 9. 9 In Kubernetes pods live together with the namespaces of an “infra-container” which shares their network & volume mounts, and more. WHAT’S A POD? Pods are logically grouped containers and scale together in deployments. Pod Asterisk (VoIP) Capture Agent (packet sniffer) Network Volumes ... container container
  • 10. 10 INSIDE A POD SPEC... It’s really just YAML that specifies how to run a pod. kind: The type of specification image: Which image to run volumeMounts: storage to mount configMap: configurations to mount
  • 11. 11 DEPLOYMENTS AND REPLICAS Deployment controllers provide updates to ReplicaSets and Pods Pod-1 Asterisk (VoIP) Capture Agent container container Replica Set Replicas: 2 Pod-2 Asterisk (VoIP) Capture Agent container container 2 instances of Asterisk, please. Deployment: Asterisk
  • 12. 12 INSIDE A DEPLOYMENT DEFINITION It abstracts a replication controller & pod specs so you can scale it. kind: It’s a deployment replicas: Number of instances template: What to replicate spec: The whole pod spec (as before)
  • 13. 13 CONFIGMAPS How to pack (primarily) static configuration files (or environment vars, and more) into pods. kind: A config map. data: A dictionary of configs These are config files packed into the yaml file! Here’s some friendly ones you know and love (like pjsip.conf and cdr.conf)
  • 16. BONUS! TAKE THE HIGH ROAD
  • 17. 17 DO YOU LIKE THE EASY WAY OUT? You can also run VNF-Asterisk solely with Docker-Compose! $ dnf install -y docker-compose $ git clone https://github.com/dougbtv/docker-asterisk.git $ docker-compose build $ docker-compose up
  • 19. 19
  • 20. 20 VNF-Asterisk is a VNF utilizing Asterisk (an Open Source telephony framework) and intended to be used for validating environments, and exploring topics such as: ● VNFs in COEs (Kubernetes / Openshift) ● Container Networking ● Scale ● High Availability ● And more. SO, WHAT IS VNF-ASTERISK? A demo VNF in Kubernetes that YOU can try out! redhat-nfvpe/vnf-asterisk