Deploying an Asp.Net Core 3.0 Web API on Kubernetes

As a follow up from last week’s video on Containerizing an ASP.NET Core 3.0 Web API here for a step by step on how to deploy an Asp.Net Core 3.0 Web API on a local Kubernetes cluster:

In this new video you will learn:

  • How to enable a local Kubernetes cluster in your box
  • How to add Kubernetes files to describe your web API deployment using Visual Studio Code
  • How to deploy your containerized Asp.Net Core Web API to Kubernetes

Again, please let me know your thoughts on this video, either here or in the video comments section. All feedback is very appreciated.

More videos coming soon!

2 thoughts on “Deploying an Asp.Net Core 3.0 Web API on Kubernetes

  1. Really informative thanks for sharing knowledge. I followed the instructions and installed the same version of yaml things which I could see difference is when i installed as of today in I could see context only as Docker-for-desktop.

    When I created deployment.yml file my image is not able to pull it from local repository and resulted in below error
    “Failed to pull image “sampleapi:latest”: rpc error: code = Unknown desc = Error response from daemon: pull access denied for sampleapi, repository does not exist or may require ‘docker login'”

    I could see this image when I am executing following command docker images

    I am suspecting its trying to reach private repository etc. Help on this will be much appreciated also if you could let me know down the line if I want to pull image from private repository what configuration changes needs to be done.

    Response on this will be much appreicated.

    • Raju, the deployment will fail if you use the “latest” tag. Please retag your container to some specific tag like “sampleapi:v1”, update the yml file to use the new tag and try the deployment again. Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.