Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Remove pkg/util package #952

Merged
merged 7 commits into from
Sep 15, 2020
Merged

Remove pkg/util package #952

merged 7 commits into from
Sep 15, 2020

Conversation

invidian
Copy link
Member

Includes commits from #951

Part of #290

surajssd
surajssd previously approved these changes Sep 15, 2020
Copy link
Member

@surajssd surajssd left a comment

Choose a reason for hiding this comment

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

LGTM

pkg/lokomotive/cluster.go Outdated Show resolved Hide resolved
@surajssd
Copy link
Member

I have noticed that 6minutes looks like a good time for the nodes to join. So we should timeout after 6minutes. See #940 (comment) for more details.

@invidian
Copy link
Member Author

I have noticed that 6minutes looks like a good time for the nodes to join. So we should timeout after 6minutes. See #940 (comment) for more details.

Right, let me check it. What about some nice number like 5 minutes for API and 10 minutes for nodes?

knrt10
knrt10 previously approved these changes Sep 15, 2020
Copy link
Member

@knrt10 knrt10 left a comment

Choose a reason for hiding this comment

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

+1

knrt10
knrt10 previously approved these changes Sep 15, 2020
surajssd
surajssd previously approved these changes Sep 15, 2020
@surajssd
Copy link
Member

AKS didn't start on this :-\

@knrt10
Copy link
Member

knrt10 commented Sep 15, 2020

That's weird because no other process is running.

As this is the only place which use those functions.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
As it is not used anywhere.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
As they provide the same functionality, but PollImmediate has more
obvious interface (as you don't mix duration with number of retries).

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This code is no loger used so can be removed.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
3 minutes seems like an arbitrary time to wait for cluster to become
ready, so let's make it at least round to 5 minutes.

As currently we have issues, that nodes do not become ready within 3
minutes timeframe, let's give them max 10 minutes to converge, which
should be sufficient in most cases, as sometimes it may take up to 5
minutes for node to become ready.

Closes #940.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
@invidian
Copy link
Member Author

Rebased and push again to poke CI.

@invidian invidian merged commit 9033e47 into master Sep 15, 2020
@invidian invidian deleted the invidian/more-cleanup branch September 15, 2020 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/cleanup Cleanup issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants