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
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
-
-
-
-
-
-
-
Enabling the Kubernetes Engine API1m 42s
-
(Locked)
Connecting to a GitHub repo using SSH4m 31s
-
(Locked)
Creating a GKE cluster3m 20s
-
(Locked)
Setting up Argo CD on GKE4m 32s
-
(Locked)
Registering the app image with GCR4m 9s
-
(Locked)
Configuring the image secret with a service account4m 31s
-
(Locked)
Connecting Argo CD to a private Git repo using SSH2m 51s
-
(Locked)
Deploying infrastructure to the GKE cluster2m 59s
-
-