Skip to content

Commit

Permalink
Merge pull request #400 from boddumanohar/issues/392
Browse files Browse the repository at this point in the history
tail blobfuse-proxy logs at the start of blobfuse-proxy daemonset
  • Loading branch information
k8s-ci-robot authored Apr 28, 2021
2 parents 90e4c5a + 397256f commit eeb77e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ OUTPUT_TYPE ?= registry
ALL_ARCH.linux = amd64 #arm64
ALL_OS_ARCH = $(foreach arch, ${ALL_ARCH.linux}, linux-$(arch))

all: blob
all: blob blobfuse-proxy

.PHONY: verify
verify: unit-test
Expand All @@ -69,10 +69,10 @@ e2e-test:
go test -v -timeout=0 ./test/e2e ${GINKGO_FLAGS}

.PHONY: e2e-bootstrap
e2e-bootstrap: install-helm install-blobfuse-proxy
e2e-bootstrap: install-helm
# Only build and push the image if it does not exist in the registry
docker pull $(IMAGE_TAG) || make blob-container push
if [[ -z "$(ENABLE_BLOBFUSE_PROXY)" ]]; then \
if [ ! -z "$(ENABLE_BLOBFUSE_PROXY)" ]; then \
make install-blobfuse-proxy;\
fi
helm install blob-csi-driver ./charts/latest/blob-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \
Expand Down
6 changes: 4 additions & 2 deletions deploy/blobfuse-proxy/blobfuse-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ spec:
systemctl start blobfuse-proxy
echo "removing the file: /tmp/blobfuse-proxy-v0.1.0.deb"
rm /tmp/blobfuse-proxy-v0.1.0.deb
echo "sleeping for 19 years"
sleep 600000000s
echo "waiting for blobfuse-proxy service to start"
sleep 3s
# tail blobfuse proxy logs
journalctl -u blobfuse-proxy -f
image: alpine
imagePullPolicy: IfNotPresent
name: sysctl-install-blobfuse-proxy
Expand Down
Binary file modified deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.deb
Binary file not shown.
2 changes: 1 addition & 1 deletion pkg/blobfuse-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ make blobfuse-proxy

- Generate debian dpkg package
```console
cp _output/blobfuse-proxy ./pkg/blobfuse-proxy/usr/bin/blobfuse-proxy
cp _output/blobfuse-proxy ./pkg/blobfuse-proxy/debpackage/usr/bin/blobfuse-proxy
dpkg-deb --build pkg/blobfuse-proxy/debpackage
```

0 comments on commit eeb77e7

Please sign in to comment.