Skip to content

A basic .net core 3 api that can be deployed to k8s with manifests.

Notifications You must be signed in to change notification settings

mkoperator/simple-app-k3s-dotnetcore3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-app-k3s-dotnetcore3

Training Day 1

Simple Application requires following these steps.

  1. Clone your fork of this repository locally.
  2. Configure the correct kubeconfig by replacing your ~/.kube/config with the config from rancher.
    • test by doing a kubectl get all -A
  3. customize the name of your app and ingress hostname. (edit Makefile then run make customize)
    • kubernetes/deployment.yaml
    • kubernetes/service.yaml
    • kubernetes/ingress.yaml
  4. Set your namespace to illumina
  5. Build our .net app in docker and tag the image. (run make build)
    • Make sure you do docker login to login to docker.io.
  6. publish image to docker hub. (run make publish)
  7. deploy manifests to kubernetes. (run make deploy)
  8. browse to your ingress hostname.

Training Day 2

Part two. Deploy a helm chart.

  1. create a default chart directory (make charts) helm create charts
  2. overwrite values by using set while deploying to cluster (make deploycharts) helm install ... --set
  3. browse to your ingress hostname.
  4. delete using helm delete (make removecharts)

About

A basic .net core 3 api that can be deployed to k8s with manifests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published