UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
C
Confluent
Confluent Component Operator
cp-zookeeper-operator-5.5.x
Commits
c10ad648
Commit
c10ad648
authored
Nov 19, 2020
by
Scott Stroud
Browse files
Healthcheck check
parent
6bead0bf
Pipeline
#80144
passed with stages
in 14 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Dockerfile
Dockerfile
+9
-0
No files found.
Dockerfile
View file @
c10ad648
...
@@ -41,4 +41,13 @@ RUN yum install -y openssl findutils && yum clean all && mkdir -p "${ZOOKEEPER_D
...
@@ -41,4 +41,13 @@ RUN yum install -y openssl findutils && yum clean all && mkdir -p "${ZOOKEEPER_D
&&
chmod
-R
ag+w
"
${
ZOOKEEPER_LOG4J_DIR
}
"
"
${
ZOOKEEPER_LOG_DIR
}
"
"
${
ZOOKEEPER_CONFIG_DIR
}
"
"
$ZOOKEEPER_DATA_DIR
"
"/opt"
&&
chmod
-R
ag+w
"
${
ZOOKEEPER_LOG4J_DIR
}
"
"
${
ZOOKEEPER_LOG_DIR
}
"
"
${
ZOOKEEPER_CONFIG_DIR
}
"
"
$ZOOKEEPER_DATA_DIR
"
"/opt"
CMD
["/opt/caas/bin/run"]
CMD
["/opt/caas/bin/run"]
# Polling period : 5 seconds
# Timeout period :10 seconds (if the polling does not return within this time, treat as a failed poll)
# Start-up period : 2 minutes (during which failures are not counted as failures)
# Retry period : 8 minutes (after which container is deemed unhealthy)
# All settings can be overriden at run-time in Docker/Docker Compose.
HEALTHCHECK
--start-period=120s --interval=5s --timeout=10s --retries=96 \
CMD /usr/bin/zookeeper-shell localhost:2181 ls / || exit 1
USER
1001
USER
1001
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment