Show / Hide Table of Contents

Interface ISelector

Fargate profile selector.

Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.AWS.EKS.dll
Syntax (csharp)
public interface ISelector
Syntax (vb)
Public Interface ISelector
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;

var selector = new Selector {
    Namespace = "namespace",

    // the properties below are optional
    Labels = new Dictionary<string, string> {
        { "labelsKey", "labels" }
    }
};

Synopsis

Properties

Labels

The Kubernetes labels that the selector should match.

Namespace

The Kubernetes namespace that the selector should match.

Properties

Labels

The Kubernetes labels that the selector should match.

virtual IDictionary<string, string> Labels { get; }
Property Value

System.Collections.Generic.IDictionary<System.String, System.String>

Remarks

A pod must contain all of the labels that are specified in the selector for it to be considered a match.

Default: - all pods within the namespace will be selected.

Namespace

The Kubernetes namespace that the selector should match.

string Namespace { get; }
Property Value

System.String

Remarks

You must specify a namespace for a selector. The selector only matches pods that are created in this namespace, but you can create multiple selectors to target multiple namespaces.

Back to top Generated by DocFX