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 PodDisruptionBudget for NodePools #547

Merged
merged 80 commits into from
Aug 30, 2023
Merged

Add PodDisruptionBudget for NodePools #547

merged 80 commits into from
Aug 30, 2023

Conversation

idanl21
Copy link
Collaborator

@idanl21 idanl21 commented Jun 26, 2023

for #391

opensearch-operator/api/v1/opensearch_types.go Outdated Show resolved Hide resolved
opensearch-operator/controllers/cluster_test.go Outdated Show resolved Hide resolved
opensearch-operator/api/v1/opensearch_types.go Outdated Show resolved Hide resolved
}

}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This needs an else to delete a potentially existing PDB if enable is set to false

Copy link
Collaborator

Choose a reason for hiding this comment

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

Else case is still missing

Copy link
Contributor

Choose a reason for hiding this comment

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

Deletion is still not handled, is it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Else with deletion is not handled

opensearch-operator/pkg/reconcilers/cluster.go Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
opensearch-operator/controllers/suite_test_helpers.go Outdated Show resolved Hide resolved
opensearch-operator/pkg/reconcilers/cluster.go Outdated Show resolved Hide resolved
@@ -4334,6 +4334,70 @@ spec:
additionalProperties:
type: string
type: object
pdb:
Copy link
Collaborator

Choose a reason for hiding this comment

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

The change also needs to be copied into the helm chart

Copy link
Collaborator

Choose a reason for hiding this comment

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

CRD changes have not been copied to helm chart

Copy link
Collaborator

Choose a reason for hiding this comment

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

Changes have still not been copied to the helm chart

@swoehrl-mw swoehrl-mw changed the title Add pdb Add PodDisruptionBudget for NodePools Jun 27, 2023
@swoehrl-mw swoehrl-mw linked an issue Jun 27, 2023 that may be closed by this pull request
@idanl21 idanl21 requested a review from swoehrl-mw July 3, 2023 14:46
opensearch-operator/controllers/cluster_test.go Outdated Show resolved Hide resolved
@@ -4334,6 +4334,70 @@ spec:
additionalProperties:
type: string
type: object
pdb:
Copy link
Collaborator

Choose a reason for hiding this comment

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

CRD changes have not been copied to helm chart

opensearch-operator/examples/opensearch-cluster.yaml Outdated Show resolved Hide resolved
opensearch-operator/pkg/reconcilers/cluster.go Outdated Show resolved Hide resolved
}

}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Else case is still missing

opensearch-operator/pkg/reconcilers/cluster.go Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
idanl21 and others added 3 commits July 4, 2023 11:44
docs/userguide/main.md Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
opensearch-operator/examples/opensearch-cluster.yaml Outdated Show resolved Hide resolved
opensearch-operator/pkg/helpers/helpers.go Outdated Show resolved Hide resolved
}

}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Else with deletion is not handled

opensearch-operator/pkg/reconcilers/upgradeChecker_test.go Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
docs/userguide/main.md Outdated Show resolved Hide resolved
@@ -4334,6 +4334,70 @@ spec:
additionalProperties:
type: string
type: object
pdb:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Changes have still not been copied to the helm chart

@swoehrl-mw swoehrl-mw merged commit c26cdd1 into main Aug 30, 2023
6 checks passed
@swoehrl-mw swoehrl-mw deleted the add_pdb branch August 30, 2023 12:57
dbason pushed a commit to dbason/opensearch-k8s-operator that referenced this pull request Sep 11, 2023
for opensearch-project#391

---------

Signed-off-by: Sebastian Woehrl <[email protected]>
Co-authored-by: Sebastian Woehrl <[email protected]>
FatmaBouzghaia pushed a commit to FatmaBouzghaia/opensearch-k8s-operator that referenced this pull request Dec 5, 2023
for opensearch-project#391

---------

Signed-off-by: Sebastian Woehrl <[email protected]>
Co-authored-by: Sebastian Woehrl <[email protected]>
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.

The operator should create a Pod Disruption Budget
3 participants