File tree 1 file changed +8
-0
lines changed
airbyte-workload-launcher/src/main/kotlin/pods
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,15 @@ import io.airbyte.workload.launcher.pods.factories.OrchestratorPodFactory
34
34
import io.airbyte.workload.launcher.pods.factories.ReplicationPodFactory
35
35
import io.fabric8.kubernetes.api.model.Pod
36
36
import io.fabric8.kubernetes.client.KubernetesClientTimeoutException
37
+ import io.github.oshai.kotlinlogging.KotlinLogging
37
38
import jakarta.inject.Named
38
39
import jakarta.inject.Singleton
39
40
import java.time.Duration
40
41
import java.util.UUID
41
42
import java.util.concurrent.TimeoutException
42
43
44
+ private val logger = KotlinLogging .logger {}
45
+
43
46
/* *
44
47
* Interface layer between domain and Kube layers.
45
48
* Composes raw Kube layer atomic operations to perform business operations.
@@ -147,6 +150,11 @@ class KubePodClient(
147
150
replicationInput.connectionId,
148
151
)
149
152
153
+ logger.info { " Launching replication pod: ${kubeInput.podName} with containers:" }
154
+ logger.info { " [source] image: ${kubeInput.sourceImage} resources: ${kubeInput.sourceReqs} " }
155
+ logger.info { " [destination] image: ${kubeInput.destinationImage} resources: ${kubeInput.destinationReqs} " }
156
+ logger.info { " [orchestrator] image: ${kubeInput.orchestratorImage} resources: ${kubeInput.orchestratorReqs} " }
157
+
150
158
try {
151
159
pod =
152
160
kubePodLauncher.create(pod)
You can’t perform that action at this time.
0 commit comments