课程: GitOps Foundations

今天就学习课程吧!

今天就开通帐号,24,600 门业界名师课程任您挑!

Continuous delivery with Flux

Continuous delivery with Flux - Git教程

课程: GitOps Foundations

Continuous delivery with Flux

- [Instructor] Let's get hands on with flux controllers and CRDs to deploy a containerized application onto our Kubernetes cluster. The first thing that we'll need is a source. A source is a custom resource definition that points to the location of our systems desired state. In this case, that's our environment repository within GitHub that stores our infrastructure code. Let's navigate over to the terminal to begin creating our source. The first thing I want to point out is that all of our work is going to be performed within the flux configuration repository. We're going to use the flux CLI and it's create source command to build out the definition of our source. So here you can see that command and we're naming our source GitOps Foundations, and then we're pointing it at the environment repository over in GitHub by specifying its URL. We're also instructing the source to look at the main branch and to pull every 30…

内容