HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: -...

64
$ ./BaremetalasCode.py Infra composable Decembre 2018 DevCon #7

Transcript of HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: -...

Page 1: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

$ ./BaremetalasCode.py

Infra composable

Decembre 2018

DevCon #7

Page 2: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

2

Infra-as-codedans une Infra Hybride

dans Infra Composable

Docker sur VM ou BM ?

Synergy Openshift scale-up & down

$ ./agenda

Page 3: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

IaC dans une Infra Hybride

Page 4: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Hybrid Infrastructure Pet Clinic

Dev QA DeployDev QA DeployFrom Source Code

An example of DevOps Pipeline in action

to an new build of our app and the infrastructure to run it

Page 5: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Hybrid Infrastructure Pet Clinic

Dev QA DeployDev QA DeployFrom Source Code

An example of DevOps Pipeline in action

to an new build of our app and the infrastructure to run it

Page 6: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

GitHub

Developer changes application source code and issue a Pull Request

1

Application Sources

(PetClinic)

Page 7: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Jenkins Server automatic build procedure starts

Application Sources

(PetClinic)2

Page 8: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Team Slack channel notified3

Page 9: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Jenkins Server retrieves latest version and builds application

Application Sources

(PetClinic)

Latest application WAR file

4

Page 10: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Latest application WAR file

Team Slack channel notified5

Page 11: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Jenkins Server also builds latest container using new WAR file

Application Sources

(PetClinic)

Latest application container

6

Latest application WAR file

Page 12: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Team Slack channel notified7

Latest application containerLatest application WAR file

Page 13: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHubJenkins Server initiates deployment of infrastructure for PetClinic

Application Sources

(PetClinic)

8

Latest application containerLatest application WAR file

Page 14: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Latest application container

Jenkins ServerGitHubUse terraform instructions to deploy: - Kubernetes Cluster in AWS- or Kubernetes Cluster on Premise- or Kubernetes on bare-metal- Pull latest app container- start app

Application Sources

(PetClinic) Kubernetes on Synergy

9a

Latest application containerLatest application WAR file

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

Kubernetes on AWS

AWS API

Page 15: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHubUse terraform instructions to deploy: - Kubernetes Cluster in AWS- or Kubernetes Cluster on Premise- or Kubernetes on bare-metal- Pull latest app container- start app

Application Sources

(PetClinic) Kubernetes on Synergy

Latest application container

9b

Latest application containerLatest application WAR file

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

Kubernetes on AWS

AWS API

Page 16: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHubUse terraform instructions to deploy: - Kubernetes Cluster in AWS- or Kubernetes Cluster on Premise- or Kubernetes on bare-metal- Pull latest app container- start app

Application Sources

(PetClinic) Kubernetes on Synergy

Latest application container

9c

Latest application containerLatest application WAR file

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

Kubernetes on AWS

AWS API

Page 17: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Team Slack channel notified10

Latest application WAR file Latest application container

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWS

Page 18: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Automatic Testing starts11

Latest application WAR file Latest application container

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWS

Page 19: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Team Slack Channel updated12

Latest application WAR file Latest application container

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWS

Page 20: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Latest application WAR file Latest application container

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWSQA team check status13

Page 21: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Jenkins ServerGitHub

Application Sources

(PetClinic)

Latest application WAR file Latest application container

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWSLoB Manager uses bot to query infrastructure

14

Page 22: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Additional manual testing16

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWS

Page 23: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Kubernetes on Synergy

Latest application container

Kubernetes on VMware

HPE O

neSphere API

HPE C

omposable API

AWS API

Kubernetes on AWSTeam Slack channel notified

17

Page 24: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

18

Application Sources

(PetClinic)

Owner check discussion

Page 25: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Owner approves Pull Request (or doesn’t)19

Application Sources

(PetClinic)

Page 26: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Docker sur VM vs BM

Page 27: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Impact sur le cout ?

Page 28: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Impact sur le cout ?

Orchestration

Virtualization

Specific ComputeCloud Native Storage Cloud Native Network

Monitoring Security Analytics

Runtime

AutomationProvisionning

Secure Registry

Key Mgmt

Service Discovery

Service Mgmt

1 node VMManagementSécuritéRéseauStockage

€ per node

Exemple de prod50 nodes• 12 vCPU• 64 GB de RAM / • 2 TB de disque• NIC de 1 Gbps

