|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/cicd-devops-pipeline/
课程评论:没有评论
课程名称:实时企业CI/CD DevOps管道项目 - 实践课程 课程概述:如果你熟悉Git、Jenkins、Maven、Trivy、Ansible、Docker和Kubernetes等各种DevOps工具,但不确定它们如何协同工作,那么单独使用这些工具是没有意义的。 本课程旨在为你提供建立全面CI/CD管道的能力,帮助你理解DevOps项目的逻辑工作流程。 课程内容: - 第一部分:介绍 - 课程简介 - 课程概览 - 第二部分:在AWS环境中设置Kubernetes集群 - 使用Kubeadm创建Kubernetes集群概述 - 创建三台虚拟机:一台主节点和两台工作节点 - 使用MobaXterm软件访问虚拟机 - 从主节点通过私钥SSH到工作节点 - 设置主机名,更新hosts文件,禁用交换 - 安装容器运行时 - 安装kubeadm、kubelet和kubectl - 初始化K8s集群 - Kubernetes集群故障排除 - 将工作节点加入集群 - 第三部分:使用KubeAudit在Kubernetes集群上进行安全扫描 - KubeAudit安全扫描概述 - 下载并安装KubeAudit - 使用KubeAudit扫描清单文件 - 使用KubeAudit扫描集群 - 使用KubeAudit扫描本地文件 - 第四部分:设置Jenkins、Nexus、Maven和SonarQube工具的虚拟机 - 为SonarQube和Nexus创建虚拟机 - 使用Docker安装SonarQube(两种方式) - 通过Web URL访问SonarQube服务器 - 使用Docker安装Nexus(两种方式) - 通过Web URL访问Nexus服务器 - 创建Jenkins服务器的虚拟机 - 在Ubuntu虚拟机上安装Jenkins并进行个性化设置 - 第五部分:Git Bash和GitHub - 在GitHub上创建一个私有仓库 - 安装Git Bash并克隆仓库 - 将源代码推送到GitHub仓库 - 第六部分:自定义Jenkins - 在Jenkins服务器上安装所需插件 - 配置工具:JDK、SonarQube扫描器、Maven、Docker - 第七部分:创建Jenkins管道作业以检出项目 - 在Jenkins上创建作业 - 创建访问私有GitHub仓库的凭据 - 创建管道以检出项目 - 第八部分:编译和运行源代码的单元测试 - 编译源代码 - 运行单元测试 - 第九部分:使用Trivy工具进行源代码漏洞扫描 - 下载并安装Trivy工具 - 在CI/CD管道中进行漏洞扫描 - 第十部分:SonarQube - 提高代码质量的工具 - 配置SonarQube服务器 - 在CI/CD管道中添加SonarQube分析阶段 - 构建SonarQube作业并等待分析结果 - 第十一部分:使用Maven工具构建包 - 构建包 - 第十二部分:将工件上传到Nexus仓库 - Sonatype Nexus仓库概述 - 从已管理文件中添加全局Maven setting.xml - 添加阶段将工件发布到Nexus仓库 - 构建作业发布工件 - 第十三部分:构建和标记Docker镜像 - 构建和标记Docker镜像 - 创建Dockerfile并在pom.xml文件中添加Maven快照条目 - 构建作业 - 第十四部分:使用Trivy工具进行Docker镜像扫描 - 进行Docker镜像扫描 - 第十五部分:将Docker镜像推送至DockerHub - 将Docker镜像推送至DockerHub - 第十六部分:将应用部署到Kubernetes集群环境 - 在集群上创建服务账户 - 创建角色并与服务账户绑定 - 创建授权令牌 - 添加阶段将Docker镜像部署到K8s集群 - 创建部署和服务的YAML文件 - 在Jenkins服务器上安装kubectl、kubeadm和kubelet - 构建作业 - 第十七部分:使用Prometheus和Grafana进行监控 - 下载并安装Prometheus和Grafana - 下载并安装黑盒导出器 - 编辑prometheus.yml文件并添加必要条目 - 使用URL访问Prometheus - 使用Grafana可视化应用数据 - 在Jenkins中安装系统度量指标插件 - 使用Node Exporter监控服务器度量 - 使用Grafana可视化服务器度量数据(两部分) 最后一讲。
If you are familiar with various DevOps tools like Git, Jenkins, Maven, Trivy, Ansible, Docker, and Kubernetes but are unsure of how they work together, then using them would be pointless or,Would you like to establish a comprehensive CI/CD pipeline utilizing a variety of DevOps tools? or,If you are interested in understanding the logical workflow of a DevOps project, then this course is designed for you.Course Content:Section 1: Introduction-> Introduction-> Course OverviewSection 2: Set up a Kubernetes cluster in an AWS environment-> Overview of the Kubernetes cluster created with Kubeadm-> Create three VMs: one master and two worker nodes-> Access the VMs using MobaXterm software-> SSH from the master node to the worker node using a private key-> Set the hostname, update the hosts file, and disable swap-> Install a container runtime-> Install kubeadm,kubelet and kubectl-> Initialize the K8s cluster-> Troubleshooting the Kubernetes clusture issue-> Join worker nodes to the clusterSection 3: Security scan by KubeAudit on Kubernetes cluster-> Overview of security scan by kubeaudit-> Download and install kubeaudit-> Use kubeaudit to scan the manifest file-> Use kubeaudit to scan the cluster-> Use kubeaudit to scan the local Section 4: Set up VM's for Jenkins,Nexus,Maven,and SonarQube tools-> Create VM's for SonarQube & nexus-> Install SonarQube using docker-1-> Install SonarQube using docker-2-> Access the SonarQube server through the web URL-> Install nexus using docker-1-> Install nexus using docker-2-> Access the Nexus server through the web URL-> Create a VM for Jenkins server -> Install Jenkins on an Ubuntu virtual machine-> Install Jenkins server through the web URL -> Customize the jenkins Section 5: Git Bash and GitHub-> Create a private repository on GitHub-> Install Git Bash and then clone the repository-> Push the source code to a GitHub repositorySection 6: Customize the Jenkins-> Installing the required plugins on the Jenkins server-> Configure tools:JDK,sonarqube scanner,maven,dockerSection 7: Create a Jenkins pipeline job to check out the project-> Create a job on Jenkins-> Create credentials to access a private GitHub repository-> Pipeline to checkout the projectSection 8: Compile and run unit test cases on source code-> Compile the source code-> Run unit test casesSection 9: Trivy tool - Vulnerability Scan on Source Code-> Download and Install Trivy tool-> Vulnerability scan by Trivy using CICD pipeline Section 10: SonarQube - Code quality tool for better code-> Configure SonarQube server-> Add a stage to the CI/CD pipeline for SonarQube analysis-> Build the SonarQube job-> Wait for SonarQube analysis-> Add a stage WaitforQualityGate to the CI/CD pipelineSection 11: Build the package: Using maven tool-> Build the packageSection 12: Upload the artifact to the Nexus Repository-> Overview of Sonatype Nexus Repository-> Add a Global maven setting.xml from managed files-> Add a stage Publish the Artifact into Nexus Repository-> Build the job-Publish the artifactSection 13: Build and Tag the Docker Image-> Build and tag docker image-> Create a dockerfile-> Add an entry for Maven snapshots in the pom.xml file-> Build the JobSection 14: Docker Image Scanning by Trivy tool-> Docker Image Scanning by Trivy toolSection 15: Push the docker image to DockerHub-> Push the docker image to DockerHubSection 16: Deploy the application to a Kubernetes cluster environment-> Create a service account on cluster-> Create a role and bind it with the Service Account on Cluster-> Create a authorized token-> Add a stage to deploy the docker image to K8s Cluster-> Create a deployment & service yaml file-> Install kubectl,kubeadm,and kubelet in Jenkins server-> Build the jobSection 17: Monitoring with Prometheus and Grafana-> Download and install Prometheus-> Download and install Grafana-> Download and install blackbox exporter-> Edit the prometheus.yml file and add the necessary entry-> Access Prometheus by using the URL to reach the target-> Visualize the application data using Grafana-> Install plugins on Jenkins for system metrics-> Monitor server metrics using Prometheus with Node Exporter-> Visualize the server metric data using Grafana - 1-> Visualize the server metric data using Grafana - 2-> Last Lecture