Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS

61 views

Published on

Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS by Juan Carlos Ruiz Rico

Kubernetes has taken the container world by storm, becoming the popular choice for developers and operations teams alike to manage their container deployments at scale. In this session learn how Oracle's managed Kubernetes service combines the power of Kubernetes with the raw performance of Oracle Cloud Infrastructure. See how you can avoid the complexity of standing up and maintaining your own Kubernetes infrastructure while giving your containers direct access to native bare metal performance and empowering development teams to achieve continuous integration and continuous delivery goals with Wercker.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS

  1. 1. Overpowered Kubernetes: CI/CD for k8s on Enterprise IaaS MÁLAGA, SPAIN / 23RD - 25TH MAY 2018 Bringing developers and DevOps together around Big Data
  2. 2. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  3. 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Overpowered Kubernetes Juan Carlos Ruiz Rico Oracle Cloud Platform Consultant @_JCRico May, 2018 CI/CD for K8s on Enterprise IaaS
  4. 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 4
  5. 5. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | OpenJDK, Jakarta EE Active Community Participation Innovate in Open Source Kubernetes railcarsmith crashcart Open Sourcing Docker & K8s Utilities K8S installer Serverless Framework Javascript Technology Not-Only SQL Databases
  6. 6. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Agenda Containers: How Did We Arrive Here? Overpowering Kubernetes: Oracle’s Container Native Platform Demo Q & A 1 2 3 4
  7. 7. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | History and Multi-Dimensional Evolution of Computing Copyright © 2017 Oracle and/or its affiliates. All rights reserved
  8. 8. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | What are Containers? An Open Technology to Build, Ship, and Run Distributed Applications 9 VMs Containers
  9. 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Why Containers? 10
  10. 10. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Contributors on GitHub, 65K+ Commits Enterprises using Kubernetes to manage and orchestrate containers 11 Using Kubernetes in production Kubernetes – Explosive Growth 71% SOURCES: COREOS BLOG, Github.com, cncf.io 84%2000+
  11. 11. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Every technology has own terminology 12
  12. 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Kubernetes Basics 13 https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/ Master Controllers Scheduler API Server etcd Node Docker Kubelet Node Docker Kubelet Node Docker Kubelet
  13. 13. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Kubernetes Basics 14 Node Pod0 – IP:10.1.1.1 Container Container Volume Node Pod1 – IP:10.1.1.2 Pod2 – IP:10.1.1.3 Container Container Container Volume Service IP: 129.144.50.2 selector: app : foo type: LoadBalancer Label: app : foo Label: app : foo
  14. 14. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 15 Container Native Cloud Platform
  15. 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 16 Kubernetes Challenges
  16. 16. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Fn Project OCI Container Engine for Kubernetes (OKE) Oracle Cloud Infrastructure Registry (OCIR) Container Native Application Development Capabilities Build, Deploy, Operate Container Based Applications 17 Continuous Integration and Delivery Pipeline Docker Compliant Container Image Registry Fully Managed Standard Kubernetes Service Open Source Serverless Functions Framework Oracle Container Pipelines Oracle Developer Cloud
  17. 17. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | User ManagedOracle Managed OKE and OCIR Management Aspects OCI Container Engine for Kubernetes OCI Registry Cluster Management OKE Dashboard in OCI Console Oracle Cloud Infrastructure Encryption for Data in Transit (SSL) and at Rest VM based Clusters and Nodes Bare Metal Clusters and Nodes Customer’s OCI Account/Tenancy HA - 3 Masters/etcd across 3 ADs Confidential – Oracle Restricted 18
  18. 18. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Managed K8s is great, but where is the overpowered piece? 19
  19. 19. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | CI/CD Workflows Based on Wercker + Infrastructure Beast 20
  20. 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 21 Wercker is a container-native automation platform to build, dev and deploy multi-service applications
  21. 21. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 22 box: node:6.10 build: steps: - script: name: A step that executes `npm install` command code: npm install push-to-repository: steps: # Push to public docker repo Container Registry (CR) - internal/docker-push: tag: $WERCKER_GIT_BRANCH-$WERCKER_GIT_COMMIT cmd: node /pipeline/source/app.js username: $DOCKER_USERNAME password: $DOCKER_PASSWORD repository: $DOCKER_REPO registry: https://iad.ocir.io/v2 deploy-to-oke: box: id: alpine cmd: /bin/sh steps: - bash-template - kubectl: name: create namespace server: $KUBERNETES_MASTER token: $KUBERNETES_TOKEN command: apply -f $WERCKER_ROOT/kubernetes-namespace.yml … wercker.yml pipelines stepsworkflow
  22. 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Integrated Container Build Automation Container Pipelines provides automated container builds to registries and production-grade clusters Git Build Push to Registry PushTest Deploy to Orchestration Scheduler Deploy Registry Container Pipeline Service Container Registry Service Container Engine Service Push
  23. 23. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 24Confidential – Oracle Internal Only Intel® Xeon® processor 26 Core, 52 Threads oCPU Cor e 2t hr eads Cor e 2t hr eads Cor e 2t hr eads Intel® Xeon® processor 26 Core, 52 Threads oCPU = 2 Threads Consistent performance over time Compute Resources
  24. 24. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Networking Availability Domain 1 Availability Domain 2 Availability Domain 3 Region 1 Availability Domain 1 Availability Domain 2 Availability Domain 3 Availability Domain 1 Availability Domain 2 Availability Domain 3 Region 3 Region 2 Low Latency, High Bandwidth Network Between ADs and Regions Regions = Metropolitan Area Availability Domain = Data Centre
  25. 25. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | High IO Storage Technology Metric Characteristic Volume Size 50 GB to 16 TB, in 1 GB increments IOPS 60 IOPS/GB , up to 25,000 IOPS Throughput 480 KBPS/GB, up to 320 MBPS Latency Sub-millisecond latencies. Per-instance Limits 32 attachments per instance, up to 512 TB. Up to 400K or more IOPS, near line rate throughout. https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/blockvolumeperformance.htm https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Concepts/computeperformance.htm Shape Minimum Supported IOPS VM.DenseIO1.4 200k VM.DenseIO1.8 250k VM.DenseIO1.16 400k BM.DenseIO1.36 2.5MM VM.DenseIO2.8 250k VM.DenseIO2.16 400k VM.DenseIO2.24 800k BM.DenseIO2.52 3.0MM
  26. 26. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Why these two points matter?
  27. 27. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Demo 28
  28. 28. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Creating a Cluster 29
  29. 29. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  30. 30. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  31. 31. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  32. 32. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  33. 33. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  34. 34. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  35. 35. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  36. 36. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  37. 37. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  38. 38. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  39. 39. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  40. 40. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  41. 41. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  42. 42. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  43. 43. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  44. 44. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  45. 45. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  46. 46. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  47. 47. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Creating your Workflow Pipeline And deploying to Kubernetes 48
  48. 48. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 49
  49. 49. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 50
  50. 50. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 51
  51. 51. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 52
  52. 52. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 53
  53. 53. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 54
  54. 54. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 55
  55. 55. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 56
  56. 56. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 57
  57. 57. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 58
  58. 58. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 59
  59. 59. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 60
  60. 60. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 61
  61. 61. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 62
  62. 62. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63
  63. 63. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 64
  64. 64. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 65
  65. 65. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 66
  66. 66. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 67
  67. 67. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 68
  68. 68. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 69
  69. 69. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 70
  70. 70. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 71
  71. 71. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 72
  72. 72. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 73
  73. 73. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 74
  74. 74. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 75
  75. 75. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 76
  76. 76. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 77
  77. 77. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 78
  78. 78. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 79
  79. 79. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 80
  80. 80. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 81 Wrap Up
  81. 81. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 82 Questions?
  82. 82. THANKS

×