Skip to content

[OSDOCS-19880]Change nodeSelector key/pair in postgres deployment example#112138

Open
reivaj84 wants to merge 2 commits into
openshift:mainfrom
reivaj84:osdocs-19880-nodeselector-example-change
Open

[OSDOCS-19880]Change nodeSelector key/pair in postgres deployment example#112138
reivaj84 wants to merge 2 commits into
openshift:mainfrom
reivaj84:osdocs-19880-nodeselector-example-change

Conversation

@reivaj84
Copy link
Copy Markdown
Contributor

@reivaj84 reivaj84 commented May 22, 2026

Change nodeSelector key/pair in postgres deployment example. machine-family label doesn't exists in a fresh ocp 4.22 install on gcp

Version(s):

OpenShift 4.22-rc4

Issue:

https://redhat.atlassian.net/browse/OSDOCS-19880

Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

The "Example deployment YAML file" mentioned in https://content-preview.docs.redhat.com/en/documentation/openshift_container_platform/4.22/html/storage/using-container-storage-interface-csi#persistent-storage-csi-gcp-hyperdisk-storage-pools-procedure_persistent-storage-csi-gcp-pd for the postgres deployment ask the user to use the 'cloud.google.com/machine-family: n4' as the label for the nodeSelector field. In a fresh OCP 4.22-rc4 install , there is no label.

In this case, we can use the label 'node.kubernetes.io/instance-type' with value 'n4-standard-4'.
This allows the deployment to start, otherwise it will get stuck in pending waiting for a node with that specific label.

…-family label doesn't exists in a fresh ocp 4.22 install on gcp
@openshift-ci openshift-ci Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 22, 2026
@ocpdocs-previewbot
Copy link
Copy Markdown

ocpdocs-previewbot commented May 22, 2026

claimName: my-pvc <2>
----
<1> Specifies the machine family. In this example, it is `n4`.
<1> Specifies the instance type. In this example, it is `n4-standard-4`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] AsciiDocDITA.CalloutList: Callouts are not supported in DITA.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 22, 2026

@reivaj84: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants