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
containerManagerIContainerManagerimageManagerIImageManagernetworkManagerINetworkManagervolumeManagerIVolumeManagerclientIKubernetesloggerILogger<KubernetesContainerOrchestrator>
Properties
Containers
Gets the container manager for this runtime.
public IContainerManager Containers { get; }
Property Value
Images
Gets the image manager for this runtime.
public IImageManager Images { get; }
Property Value
Networks
Gets the network manager for this runtime.
public INetworkManager Networks { get; }
Property Value
ProviderName
Gets the name of the container runtime provider (e.g., "Docker", "Podman").
public string ProviderName { get; }
Property Value
Volumes
Gets the volume manager for this runtime.
public IVolumeManager Volumes { get; }
Property Value
Methods
IsAvailableAsync(CancellationToken)
Checks if the runtime is available and reachable.
public Task<bool> IsAvailableAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken