Skip to content

Sample of a PolyRepo implementation for a dotnet application

License

Notifications You must be signed in to change notification settings

kinncj/sample-dotnet-polyrepo

Repository files navigation

TestApp.

Table of Contents

Read

Prerequisite

Setup

git clone [email protected]:kinncj/sample-dotnet-polyrepo.git

Compile the code

cd ~/path-to/sample-dotnet-polyrepo/
make ENV=local docker/build
make ENV=local  DOCKER_PLATFORM="--platform=linux/arm64" docker/build

Run the kubernetes manifests

kubectl config get-contexts
# CURRENT NAME
# * docker-desktop
#   remote-cluster
kubectl config use-context docker-desktop
ENV=local make kubectl/kustomize

ENV=local make kubectl/dry-run
ENV=local make docker/build kubectl/apply
kubectl get pods -A

    make ENV=local kubectl/logs/testapp/api
    make ENV=local kubectl/logs/testapp/app
kubectl get pods -A

kubectl -n <NAMESPACE> port-forward <POD NAME> <LOCAL PORT>:<POD PORT>
make ENV=local kubectl/port-forward/testapp/app

open http:https://localhost:8080/swagger/index.html
# Build and reload pods
make ENV=local docker/build kubectl/reload/testapp/{app,api}

About

Sample of a PolyRepo implementation for a dotnet application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published