Skip to content

Commit 51b9e7f

Browse files
committed
tail blobfuse-proxy logs on pod start
1 parent 90e4c5a commit 51b9e7f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ e2e-test:
6969
go test -v -timeout=0 ./test/e2e ${GINKGO_FLAGS}
7070

7171
.PHONY: e2e-bootstrap
72-
e2e-bootstrap: install-helm install-blobfuse-proxy
72+
e2e-bootstrap: install-helm
7373
# Only build and push the image if it does not exist in the registry
7474
docker pull $(IMAGE_TAG) || make blob-container push
75-
if [[ -z "$(ENABLE_BLOBFUSE_PROXY)" ]]; then \
75+
if [ ! -z "$(ENABLE_BLOBFUSE_PROXY)" ]; then \
7676
make install-blobfuse-proxy;\
7777
fi
7878
helm install blob-csi-driver ./charts/latest/blob-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \

deploy/blobfuse-proxy/blobfuse-proxy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ spec:
5454
systemctl start blobfuse-proxy
5555
echo "removing the file: /tmp/blobfuse-proxy-v0.1.0.deb"
5656
rm /tmp/blobfuse-proxy-v0.1.0.deb
57-
echo "sleeping for 19 years"
58-
sleep 600000000s
57+
echo "sleeping for 10 secs"
58+
sleep 10s
59+
# tail blobfuse proxy logs
60+
journalctl -u blobfuse-proxy -f
5961
image: alpine
6062
imagePullPolicy: IfNotPresent
6163
name: sysctl-install-blobfuse-proxy

0 commit comments

Comments
 (0)