Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Use selectors for StatefulSet lookups #278

Merged
merged 2 commits into from
Jun 8, 2022
Merged

Use selectors for StatefulSet lookups #278

merged 2 commits into from
Jun 8, 2022

Conversation

keithpine
Copy link
Contributor

@keithpine keithpine commented Jun 7, 2022

Use new selector to get statefulset and pod lists.

Signed-off-by: Keith Pine <[email protected]>
@keithpine keithpine requested a review from a team as a code owner June 7, 2022 21:28
@cla-bot cla-bot bot added the cla-signed label Jun 7, 2022
@keithpine keithpine changed the title Fix start script Use selectors for StatefulSet lookups Jun 7, 2022
@keithpine
Copy link
Contributor Author

Not really a necessary change since the problem was fixed elsewhere, but it's a good a time as any to switch to using selectors instead of grep, since the resource type has also changed.

Copy link
Contributor

@osowski osowski left a comment

Choose a reason for hiding this comment

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

lgtm

@osowski osowski merged commit 72df735 into Seagate:CORTX-28968_server_pod_scale_out Jun 8, 2022
osowski added a commit that referenced this pull request Jun 8, 2022
* CORTX-28968 - Initial pass at STS changes needed

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Initial pass at STS changes needed

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Final draft with e2e impl, passing FQDN all the way through

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Draft revision for server pod scale with recent cortx-k8s changes

Signed-off-by: Rick Osowski <[email protected]>

* (SQUASH) Houeskeeping updates

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - merge in integration

Signed-off-by: Rick Osowski <[email protected]>

* Use release namespace for server domain names (#269)

Signed-off-by: Keith Pine <[email protected]>

Co-authored-by: Rick O <[email protected]>

* CORTX-28968 - Convert bash defaults to yq queries

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Convert bash defaults to yq queries

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (1/n)

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (2/n)

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (3/n)

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (4/n)

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (5/n)

Signed-off-by: Rick Osowski <[email protected]>

* Fix status script for StatefulSet, label updates, etc. (#277)

* Remove unused loadbal service

Signed-off-by: Keith Pine <[email protected]>

* Changes

Signed-off-by: Keith Pine <[email protected]>

* Rename headless service file

Signed-off-by: Keith Pine <[email protected]>

* Headless service `app` label

Signed-off-by: Keith Pine <[email protected]>

* Update pvc checks in status script

Signed-off-by: Keith Pine <[email protected]>

* Update app label

Signed-off-by: Keith Pine <[email protected]>

* Fix solution_stubl.yaml lint failure

Signed-off-by: Keith Pine <[email protected]>

* Fix shellcheck lint errors

Signed-off-by: Keith Pine <[email protected]>

* Fix chart lint error

Signed-off-by: Keith Pine <[email protected]>

* Fix chart docs lint error

Signed-off-by: Keith Pine <[email protected]>

* CORTX-28968 - Integrating changes for CORTX-30726 (6/n)

Signed-off-by: Rick Osowski <[email protected]>

* Use selectors for StatefulSet lookups (#278)

Fix start script

Signed-off-by: Keith Pine <[email protected]>

* CORTX-28968 - PR review code changes

Signed-off-by: Rick Osowski <[email protected]>

* Update charts/cortx/templates/_cluster.yaml.tpl

Co-authored-by: Keith Pine <[email protected]>
Signed-off-by: Rick Osowski <[email protected]>

* Update charts/cortx/templates/_cluster.yaml.tpl

Co-authored-by: Keith Pine <[email protected]>
Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - PR review code changes

Signed-off-by: Rick Osowski <[email protected]>

* CORTX-28968 - Updated solution.example.yaml with required build number

Signed-off-by: Rick Osowski <[email protected]>

* Update chart appVersion

Signed-off-by: Keith Pine <[email protected]>

Co-authored-by: Keith Pine <[email protected]>
@keithpine keithpine deleted the CORTX-28968_start-cluster-fix branch June 8, 2022 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants