Kubernetes Get Call does not properly loop tokenized results - some records are missing, e.g. namespacesDescriptionYou note that when running Kubernetes discovery on large deployments that some records are unexpectedly missing, e.g. namespaces Steps to Reproduce > Run Kubernetes discovery > Review discovered CIsWorkaroundThis issue is fixed in "Discovery and Service Mapping Patterns" plugin 1.0.63 and above. Please try to update the plugin first. Below is the workaround that can be implemented in case of urgency: Modify sa_custom_operation "Kubernetes Get Call": ========== Kubernetes Get Call OLD=============if (resource && !resource.equals('Info')) {urlCust = url + $resource + "?limit=50";response = httpClient.invoke(CTX, urlCust, 'GET', null, null, ciType, headers, 'false');cont = response.match(/continue\"\:\"([^"]*)/);if (cont){nextToken = cont[0].split('"')[2];}result.add(response);if ( nextToken ){urlCust = url + $resource + "?limit=100&continue=" + nextToken;response = httpClient.invoke(CTX, urlCust, 'GET', null, null, ciType, headers, 'false');cont = response.match(/continue\"\:\"([^"]*)/);if (cont){nextToken = cont[0].split('"')[2];}result.add(response);}} else {ms.log('HTTP CALL FAILED: ' + url);}=========Kubernetes Get Call NEW================if (resource && !resource.equals('Info')) {urlCust = url + $resource + "?limit=50";response = httpClient.invoke(CTX, urlCust, 'GET', null, null, ciType, headers, 'false');cont = response.match(/continue\"\:\"([^"]*)/);if (cont){nextToken = cont[0].split('"')[2];}result.add(response);while ( JSUtil.notNil(nextToken) ) ——————————-----------------------------------------------------------------------> Change this{urlCust = url + $resource + "?limit=100&continue=" + nextToken;response = httpClient.invoke(CTX, urlCust, 'GET', null, null, ciType, headers, 'false');cont = response.match(/continue\"\:\"([^"]*)/);if (cont){nextToken = cont[0].split('"')[2];}else ———————————————————-----------------------------------------------------------------------------> add this block{nextToken = "";}result.add(response);}} else {ms.log('HTTP CALL FAILED: ' + url);}Related Problem: PRB1391979