Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add anti-affinity to Tenants #535

Merged
merged 1 commit into from Mar 22, 2021
Merged

Add anti-affinity to Tenants #535

merged 1 commit into from Mar 22, 2021

Conversation

nitisht
Copy link
Contributor

@nitisht nitisht commented Mar 16, 2021

This PR adds a flag called --enable-host-sharing to the
kubectl plugin.

With this change, the plugin will add anti-affinity
rules to the tenant by default. To disable this, set this flag
to false.

harshavardhana
harshavardhana previously approved these changes Mar 16, 2021
@wlan0
Copy link
Contributor

wlan0 commented Mar 17, 2021

just one comment about the flag name. LGTM otherwise

wlan0
wlan0 previously approved these changes Mar 17, 2021
@wlan0
Copy link
Contributor

wlan0 commented Mar 17, 2021

LGTM

dvaldivia
dvaldivia previously approved these changes Mar 17, 2021
@dvaldivia
Copy link
Collaborator

I think this is good, we should additionally document this for unsuspecting developer who are creating tenants on k8s clusters with one a few nodes that cannot satisfy the anti-affinity clause

@wlan0
Copy link
Contributor

wlan0 commented Mar 17, 2021

I think this is good, we should additionally document this for unsuspecting developer who are creating tenants on k8s clusters with one a few nodes that cannot satisfy the anti-affinity clause

Good point yeah, that’ll be important too. Otherwise, they wouldn’t know why their deployment isn’t working.

This PR adds a flag called --enable-host-sharing to the
kubectl plugin.

With this change, the plugin will add anti-affinity
rules to the tenant by default. To disable this, set this flag
to false.
@nitisht nitisht dismissed stale reviews from dvaldivia and wlan0 via 8418297 March 18, 2021 07:20
@nitisht
Copy link
Contributor Author

nitisht commented Mar 18, 2021

I think this is good, we should additionally document this for unsuspecting developer who are creating tenants on k8s clusters with one a few nodes that cannot satisfy the anti-affinity clause

Done

@nitisht nitisht requested review from wlan0 and dvaldivia March 18, 2021 07:20
@nitisht nitisht merged commit 7173176 into minio:master Mar 22, 2021
@nitisht nitisht deleted the anti-affinity branch March 22, 2021 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants