У нас вы можете посмотреть бесплатно Deploying to On-Prem Kubernetes from the Cloud? Watch This | Production-Style CI/CD on Kubernetes или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This is our local machine, let's see how to deploy Kubernetes pods and services on this local Kubernetes cluster using Azure DevOps pipelines. We have kubernetes mainfest files in Azure Repos. Kubernets cluster is present on the on-premise machine. Our on-premise machine is connected to azure devops service via environments. Azure pipelines will deploy manifests on it via environments. This is our local machine. Here we are running minikube for a local Kubernetes cluster. Right now, we don’t have any pods and service running, except the default one. Hostname of this machine is codespace. These are the manifest files, which we need to use in order to manage our workload on the cluster. We have pods.yaml and services.yaml. In pods.yaml we are using the image that we have created and pushed to Docker Hub in our previous video. azure-pipelines.yaml is our main pipeline configuration file. To deploy these manifests to the cluster, we need to create an environment. Let's name it local Kubernetes and of type virtual machine. The operating system is Linux. Let's copy the command and run it on our local machine. now ur machine is connected to the Azure DevOps, and is listening and waiting for jobs to run. Even in our environments no we can see our local machine name refliecting. Now, let's trigger the pipeline. Let's provide it with proper permission and grant access. The pipeline is finished. It is showing the minikube status, as expected. Here, it is showing that the pod and service are created successfully. Let's verify the same on our local machine. Here we can see that the job that ran on it has completed successfully. Let's verify the pods and services. Our pods and services are listed. Lets forwared the port of the service to the node to validate the application. Here, we can see the output from our nginx container running inside our pod. So we have successfully deployed our pods and services onto our local Kubernetes cluster from cloud based azure devops service. For more related videos, kindly visit: / @pythoneveryday Subscribe for more updates: / @pythoneveryday Python EveryDay !!!