Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ljtill/dotnet-bridge-sample
[WIP] Sample .NET Application with Bridge for Kubernetes
https://github.com/ljtill/dotnet-bridge-sample
aspnetcore blazor bridge dev-container docker dotnet kubernetes
Last synced: 27 days ago
JSON representation
[WIP] Sample .NET Application with Bridge for Kubernetes
- Host: GitHub
- URL: https://github.com/ljtill/dotnet-bridge-sample
- Owner: ljtill
- License: mit
- Created: 2024-05-27T17:00:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T10:08:45.000Z (3 months ago)
- Last Synced: 2024-10-29T18:22:22.533Z (3 months ago)
- Topics: aspnetcore, blazor, bridge, dev-container, docker, dotnet, kubernetes
- Language: CSS
- Homepage:
- Size: 516 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🛠️ Bridge to Kubernetes
This repository provides a quick-start sample application that combines an ASP.NET Core Web API backend with a Blazor Web App frontend, designed for testing with Bridge for Kubernetes. Optimized for Dev Containers, it includes a set of Makefile targets to simplify the setup process. With these targets, you can easily set up a local Kubernetes cluster, build and upload container images, and deploy the application, making it straightforward to get started with your testing and debugging.
![Architecture](./eng/images/architecture.png)
## Getting Started
```bash
# Provsion the local Kubernetes cluster
kind create cluster# Build the .NET application Docker images
make build# Upload Docker images to the Kubernetes nodes
make upload# Apply Kustomize overlays and deploy Kubernetes manifests
make apply# Set current context to specific namespace
make set
``````bash
# List and watch Kubernetes resources
make list# Display all container logs
make logs
```Follow the [Use Bridge to Kubernetes (VS Code)](https://learn.microsoft.com/en-us/visualstudio/bridge/bridge-to-kubernetes-vs-code) tutorial.
> Set `tasks.json` variable `useKubernetesServiceEnvironmentVariables` to true
## Tools
- [VS Code](https://code.visualstudio.com/)
- [.NET](https://dotnet.microsoft.com/)
- [Kubernetes](https://kubernetes.io/)
- [Kustomize](https://kustomize.io/)
- [Docker](https://www.docker.com/)
- [KIND](https://kind.sigs.k8s.io/)
- [Bridge to Kubernetes](https://learn.microsoft.com/en-us/visualstudio/bridge/)
- [Development Containers](https://containers.dev/)