11 writes to MinCount
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentExtensions.cs (2)
249options.MinCount = minCount; 346options.MinCount = minCount;
Aspire.Hosting.Azure.Kubernetes.Tests (9)
AzureKubernetesEnvironmentExtensionsTests.cs (9)
121pool.MinCount = 2; 127pool.MinCount = 0; 153pool.MinCount = -1; 159pool.MinCount = -1; 168systemConfig.MinCount = 1; 172workers.Resource.Config.MinCount = 2; 179workerConfig.MinCount = 0; 231pool.MinCount = minCount; 270aks.WithSystemNodePool(pool => pool.MinCount = 0);
11 references to MinCount
Aspire.Hosting.Azure.Kubernetes (6)
AzureKubernetesEnvironmentExtensions.cs (6)
393ArgumentOutOfRangeException.ThrowIfLessThan(config.MinCount, minimumCount, nameof(config.MinCount)); 395ArgumentOutOfRangeException.ThrowIfGreaterThan(config.MinCount, config.MaxCount, nameof(config.MinCount)); 753MinCount = pool.MinCount, 755Count = pool.MinCount,
Aspire.Hosting.Azure.Kubernetes.Tests (5)
AzureKubernetesEnvironmentExtensionsTests.cs (5)
81Assert.Equal(0, gpuPool.Resource.Config.MinCount); 103Assert.Equal(1, defaultPool.MinCount); 1009Assert.Equal(1, systemPool.MinCount); 1027Assert.Equal(2, systemPool.MinCount); 1069Assert.Equal(3, systemPool.MinCount);