TCIS.Http.Grpc.Kubernetes
1.0.3
See the version list below for details.
dotnet add package TCIS.Http.Grpc.Kubernetes --version 1.0.3
NuGet\Install-Package TCIS.Http.Grpc.Kubernetes -Version 1.0.3
<PackageReference Include="TCIS.Http.Grpc.Kubernetes" Version="1.0.3" />
<PackageVersion Include="TCIS.Http.Grpc.Kubernetes" Version="1.0.3" />
<PackageReference Include="TCIS.Http.Grpc.Kubernetes" />
paket add TCIS.Http.Grpc.Kubernetes --version 1.0.3
#r "nuget: TCIS.Http.Grpc.Kubernetes, 1.0.3"
#:package TCIS.Http.Grpc.Kubernetes@1.0.3
#addin nuget:?package=TCIS.Http.Grpc.Kubernetes&version=1.0.3
#tool nuget:?package=TCIS.Http.Grpc.Kubernetes&version=1.0.3
TCIS.Http.Grpc.Kubernetes
An extension library for gRPC Client, providing automatic Service Discovery and Client-Side Load Balancing for Headless Services on Kubernetes. It works by calling the Kubernetes API to retrieve the list of Pod Endpoints and applying Round-Robin Load Balancing.
📦 Installation
dotnet add package TCIS.Http.Grpc.Kubernetes
🚀 Usage
Register Kubernetes Discovery (Program.cs)
Initializes the Kubernetes connection configuration (automatically detecting In-Cluster config or local KubeConfig) and Resolver Factory.
using TCIS.Http.Grpc.Kubernetes.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Register Kubernetes Discovery
builder.Services.AddTCISKubernetesGrpcDiscovery();
var app = builder.Build();
app.Run();
(Note: You can use the k8s:// scheme when registering GrpcClient in the core package TCIS.Http.Grpc, and it will automatically activate KubernetesResolverFactory to resolve Headless Service Endpoints and distribute load using Round Robin.)
⚙️ Core Components
AddTCISKubernetesGrpcDiscovery: ProvidesIKubernetesClient and registersKubernetesResolverFactory. Automatically detects configurations within the Kubernetes Cluster via Service Account tokens, offering robust support for Cloud Native environments.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Elastic.CommonSchema (>= 8.11.0)
- FluentValidation (>= 11.11.0)
- FluentValidation.AspNetCore (>= 11.3.0)
- FluentValidation.DependencyInjectionExtensions (>= 11.11.0)
- Google.Protobuf (>= 3.28.2)
- Grpc.AspNetCore (>= 2.66.0)
- Grpc.Net.Client (>= 2.66.0)
- Grpc.Net.ClientFactory (>= 2.66.0)
- Grpc.Tools (>= 2.66.0)
- KubernetesClient (>= 19.0.2)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0)
- Microsoft.Extensions.Configuration (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Http.Resilience (>= 9.1.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- Polly (>= 8.5.1)
- System.Diagnostics.DiagnosticSource (>= 10.0.0)
- System.Text.Encodings.Web (>= 9.0.0)
- System.Text.Json (>= 9.0.0)
- System.Threading.Channels (>= 8.0.0)
- TCIS.Http.Grpc (>= 1.0.3)
- TCIS.Logging.Abstractions (>= 1.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.4 | 37 | 10/13/2026 |
| 1.0.3 | 59 | 10/13/2026 |
| 1.0.2 | 73 | 10/12/2026 |
| 1.0.2-rc.1 | 43 | 10/12/2026 |
| 1.0.1-rc.10 | 55 | 10/8/2026 |
| 1.0.1-rc.9 | 50 | 10/8/2026 |
| 1.0.1-rc.8 | 51 | 10/8/2026 |
| 1.0.1-rc.7 | 54 | 10/8/2026 |
| 1.0.1-rc.6 | 51 | 10/8/2026 |
| 1.0.1-rc.5 | 50 | 10/7/2026 |
| 1.0.1-rc.4 | 52 | 10/7/2026 |
| 1.0.1-rc.3 | 50 | 10/7/2026 |
| 1.0.1-rc.2 | 62 | 10/5/2026 |
| 1.0.1-rc.1 | 57 | 10/5/2026 |
| 1.0.0 | 96 | 10/1/2026 |
| 1.0.0-rc.52 | 66 | 9/29/2026 |
| 1.0.0-rc.51 | 73 | 9/23/2026 |
| 1.0.0-rc.50 | 74 | 9/21/2026 |
| 1.0.0-rc.49 | 76 | 9/18/2026 |
| 1.0.0-rc.47 | 71 | 9/17/2026 |