export async function iter8ServiceStatus ( svc , args ) { const svcStr = await args . REPL . qexec ( `kubectl get svc -n iter8 -o jsonpath='{.items[*].metadata.name}'` ) ; return svcStr . substring ( 1 , svcStr . length - 1 ) . split ( ' ' ) . includes ( svc ) ; } export function getAnalyticsURL ( ) { let url = process . env . ITER8_ANALYTICS_URL ; if ( url === undefined ) { url = 'http://0.0.0.0:8080/' ; } return url ; }