In the microservices world, some microservices may be built using Java, some
microservices using Python, and some microservices using JavaScript.
Different microservices will have different ways to build and deploy.
This makes the work of the operation and maintenance team difficult.
How can we deploy multiple types of applications in the same way?
Containers and Docker.
With Docker, you can build images of microservices-regardless of their language. You can run these images in the same way on any infrastructure.
This simplifies the operation.
Kubernetes helps coordinate different types of
containers and deploy them to the cluster.
Kubernetes also provides:
Service discovery.
Load balancing.
Centralized configuration.
Docker and Kubernetes make DevOps easy.
Important DevOps indicators
The following are some important DevOps indicators.
Deployment Frequency-How often is the application deployed to production?
Time to go online-how long do you need to spend from coding to production?
New version failure rate-how many times does the new version fail?
Delivery time for repairs-how long do you need to make a production repair and release it to production?
Average Recovery Time-How long does it take to recover from a major problem to deploy to a production environment?
DevOps best practices
Here are some best practices for DevOps
standardization
Team with cross-functional skills
Focus on team culture
Automation, automation, automation.
Unchanged infrastructure
Same development and production environment
version control
Self-configuration management
How to measure the maturity of DevOps implementation
How do you measure the maturity of
DevOps implementation? Here are some important questions.
Development
Does each submission trigger automatic testing and automatic code quality checking?
Is your code continuously delivered to production?
Do you use pair programming?
Do you use TDD and BDD?
Do you have many reusable modules?
Can the development team configure the environment by itself?
How long does it take to quickly repair production?
test
Is your test automated?
When automated tests fail, will the build fail?
Is your test period short?
Do you have an automatic NFR test?
Deployment method
Do you have the same development and production environment?
Do you use A/B testing?
Do you use canary deployment?
Can you deploy with one click?
Can you roll back by clicking the button?
Can you set up and release the infrastructure with the click of a button?
Do you use IAC and version control for infrastructure?
Monitoring method
Does the team use a centralized monitoring system?
Is it possible for the development team to access the logs with a single button click?
If there is a problem in production, will the team receive an alert?
Team and process
Does the team want continuous improvement?
Does the team have all the skills needed for business, development and operation and maintenance?
Does the team track key DevOps metrics and improve them?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.