From the course: Kubernetes: GitOps with ArgoCD

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Connecting Argo CD to a private Git repo using SSH

Connecting Argo CD to a private Git repo using SSH

From the course: Kubernetes: GitOps with ArgoCD

Connecting Argo CD to a private Git repo using SSH

- [Narrator] Time to set up the specifications of the infrastructure that we want to deploy on Kubernetes. Head over to the summer_trip folder and create a new deployment.yaml file. This will be the deployment for our summer trip app. Now, all of these should be familiar to you. We'll run this on one replica. Notice the specification here, where we've used the regcred secret in order to access the summer-trip image, registered with the GCR. Save this file. This completes our deployment. Let's take a look at our service specification in service.yaml. The service specification is straightforward. We have a simple service, which is exposed on port 5000. The service will be exposed behind an IP of type LoadBalancer. Now we'll add all of the files that we've created here in Cloud Shell to git. All of these steps should be very familiar to you. So I'm going to run through them quickly. "git status" shows us that we've…

Contents