1 node VMPour une puissance équivalente, on passe de 50 nodes VM à 6 nodes BM

Page 29: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Impact sur la perf?

Page 30: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Impact sur la performance ?

VM agent

Analytics

Master

Runtime Runtime

Virtualisation

containerDb containerDb

OS OS

collector

collector

BM agent

Perf Dashboard

Compute SY480 | 2 x E5-2680v4 (14-core) / 256GB / CNA 20Gb / 16G FC HBA

Stockage DAS | DS3940 SATA SSDHPE Synergy

SWH

W

Page 31: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

mongo-bench sur VM vs BM

$ python benchrun.py -f testcases/simple_insert.js -t 5 10 20 --host 10.3.88.156 --port 27017

x4 better perf on BM vs VM on Document Operations

Page 32: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Infra Composable

Page 33: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Infrastructure Composable principles

J’ai besoin…. Cassandra4Cassandra2Cassandra1

Cassandra5Cassandra3

Oracle

DockerDockerDockerDockerDockerDocker

GPU

VSAN

“Create a new Cassandra cluster”

“Create a Oracle database” “Scale-up the database”

“Scale-in/out Docker worker”

“Now with Docker GPU”

“and grow VSAN cluster”

HPEOVServerProfile -name myDB01 -template CassandraHPEOVServerProfile -name myDB03 -template OracleHPEOVServerProfile -name myDB03 -template Oracle-ExtendHPEOVServerProfile -name myDocker02 -template Docker-BMHPEOVServerProfile -name myDockerGPU04 -template Docker-GPUHPEOVServerProfile -name myVSAN01 -template VSAN

Compute Storage(DAS, SDS, SAN)

Network Fabrics(Eth, FC, FCoE)Fluid Resource Pools

Page 34: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

35

Ecosystème Infrastructure Composable HPE

Cloudengine

DevOpsengine

IT Ops engine

Facilitiesengine

Developer toolkits

Unified API

StockageServeur Réseau

Page 35: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Composable fabric

Page 36: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

37

In a Nutshell

Workload-SpecificForwarding Topologies

API-Driven Workload Definitions

High-Diversity HW/SW Fabrics

Page 37: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

38

API-driven

FABRIC VISUALIZATION & UTILIZATION

END-TO-END VISIBILITY

38

Page 38: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

39

Create a new project with bandwidth or latency constraints :

https://www.youtube.com/watch?v=gzYg5mBiCS0

You (the developer) add label “plexxi: adjacent” in your app template

App build -> Scheduler will do placement on nodes connected to nearby switches with the most available network fabric connectivity!

Page 39: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

© Copyright 2018 Hewlett Packard Enterprise. The information contained herein is subject to change without notice | Confidential

C O M P O S A B L E F A B R I CC O M P O S A B L E F A B R I C

Page 40: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

© Copyright 2018 Hewlett Packard Enterprise. The information contained herein is subject to change without notice | Confidential

C O M P O S A B L E F A B R I C

Page 41: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

© Copyright 2018 Hewlett Packard Enterprise. The information contained herein is subject to change without notice | Confidential

C O M P O S A B L E F A B R I C

Page 42: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

© Copyright 2018 Hewlett Packard Enterprise. The information contained herein is subject to change without notice | Confidential

C O M P O S A B L E F A B R I C

Page 43: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

© Copyright 2018 Hewlett Packard Enterprise. The information contained herein is subject to change without notice | Confidential

C O M P O S A B L E F A B R I C

Page 44: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Composable storage

Page 45: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

46

HPE Storage Docker Volume plugin

FeaturesLifecycleHighly-available, volume scoping, user-defined descriptions, control remove and detach behavior.

Performance ControlsPerformance PolicesQoS Limits – IOPS and Throughput

Volume PlacementPools and Folders

Protection TemplatesSnapshot schedules and retentionArray-to-array and HPE Cloud Volumes

SecurityEncrypt data at restSet mount point UNIX permissions

ProvisioningSpecify thin or thick provisioningUp to 127TB Volumes – default size 10GB

Dedupe & CompressionVariable block size

Zero-Copy ClonesReuse data from production containers

Volume ImportSeamless data migrationClone Nimble volume in a Docker Volume

description: "My Description"destroyOnRm: "true"

Parameters

perfPolicy: "SQL Server"limitIOPS: "32000"limitMBPS: "512"pool: "allflash"folder: "My Tenant"

protectionTemplate: "local-cloud"

encryption: "true"fsOwner: "8192:500"fsMode: "0755"thick: "true"sizeInGiB: "4000"

dedupe: "true"

cloneOf: "MyDockerVol1"snapshot: "MySnapshot"createSnapshot: "true"importVol: "MyNimbleVol1"importVolAsClone: "MyNimbleVol1”snapshot: ”MySnapshot”

---version: "3"services:myservice:image: myorg/myimage

volumes:- myvol1:/data

volumes:myvol1:driver: nimbledriver_opts:description: "My Description"sizeInGiB: "500"encryption: "true"limitIOPS: "1000"perfPolicy: "My Policy"protectionTemplate: "my-prot-1"

Legacy Docker

Page 46: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

47

HPE Kube Storage Controller

FeatureLifecycleHighly-available, volume scoping, user-defined descriptions, control remove and detach behavior.

Performance ControlsPerformance PolicesQoS Limits – IOPS and Throughput

Volume PlacementPools and Folders

Protection TemplatesSnapshot schedules and retentionArray-to-array and HPE Cloud Volumes

SecurityEncrypt data at restSet mount point UNIX permissions

ProvisioningSpecify thin or thick provisioningUp to 127TB Volumes – default size 10GB

Dedupe & CompressionVariable block size

Zero-Copy ClonesReuse data from production containers

Volume ImportSeamless data migrationClone Nimble volume in a Docker Volume

description: "My Description"destroyOnRm: "true"

Parameters

perfPolicy: "SQL Server"limitIOPS: "32000"limitMBPS: "512"pool: "allflash"folder: "My Tenant"

protectionTemplate: "local-cloud"

encryption: "true"fsOwner: "8192:500"fsMode: "0755"thick: "true"sizeInGiB: "4000"

dedupe: "true"

cloneOf: "MyDockerVol1"snapshot: "MySnapshot"createSnapshot: "true"importVol: "MyNimbleVol1"importVolAsClone: "MyNimbleVol1”snapshot: ”MySnapshot”

---kind: StorageClassapiVersion: storage.k8s.io/v1metadata:name: my-storage-classprovisioner: hpe.com/nimbleparameters:description: "My Description"encryption: "true"limitIOPS: "1000"perfPolicy: "My Policy"protectionTemplate: "my-prot-1"

---kind: PersistentVolumeClaimapiVersion: v1metadata:name: my-pvc

spec:accessModes:- ReadWriteOnce

resources:requests:storage: 500Gi

storageClassName: my-storage-class

Legacy Docker

Page 47: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

48

HPE Storage DVDI Integration

FeatureLifecycleHighly-available, volume scoping, user-defined descriptions, control remove and detach behavior.

Performance ControlsPerformance PolicesQoS Limits – IOPS and Throughput

Volume PlacementPools and Folders

Protection TemplatesSnapshot schedules and retentionArray-to-array and HPE Cloud Volumes

SecurityEncrypt data at restSet mount point UNIX permissions

ProvisioningSpecify thin or thick provisioningUp to 127TB Volumes – default size 10GB

Dedupe & CompressionVariable block size

Zero-Copy ClonesReuse data from production containers

Volume ImportSeamless data migrationClone Nimble volume in a Docker Volume

description: "My Description"destroyOnRm: "true"

Parameters

perfPolicy: "SQL Server"limitIOPS: "32000"limitMBPS: "512"pool: "allflash"folder: "My Tenant"

protectionTemplate: "local-cloud"

encryption: "true"fsOwner: "8192:500"fsMode: "0755"thick: "true"sizeInGiB: "4000"

dedupe: "true"

cloneOf: "MyDockerVol1"snapshot: "MySnapshot"createSnapshot: "true"importVol: "MyNimbleVol1"importVolAsClone: "MyNimbleVol1”snapshot: ”MySnapshot”

{"id": "myjob-1","cpus": 0.5,"mem": 32,"volumes": [{"containerPath": "data","external": {"name": "myvol1","provider": "dvdi","options": {"dvdi/sizeInGiB": "500","dvdi/description": "My Description","dvdi/driver": "nimble"}

},"mode": "RW"

}],"container": {"type": "MESOS","mesos": {"type": "DOCKER","image": "myorg/myimage"

}}

}

