Docker introduction, installation and element explanation

Course preparation

## Enterprise DevOps practices based on Docker and Kubernetes

1. Offline mirror package

Baidu: https://pan.baidu.com/s/1N1AYGCYftYGn6L0QPMWIMw extraction code: ev2h

Tianyi Cloud: https://cloud.189.cn/t/ENjUbmRR7FNz

3. Three virtual machines (4C + 8G + 50G) with CentOS 7.4 and above, interconnected in the internal network and can be connected to the external network

3. Courseware documentation

-"Training Courseware"
-"Installation Manual"

4. git repository

https://gitee.com/agagin/python-demo.git python demo project

https://gitee.com/agagin/demo-resources.git demo project needs resource files

Introduction

 

Kubernetes (k8s) becomes the standard for container orchestration management

-Domestic and foreign manufacturers have begun to fully embrace the transformation of Kubernetes, and countless small and medium-sized enterprises have landed on Kubernetes, or are on the road to landing.

  Based on the current development trend, it is foreseeable that container operation and maintenance management and DevOps with the kubernetes platform as the core will usher in a comprehensive development in the next few years.

  In line with the idea of ​​practice as the core, this course uses the Python Demo project based on Django + uwsgi + Nginx architecture common to enterprises,

Tell three things separately:

-Containerization of the project

  Teach everyone how to make the company's project into a container and run it in the docker environment

-Use Kubernetes clusters to manage containerized projects

  Take everyone to deploy the k8s cluster step by step, and manage the containerized demo project using k8s

-Use Jenkins and Kubernetes integration to achieve continuous integration / continuous delivery of demo projects (CI / CD)

  After using k8s to manage the application life cycle, the last link is how to integrate the development, testing, and deployment processes with automated tools. The last part,

  The course will teach you how to elegantly use gitlab + Jenkins + k8s to build an enterprise-level DevOps platform

Flow chart

 

 


  -Docker related -How to use Dockerfile to quickly build an image
  -Common operations of Docker images, containers, and warehouses-
  Network of Docker containers (SNAT, DNAT under Bridge)

-Related to Kubernetes
  -Quickly build a cluster
  -Architecture and workflow of kubernetes
  -Use Pod controller to manage the life cycle of business applications
  -Use CoreDNS, Service and Ingress to achieve service discovery, load balancing and access to four-layer and seven-layer networks
  -Kubernetes authentication and authorization system
  log collection system to build business applications using cluster EFK -

- based on gitlab + Jenkins + k8s DevOps platforms constructed
  using -Jenkins introduction and pipeline
  - the practical application of Jenkinsfile and multi-branch pipeline
  - Jenkins integrated sonarqube, Docker, Kubernetes
  - Use groovy to write sharedLibrary to optimize the CI / CD process

 

Guess you like

Origin www.cnblogs.com/cqzhou/p/12695067.html