Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #18 from quobyte/quobyte-1.4
Browse files Browse the repository at this point in the history
Update services to 1.4 and minor fixes for client daemonset
  • Loading branch information
quobert authored Aug 21, 2017
2 parents a096cb1 + 9b6fed3 commit e409264
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 deletions kubernetes/client-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ spec:
- /bin/sh
- -xec
- |
ADDR=$(echo $(nslookup ${QUOBYTE_REGISTRY} | grep -A10 -m1 -e 'Name:' | grep Address | awk '{split($0,a,":"); print a[2]}' | awk '{print $1":7861"}') | tr ' ' ,)
if [[ ! -f /etcfs/fuse.conf ]]; then
echo "Copy fuse config to host"
{ echo -e '# Copied from Quobyte Client Container\n'; cat /etc/fuse.conf; } > /etcfs/fuse.conf
Expand All @@ -30,14 +29,16 @@ spec:
echo "user_allow_other" >> /etcfs/fuse.conf
fi
if cut -d" " -f2 /etcfs/mtab | grep -q ${QUOBYTE_MOUNT_POINT}; then
fusermount -u ${QUOBYTE_MOUNT_POINT}
umount ${QUOBYTE_MOUNT_POINT}
else
mkdir -p ${QUOBYTE_MOUNT_POINT}
fi
/bin/nsenter -t 1 --wd=. -m -- \
lib/ld-linux-x86-64.so.2 \
--library-path ./lib \
./bin/mount.quobyte --hostname ${NODENAME} --allow-usermapping-in-volumename --http-port 55000 -f -d ${QUOBYTE_CLIENT_LOG_LEVEL} ${OPTS} ${ADDR}/ ${QUOBYTE_MOUNT_POINT}
./bin/mount.quobyte --hostname ${NODENAME} --allow-usermapping-in-volumename \
--http-port 55000 -f -l /dev/stdout -d ${QUOBYTE_CLIENT_LOG_LEVEL} ${OPTS} \
${QUOBYTE_REGISTRY}/ ${QUOBYTE_MOUNT_POINT}
securityContext:
privileged: true
env:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/data-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ spec:
prometheus.io/port: '7873'
labels:
role: data
version: 1.3.15
version: 1.4
spec:
containers:
- name: quobyte-metadata
image: quay.io/quobyte/quobyte-server:1.3.15
image: quay.io/quobyte/quobyte-server:1.4
securityContext:
capabilities:
add:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/metadata-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ spec:
prometheus.io/port: '7872'
labels:
role: metadata
version: 1.3.15
version: 1.4
spec:
containers:
- name: quobyte-metadata
image: quay.io/quobyte/quobyte-server:1.3.15
image: quay.io/quobyte/quobyte-server:1.4
securityContext:
capabilities:
add:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/qmgmt-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ kind: Pod
metadata:
labels:
role: qmgmt-pod
version: 1.3.15
version: 1.4
name: qmgmt-pod
namespace: quobyte
spec:
containers:
- name: qmgmt-pod
image: quay.io/quobyte/quobyte-server:1.3.15
image: quay.io/quobyte/quobyte-server:1.4
command:
- /bin/bash
- -xec
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/registry-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
metadata:
labels:
role: registry
version: 1.3.15
version: 1.4
spec:
containers:
- name: quobyte-registry
image: quay.io/quobyte/quobyte-server:1.3.15
image: quay.io/quobyte/quobyte-server:1.4
securityContext:
capabilities:
add:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/webconsole-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ spec:
metadata:
labels:
role: webconsole
version: 1.3.15
version: 1.4
spec:
containers:
- name: quobyte-webconsole
image: quay.io/quobyte/quobyte-server:1.3.15
image: quay.io/quobyte/quobyte-server:1.4
env:
- name: QUOBYTE_SERVICE
value: "webconsole"
Expand Down

0 comments on commit e409264

Please sign in to comment.