Skip to content

Commit

Permalink
Default shell on Debian shows the same symptom ...
Browse files Browse the repository at this point in the history
of not forwarding signals as Alpine did.
Kafka logs say nothing, and after 30s the container is terminated.
With /bin/bash instead the log indicates shutdown behavior.

This reverts commit c188f43.
  • Loading branch information
solsson committed Jul 26, 2017
1 parent 5bb49e3 commit a2d324d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
ports:
- containerPort: 9092
command:
- /bin/sh
- /bin/bash
- -c
- >
./bin/kafka-server-start.sh
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
- name: JMX_PORT
value: "5555"
command:
- /bin/sh
- /bin/bash
- -euc
- >
export ZOOKEEPER_SERVER_ID=$((${HOSTNAME##*-} + 1));
Expand Down
2 changes: 1 addition & 1 deletion zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
- name: JMX_PORT
value: "5555"
command:
- /bin/sh
- /bin/bash
- -euc
- >
export ZOOKEEPER_SERVER_ID=$((${HOSTNAME##*-} + 4));
Expand Down

1 comment on commit a2d324d

@solsson
Copy link
Contributor Author

@solsson solsson commented on a2d324d Nov 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.