Skip to content

Commit df42b19

Browse files
committed
ci: expand tls failure diagnostics
Signed-off-by: sduvvuri1603 <[email protected]>
1 parent b256047 commit df42b19

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/resources/scripts/ensure-kfp-api.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,17 @@ dump_ml_pipeline_logs() {
2929
log "Current pods in namespace ${NAMESPACE}:"
3030
kubectl -n "${NAMESPACE}" get pods -o wide || true
3131

32-
log "Listing TLS cert directory contents inside ${SERVICE_NAME} deployment:"
32+
log "Inspecting TLS certificate paths inside ${SERVICE_NAME} deployment:"
33+
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- ls -lah /etc || true
34+
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- ls -lah /etc/pki || true
35+
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- ls -lah /etc/pki/tls || true
3336
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- ls -lah /etc/pki/tls/certs || true
37+
38+
log "ml-pipeline container command line:"
39+
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- cat /proc/1/cmdline || true
40+
41+
log "ml-pipeline container TLS-related environment variables:"
42+
kubectl -n "${NAMESPACE}" exec deploy/"${SERVICE_NAME}" -- env | grep -E 'TLS|CERT' || true
3443
}
3544

3645
if ! kubectl version --request-timeout=5s >/dev/null 2>&1; then

0 commit comments

Comments
 (0)