11 writes to MinCount
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentExtensions.cs (2)
276options.MinCount = minCount; 373options.MinCount = minCount;
Aspire.Hosting.Azure.Kubernetes.Tests (9)
AzureKubernetesEnvironmentExtensionsTests.cs (9)
124pool.MinCount = 2; 130pool.MinCount = 0; 156pool.MinCount = -1; 162pool.MinCount = -1; 171systemConfig.MinCount = 1; 175workers.Resource.Config.MinCount = 2; 182workerConfig.MinCount = 0; 234pool.MinCount = minCount; 273aks.WithSystemNodePool(pool => pool.MinCount = 0);
11 references to MinCount
Aspire.Hosting.Azure.Kubernetes (6)
AzureKubernetesEnvironmentExtensions.cs (6)
420ArgumentOutOfRangeException.ThrowIfLessThan(config.MinCount, minimumCount, nameof(config.MinCount)); 422ArgumentOutOfRangeException.ThrowIfGreaterThan(config.MinCount, config.MaxCount, nameof(config.MinCount)); 780MinCount = pool.MinCount, 782Count = pool.MinCount,
Aspire.Hosting.Azure.Kubernetes.Tests (5)
AzureKubernetesEnvironmentExtensionsTests.cs (5)
84Assert.Equal(0, gpuPool.Resource.Config.MinCount); 106Assert.Equal(1, defaultPool.MinCount); 1304Assert.Equal(1, systemPool.MinCount); 1322Assert.Equal(2, systemPool.MinCount); 1364Assert.Equal(3, systemPool.MinCount);