/simple-app-k3s-dotnetcore3

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

Primary LanguageC#

simple-app-k3s-dotnetcore3

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.