Skip to content

thinktecture/basta-spring-2021-kubernetes-for-net-devs

Repository files navigation

BASTA Spring 2021 - Kubernetes für .NET-Core-Anwendungsentwickler

This repository contains all samples from my talk about Kubernetes for .NET devs at BASTA! Spring 2021.

Slides

You can find the slides at https://speakerdeck.com/ThorstenHans/

Contents

  • The iac folder contains simple shell scripts to setup and teardown the demo environment
  • The src folder contains a .NET application which consists of multiple projects
    • See Thinktecture.Samples.BASTA.WebAPI for API application
    • See Thinktecture.Samples.BASTA.Entities for EF Core migrations
    • See THinktecture.Samples.BASTA.Jobs.Cleanup for a job that should be executed on a schedule
  • The root folder contains a set of Dockerfiles to containerize the application components
  • The kubernetes folder contains a bunch of scripts and manifests for Kubernetes deployment
    • First create required namespace using kubectl apply -f ./kubernetes/namespaces.yml
    • Install NGINX Ingress Controller using the install_ingress.sh script
    • Deploy the connection string for SQL Azure database to the cluster using deploy_secrets.sh
    • Deploy the API using kubectl apply -f ./kubernetes/api
    • Deploy the CleanUp job using kubectl apply -f ./kubernetes/cleanup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published