Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
22649587
Commit
22649587
authored
May 04, 2020
by
Geoff Simmons
Committed by
Tim Leers
Jul 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the example for BackendConfig.
parent
8aa6a575
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
undeploy.sh
examples/backend-config/undeploy.sh
+2
-1
No files found.
examples/backend-config/undeploy.sh
View file @
22649587
...
@@ -7,11 +7,12 @@ kubectl delete -f ../hello/cafe-ingress.yaml
...
@@ -7,11 +7,12 @@ kubectl delete -f ../hello/cafe-ingress.yaml
kubectl delete
-f
../hello/cafe.yaml
kubectl delete
-f
../hello/cafe.yaml
echo
"Waiting until varnish-ingress Pods are not ready"
echo
"Waiting until varnish-ingress Pods are not ready"
JSONPATH
=
'{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'
N
=
0
N
=
0
until
[
$N
-ge
120
]
until
[
$N
-ge
120
]
do
do
if
kubectl get pods
-l
app
=
varnish-ingress
|
grep
-q
' 1/1
'
;
then
if
kubectl get pods
-l
app
=
varnish-ingress
-o
jsonpath
=
"
${
JSONPATH
}
"
|
grep
-q
'\bReady=True\b
'
;
then
sleep
10
sleep
10
N
=
$((
N
+
10
))
N
=
$((
N
+
10
))
continue
continue
...
...
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