当前位置:网站首页>Tap series article 3 | introduction to Tanzu application platform deployment reference architecture

Tap series article 3 | introduction to Tanzu application platform deployment reference architecture

2022-06-12 09:25:00 VMware China R & D Center

Tanzu Application Platform Install reference architecture

Tanzu Application Platform Use role of

Tanzu Application Platform As an application-oriented (Web application ,Micoservice Application etc. ) Deployment and management platform , At the beginning of the design, the personalized needs of different roles of the platform have been fully considered , for example : Function configuration , Availability deployment, etc ; This kind of platform personalized demand due to the role , To determine the TAP Installation reference architecture and installation deployment configuration (TAP Profiles).

Refer to the below ,TAP At the beginning of the design , Three types of users using the platform are considered , Namely :

  • Dev Development Engineer

As TAP The main audience of the platform ,Dev utilize TAP Built application deployment platform , Carry out daily K8S Distributed application development , Compile and build , Testing and integration testing ;TAP by Dev The group provides easy-to-use application development and K8S Cloud operating environment ;

  • Ops The engineer

As deployment and operation and maintenance TAP The technical team of the platform , Need to meet Dev Use TAP In addition to the daily operation and maintenance requirements ; Special consideration should also be given to resource allocation and fault isolation during application operation 、 Highly reliable architecture of the platform 、TAP Platform access security, policy control and other lean related architectures 、 Optimization and configuration .

  • Sec Safety and compliance engineer

For a highly automated application deployment platform , In normalization 、 Standardizing different forms of application K8S After deployment and release ; The applied security credit and compliance have to be scaled up 、 Production ready TAP Use the full lifecycle to consider and configure 、 Deploy ;

 

TAP Role oriented reference architecture and deployment configuration (Profiles)

For the development team TAP Workspace Cluster Installation and deployment configuration

15 elements (15-factor) Cloud native application best practices tell us , As Dev Engineers' daily development environment , Need and Ops The deployed application deployment environment performs capability pairing (Paring); The benefits are clear :

  • Easy integration testing for development engineers ; Especially in the micro service scenario , Engineers' desktop computing power ,Data Service dependence , This results in having to go through remote Dev Environment for functional verification and integration testing ;
  • For the application to run consistently in Ops The deployed application runs in the production environment to provide support and guarantee ;
  • Development engineer is familiar with the application in advance PaaS The basic functions of the platform , It is often excluded in the later stage 、 The version fallback has made technical storage and configuration ;

therefore , A multi tenant TAP Dev The deployment environment becomes very important . meanwhile ,TAP Dev The environment also needs to be properly configured , Not necessarily with the real TAP Ops Production environment: 100% To reduce Dev Deployment of the environment 、 Configuration complexity , Thereby reducing Dev The demand of the environment for computing resources and the burden of daily operation and maintenance ;

VMware The recommended TAP Dev (Workspace Cluster) The deployment reference architecture of the environment is shown in the figure :

TAP Dev Workspace Cluster The deployment computing requirements are as follows :

  • K8S  Cluster needs to be configured Yes LoadBalancer As TAP ingress controller; You can also use out of the box VMware Tanzu Contour;
  • You need to configure K8S default storage class;TAP Some components require cloud native volume Persistent state ;
  • TAP Deployment of K8S colony worker node All memory configurations are at least greater than 16GB; Single worker node The memory configuration of must be at least greater than 8GB;
  • Optional: Equipped with Logging Infra And Monitoring Infra, You can choose to install Tanzu Standard Ops Suite

 

Production oriented TAP Cluster Installation and deployment configuration

As TAP Production environment of , Recommended installation and deployment reference architectures , Mainly consider environmental fault isolation , Separation of functional responsibilities , Calculate the optimization and other factors ; take TAP According to logical functions and roles , Divide into Build Cluster,Run Cluster And TAP UI Console Cluster; Refer to the below :

  • TAP Build Cluster

TAP Build Cluster yes TAP Application build computing cluster , As TAP Supplychain Computing environment , Use standardized... For different forms of applications Supplychain Applied CI structure ,OCI Image packaging and pushing , Security vulnerability scanning and application depend on BOM metadata BOM Persistence ( Application relies on BOM as a security vulnerability audit The assets of the , Need to persist ), Apply single instance startup parameter configuration , application K8S Runtime configuration , Run lean configuration generation , Finally, the output application assets Assets( application OCI image And runtime configuration ) Pushed to the GitOps Warehouse for follow-up Run Cluster Deployment , Also for Change Management Complete the list and audit BOM To prepare ;

  • TAP Run Cluster

TAP Run Cluster To be exact, it can also be divided into different environments , for example :QA、Stage、Production; The application follows the published process , stay QA、Stage Environment and transition to real Production In production environment ;Run Cluster Deployment of assets( application OCI image And runtime configuration ) From TAP Build Cluster, Based on this verified assets,Ops The team can further meet the deployment requirements of the production environment , Carry out production environment adjustment for application deployment and participate in lean optimization , for example :HA Multi replica configuration for , Inject persistent middleware that the application depends on , Exposure monitoring endpoint And connect with the platform for monitoring Infra etc. ;

  • TAP GUI Cluster

TAP GUI Cluster by Ops And Dev The team provides multiple clusters 、 Centralized application management console ; Team members can take advantage of TAP GUI View runs in different TAP Run Cluster Application running status in ; meanwhile ,TAP GUI Also for Dev Provides applications API、DOC And so on ; Details refer to TAP GUI The related documents ;

 

TAP Installation and deployment configuration Profiles

Author's brief introduction :

Bijianhua ,VMware Senior solution architect of Greater China application modernization department . He has been engaged in cloud native related fields for many years , Including system design and participating in the development of various container scheduling platforms , Deploy , Operational work ; Include , be based on Mesos、DCOS platform , Development Dbaas frame ; Participate in Kubernetes Open source project KUDO Development and promotion of ;CNCF authentication CKA The engineer ;VMware authentication Spring Professional The engineer .

source | official account :VMwareTanzu Cloud native

原网站

版权声明
本文为[VMware China R & D Center]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206120916228391.html