Lire en anglais

Partager via


ClusterConfig Class

Definition

A cluster is a group of equivalent endpoints and associated policies.

C#
public sealed class ClusterConfig : IEquatable<Yarp.ReverseProxy.Configuration.ClusterConfig>
Inheritance
ClusterConfig
Implements

Constructors

Properties

ClusterId

The Id for this cluster. This needs to be globally unique. This field is required.

Destinations

The set of destinations associated with this cluster.

HealthCheck

Health checking config.

HttpClient

Config for the HTTP client that is used to call destinations in this cluster.

HttpRequest

Config for outgoing HTTP requests.

LoadBalancingPolicy

Load balancing policy.

Metadata

Arbitrary key-value pairs that further describe this cluster.

SessionAffinity

Session affinity config.

Methods

Operators

Applies to

Produit Versions
Yarp 1.0.1, 1.1.2, 2.0.1, 2.1.0, 2.2.0