Table of Contents

Class KubernetesContainerOrchestrator

Namespace
Bielu.Microservices.Orchestrator.Kubernetes
Assembly
Bielu.Microservices.Orchestrator.Kubernetes.dll

Kubernetes implementation of the container orchestrator.

public class KubernetesContainerOrchestrator : IContainerOrchestrator
Inheritance
KubernetesContainerOrchestrator
Implements
Inherited Members

Constructors

KubernetesContainerOrchestrator(IContainerManager, IImageManager, INetworkManager, IVolumeManager, IKubernetes, ILogger<KubernetesContainerOrchestrator>)

Kubernetes implementation of the container orchestrator.

public KubernetesContainerOrchestrator(IContainerManager containerManager, IImageManager imageManager, INetworkManager networkManager, IVolumeManager volumeManager, IKubernetes client, ILogger<KubernetesContainerOrchestrator> logger)

Parameters

containerManager IContainerManager
imageManager IImageManager
networkManager INetworkManager
volumeManager IVolumeManager
client IKubernetes
logger ILogger<KubernetesContainerOrchestrator>

Properties

Containers

Gets the container manager for this runtime.

public IContainerManager Containers { get; }

Property Value

IContainerManager

Images

Gets the image manager for this runtime.

public IImageManager Images { get; }

Property Value

IImageManager

Networks

Gets the network manager for this runtime.

public INetworkManager Networks { get; }

Property Value

INetworkManager

ProviderName

Gets the name of the container runtime provider (e.g., "Docker", "Podman").

public string ProviderName { get; }

Property Value

string

Volumes

Gets the volume manager for this runtime.

public IVolumeManager Volumes { get; }

Property Value

IVolumeManager

Methods

IsAvailableAsync(CancellationToken)

Checks if the runtime is available and reachable.

public Task<bool> IsAvailableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<bool>