20190817 Container Bare Metal for Networking

D907136acebc72f1df878541b26f271a?s=47 Phil Huang
August 17, 2019

20190817 Container Bare Metal for Networking

#container #baremetal #kubernetes

D907136acebc72f1df878541b26f271a?s=128

Phil Huang

August 17, 2019
Tweet

Transcript

  1. 2.

    # whois Phil Huang 黃秉鈞 • 社群斜槓 青年 青壯年 單身

    ◦ SDNDS-TW ◦ Cloud Native Taiwan User Group (CNTUG) • 任職於 Red Hat 擔任 Solution Architect ◦ Ansible IT Automation ◦ OpenShift Container Platform ◦ Software-Defined Networking (SDN) ◦ Network Function Virtualization (NFV) • Blog ◦ https://blog.pichuang.com.tw Ref: https://www.linkedin.com/in/phil-huang-09b09895/
  2. 10.

    什麼是 CNI (Container Network Interface)? • 設定 Container 的網路介面的標準和函式庫 •

    僅關懷 Container 網路資源分配和釋放方法,具體實踐方式靠別人 Ref: https://www.hwchiu.com/cni-questions.html CNI 常見問題整理 (簡單版) https://www.hwchiu.com/introduce-cni-ii.html [Container Network Interface] CNI Introduction (英文版) <-hwchiu 跑去美國爽 https://github.com/containernetworking/cni/blob/master/libcni/api.go#L72-L87 GitHub - cni/libcni/api.go L72-L87
  3. 11.

    什麼是 CNI Plugin? • 基於 CNI 標準及函式庫之具體實踐方式 Ref: https://github.com/containernetworking/cni#3rd-party-plugins GitHub

    - CNI 3rd party plugins https://github.com/containernetworking/plugins#plugins-supplied GitHub - CNI Plugins https://blog.pichuang.com.tw/20190723-container-and-container-platform-hardening
  4. 14.

    MEC in NFV Reference Architecture GR MEC 017 - ETSI

    ME: Mobile Edge Mm: Management Mp: ME platform functionality Mx: Connections to external entities • NFV 需求 ◦ 單一業務多網路 ◦ Resource Management ◦ QoS / Latency ◦ Throughput
  5. 15.

    © 2019 Cloud Native Computing Foundation 17 Evolving from VNFs

    to CNFs VNFs ONAP Orchestrator OpenStack or VMware Bare Metal Azure or Rackspace Past VNFs OpenStack Bare Metal Kubernetes Present CNFs ONAP Orchestrator Any Cloud Bare Metal Any Cloud Future VNFs CNFs ONAP Orche- strator Kubernetes KubeVirt/Virtlet OSS/ BSS Ref: CNF Testbed Reality in Taiwan
  6. 16.

    © 2019 Cloud Native Computing Foundation 18 Multiple Service Function

    Chains: Test Cases OpenStack Node - Snake Userspace-to-Kernel Dataplane (vSwitch) VNF VNF VNF VNF VNF VNF vhost-user connections vhost-user connections vhost-user connections Kubernetes Node - Pipeline Userspace-to-Userspace Dataplane (vSwitch) CNF CNF CNF CNF CNF CNF memif connections memif connections memif connections Kubernetes Node - Snake Userspace-to-Userspace Dataplane (vSwitch) CNF CNF CNF CNF CNF CNF memif connections memif connections memif connections Ref: CNF Testbed
  7. 18.

    How Kubernetes involve NFV infrastructure? Enable attaching multiple network interfaces

    to pods in Kubernetes. Ref: https://builders.intel.com/docs/networkbuilders/enabling_new_features_in_kubernetes_for_NFV.pdf
  8. 23.

    SR-IOV 架構 Ref: https://bestsamina.github.io/posts/2018-08-20-dpdk-sriov-learn/ VF • SR-IOV 是一個標準規範,不限定於僅於 網卡實作 •

    兩個功能 1. Physical Function, PF 2. Virtual Function, VF • 比例 ◦ PF : VF = 1 : n (依型號數量不定)