snaproute ons ci cd v0 - linux foundation events€¦ · ons 2019 using kubernetes to build a...

30
ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Upload: others

Post on 19-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

ONS 2019Using Kubernetes to Build a Microservices Cloud Native Network OS to

Bring CI/CD to Networking

April 4, 2019

Page 2: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Agenda

2

• About Me• The need for CI/CD in Networking…• What is CI/CD?• How does the network fit in? – Why is it special?• What is the automation landscape today?• Why isn’t this good enough for CI/CD?• Maybe the network isn’t special?• Tackling this from the network OS level…• Why is Kubernetes perfect for the job?• Steps you can you take now…• Q&A• Contact

Page 3: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

About me

3

• Glenn Sullivan, Co-Founder SnapRoute• Former network engineer running global

DC ops at Apple• Using whitebox switches since the early

days• Started SnapRoute to build solutions for

operators, by operators

@GlennSullivanSR

/glenn-sullivan

Page 4: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

The need for CI/CD in Networking…

4

Page 5: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

The need for CI/CD in Networking…

5

Page 6: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

The need for CI/CD in Networking…

6

Page 7: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is CI/CD?

7

Plan

Build

MonitorTest

Deplo

y

Operate

Dev Ops

Build

Monitor

Test

Deploy

Operate

Plan

Page 8: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is CI/CD?

Page 9: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is CI/CD?

CI/CD = Constant, Little Changes

Page 10: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is CI/CD?

Source: codefresh.io

Page 11: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

11

Page 12: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

12

Page 13: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

13

SPECIAL

Page 14: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

14

Page 15: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

15

Page 16: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

How does the network fit In – Why is it special?

16

Page 17: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is the automation landscape today?

17

Rancid

Page 18: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

What is the automation landscape today?

18

!= Plan

Build

MonitorTest

Deplo

y

Operate

Dev Ops

Page 19: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Why isn’t this good enough for CI/CD?

19

VS NOS

Page 20: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Maybe the network isn’t special?

20

NOT SPECIAL

Page 21: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Maybe the network isn’t special?

21

Source: Javier Santos Paniego, Scala Developer & Co-Founder of Scalera Blog

Page 22: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Tackling this from the network OS level…

22

Page 23: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Tackling this from the network OS level…

23

Page 24: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Why is Kubernetes perfect for the job?

24

Page 25: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Why is Kubernetes perfect for the job?

25

Source: thenewstack.io/ebooks/kubernetes/ci-cd-with-kubernetes

Page 26: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

CN-NOS Architecture

26

KubeAPI ProtocolsTelemetry

TelemetryRC

Core Controllers

System Mgmt

Host Controller

PMD

ASICRC PlatformRC

L3/L2 Infra

ADJRC

INTFRCuFIBRC

TPS Agent

LACP

BGPLLDP

STP

RTM

FilterRC

DHCP Relay

YMM

CLI

PRISM

NetConfCNCLI

3rd Party /Custom Apps

Platform Hardware

Observe

Analy

zeACT

Data Plane Linux Kernel

• Native embedded Kubernetes

• Yocto base

• Hardware abstraction

• KubeAPI / REST API Layer

• Cloud Native CLI

• Telemetry Layer

Page 27: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Steps you can take now…

27

• Use CI/CD to adopt CI/CD • Get rid of the culture of “NO”• Use SnapRoute CN-NOS in your environment ;)• Define clear roles for each team• Find manual, repetitive changes – get rid of

them• Change maintenance window times • Networks are not sacred – don’t treat them as

such• Decrease time between upgrades – build the

muscle• Start small and build upon easy wins

Page 28: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Q&A

28

Page 29: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019

Contact Us3960 Freedom CircleSuite 100Santa Clara, CA 95054

(844) 762-7768

[email protected]

@snaproute

/snaproute-inc.

/SnapRouteInc

Page 30: SnapRoute ONS CI CD v0 - Linux Foundation Events€¦ · ONS 2019 Using Kubernetes to Build a Microservices Cloud Native Network OS to Bring CI/CD to Networking April 4, 2019