Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rke
Commits
5ec490da
Commit
5ec490da
authored
6 years ago
by
moelsayed
Committed by
Denise
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Increase addon delete job timeout
parent
25018afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster/addons.go
+1
-1
cluster/addons.go
with
1 addition
and
1 deletion
+1
-1
cluster/addons.go
+
1
-
1
View file @
5ec490da
...
...
@@ -275,7 +275,7 @@ func (c *Cluster) doAddonDelete(ctx context.Context, resourceName string, isCrit
if
err
!=
nil
{
return
&
addonError
{
fmt
.
Sprintf
(
"Failed to generate addon delete job: %v"
,
err
),
isCritical
}
}
if
err
:=
k8s
.
ApplyK8sSystemJob
(
deleteJob
,
c
.
LocalKubeConfigPath
,
c
.
K8sWrapTransport
,
c
.
AddonJobTimeout
,
false
);
err
!=
nil
{
if
err
:=
k8s
.
ApplyK8sSystemJob
(
deleteJob
,
c
.
LocalKubeConfigPath
,
c
.
K8sWrapTransport
,
c
.
AddonJobTimeout
*
2
,
false
);
err
!=
nil
{
return
&
addonError
{
fmt
.
Sprintf
(
"%v"
,
err
),
isCritical
}
}
// At this point, the addon should be deleted. We need to clean up by deleting the deploy and delete jobs.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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