Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
d1c72678
Commit
d1c72678
authored
Oct 4, 2022
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Monitoring component:
- added wait control while MonitoringDB is starting
parent
10a63cc4
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!4
Compute component:
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy.sh
+11
-1
11 additions, 1 deletion
deploy.sh
with
11 additions
and
1 deletion
deploy.sh
+
11
−
1
View file @
d1c72678
...
@@ -190,7 +190,17 @@ for EXTRA_MANIFEST in $TFS_EXTRA_MANIFESTS; do
...
@@ -190,7 +190,17 @@ for EXTRA_MANIFEST in $TFS_EXTRA_MANIFESTS; do
printf
"
\n
"
printf
"
\n
"
done
done
# By now, leave this control here. Some component dependencies are not well handled
# By now, leave these controls here. Some component dependencies are not well handled.
if
[[
"
$TFS_COMPONENTS
"
==
*
"monitoring"
*
]]
;
then
echo
"Waiting for 'MonitoringDB' component..."
# Kubernetes does not implement --for='condition=available' for statefulsets.
# By now, we assume a single replica of monitoringdb. To be updated in future releases.
kubectl
wait
--namespace
$TFS_K8S_NAMESPACE
\
--for
=
jsonpath
=
'{.status.readyReplicas}'
=
1
--timeout
=
300s statefulset/monitoringdb
printf
"
\n
"
fi
for
COMPONENT
in
$TFS_COMPONENTS
;
do
for
COMPONENT
in
$TFS_COMPONENTS
;
do
echo
"Waiting for '
$COMPONENT
' component..."
echo
"Waiting for '
$COMPONENT
' component..."
kubectl
wait
--namespace
$TFS_K8S_NAMESPACE
\
kubectl
wait
--namespace
$TFS_K8S_NAMESPACE
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment