This video is a demo of deploying your application image from private docker registry hosted on AWS | Kubernetes pull image from private registry | Kubernetes Docker login

I answer the question of how to get your docker images in your kubernetes cluster from private docker registries?
For images like Mongodb, elastic, that are hosted on docker hub, it’s straightforward because they are hosted in a public repository and anyone can access them. But your own application lives in a private repository and needs explicit access from the cluster. So how do you pull the application images from your private docker repository on kubernetes cluster?

You do that using 2 steps:

  1. you create a secret component that contains access token/credentials to your docker registry.
  2. you configure your Deployment component to use that secret using a specific imagePullSecrets.
    In the video I show you exactly this.

► CLI Commands and YAML Files for this video: https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/pull-images-from-private-reporsitory-in-k8s
► Demo Nodejs app: https://gitlab.com/nanuchi/techworld-js-docker-demo-app

▬▬▬▬▬▬ T I M E S T A M P S

  • 0:00 - Intro - common workflow
  • 1:11 - Steps to pull image from private registry
  • 1:40 - Environment Setup: Private Registry, Application, Minikube
  • 2:42 - Login to AWS Container Repository | docker login and create docker config.json file
  • 8:20 - Create Secret component
  • 15:45 - Configure Deployment component
  • 20:51 - Summary

#kubernetes #docker #image #devops #developer

Pull Image from Private Docker Registry in Kubernetes Cluster | Demo
3.95 GEEK