use of io.kubernetes.client.apis.AppsV1beta2Api in project twister2 by DSC-SPIDAL.
the class KubernetesController method createApiInstances.
public void createApiInstances() {
try {
client = io.kubernetes.client.util.Config.defaultClient();
} catch (IOException e) {
LOG.log(Level.SEVERE, "Exception when creating ApiClient: ", e);
throw new RuntimeException(e);
}
Configuration.setDefaultApiClient(client);
coreApi = new CoreV1Api();
beta2Api = new AppsV1beta2Api(client);
}
Aggregations