deleted PVC log message
parent
dd72172917
commit
9fd4d4da48
|
|
@ -2034,6 +2034,7 @@ class Kubernetes {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
cloud_runner_logger_1.default.log(`deleting PVC`);
|
cloud_runner_logger_1.default.log(`deleting PVC`);
|
||||||
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
|
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
|
||||||
|
cloud_runner_logger_1.default.log(`deleted PVC`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
static findPodFromJob(kubeClient, jobName, namespace) {
|
static findPodFromJob(kubeClient, jobName, namespace) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -181,6 +181,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
|
||||||
) {
|
) {
|
||||||
CloudRunnerLogger.log(`deleting PVC`);
|
CloudRunnerLogger.log(`deleting PVC`);
|
||||||
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
|
this.kubeClient.deleteNamespacedPersistentVolumeClaim(this.pvcName, this.namespace);
|
||||||
|
CloudRunnerLogger.log(`deleted PVC`);
|
||||||
}
|
}
|
||||||
static async findPodFromJob(kubeClient: CoreV1Api, jobName: string, namespace: string) {
|
static async findPodFromJob(kubeClient: CoreV1Api, jobName: string, namespace: string) {
|
||||||
const namespacedPods = await kubeClient.listNamespacedPod(namespace);
|
const namespacedPods = await kubeClient.listNamespacedPod(namespace);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue