Esempio n. 1
0
 static async Task <int> GetCurrentRunningJobs(KubeClient kubeClient, string _namespace, string labelSelector = "")
 {
     return(await kubeClient.GetActivePodCountFromNamespaceAsync(_namespace, labelSelector));
 }
Esempio n. 2
0
 static async Task <int> GetCurrentRunningJobs(string _namespace = "default")
 {
     return(await kube.GetActivePodCountFromNamespaceAsync(_namespace));
 }