Legacy Docker

Page 48: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

HPE Synergy

49

Page 49: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

50

Composable Fabric

Composable Compute

Composable Frame

HPE Synergy: la 1ère InfrastructureComposable du marché

Composable Storage

Start small, then Scale

Composer

Image Streamer

Page 50: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

51

Gérer les serveurs physiquesaussi facilement que les VMs

51

Configuration complète du

serveur

Module de compute sans étatModèle

Serveur bare metal aussi facile que les

VM du cloudOS ouhyperviseur

HPE Synergy Composer

HPE Synergy Image Streamer

OpérationMachine Physique

Equivalent Machine Virtuelle

– Créer le modèle de profil avec l’OS– Activer le profile sur le compute module– Mettre à jour le server profile– Désactiver le server profile– Déplacer le server profile– Détruire le server profile

– Créer le modèle de VM avec l’OS– Déployer le modèle sur une VM– Mettre à jour la VM– Suspendre la VM– Déplacer la VM – Supprimer la VM

Page 51: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

52

Gérer les interfaces reseaux des serveurs physiquesaussi facilement que celle des VMs

Page 52: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

53

File File

VMWareObjectStore

FileServer

K8s Cluster

OneView

SDS

Vmwaredatastore

Object Store

FileServer

HPE Synergy Storage Module (external Storage)Composable storage > Software defined storage

Swarm Cluster

Windows

Page 53: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

Scaling Openshift worker node withAnsible with Synergy Compute node

54

Page 54: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

55

1.1 Ansible Tower Initial Openshift Components

11

2

3

4

Page 55: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

56

1.2 Deploy new worker node

56

1

2

3

Page 56: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

57

Automating RHOCP deployment on Synergy

HPE OneViewServer profile template identifies the networks, storage, and deployment plan Sets personalization parametersProvisions physical infrastructure

HPE Synergy Image Streamer

Creates Red Hat Enterprise Linux 7.5 bootable OSPersonalizes OS and prepares for Red Hat OpenShiftContainer Platform per deployment plan

Initiates OS deployment plan

HPE Synergy Compute and Storage

Compute node boots directly into a customized running OS ready for Red Hat OpenShift Container Platform deployment

Configures boot image

OS Image to Deploy

System configuration settings

AnsiblePlaybooks

Deploy Red Hat OpenShift Container Platform workers.

Deploy OpenShift

Red Hat Ansible Tower

Workflow runs playbooks to deploy Red Hat OpenShift Container Platform on HPE Synergy using Ansible Modules for HPE OneView

Initiates workflow

57

Page 57: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

58

1.3 Provision the node on Oneview

4

2

3

1

6

5

Page 58: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

59

1.4 Configure the node

59

1

2

3

4

Page 59: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

60

1.5 integration of the node into Openshift

60

1

2

3

4

56

Page 60: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

61

2. Remove the node

61

1

2

3

Page 61: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

HPE Developer Community Program

Page 62: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

63

High level Community Framework

HPE OneSphere Developer Community Program

ITOps focused developer

enablement

ISV eco-system enablement and

collaboration

DevOps focused developer

enablement

Application developer

enablement

OpenSourcedeveloper

enablement

Pan-HPE developer

enablement for OneSphere

Page 63: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

64

ONE Developer Marketplace

ONE Developer Portal

ONE Developer Program

HPEDeveloperONE

High level Pan-HPE framework

• SDKs, On-Demand Services; API Management

• Developer Communities, On-Demand Training

• Blogs

• Sub Communities (Ex. Dev/Ops, Cloud, Analytics, Operations, Infrastructure, Open Source Open Compute, Open Network, SDN)

• Key HPE Platforms (OneView, Synergy, OneSphere, Nimble, Simplivity, Aruba etc )

• Community Outreach & Events

• Community Analytics and Incentives

• SDN Security and QoSapplications

• HPE OneView and Software-defined Infrastructure Integrations

• Tools integration from developers

Page 64: HPE Infra as Code - Programmez!...Jenkins Server. GitHub. Use terraform instructions to deploy: - Kubernetes Cluster in AWS - or Kubernetes Cluster on Premise - or Kubernetes on bare

HPE DEV

Thanks!Thank you