Add machine and labels explanation#306
Add machine and labels explanation#306openshift-merge-robot merged 2 commits intoopenshift:masterfrom
Conversation
|
|
||
| You can create a new machine by applying a manifest representing an instance of the machine CRD: | ||
| ``` | ||
| apiVersion: machine.openshift.io/v1beta1 |
There was a problem hiding this comment.
Link to authoritative source instead of inline? This information is possible to go stale.
| You can set other labels to provide a convenient way for users and consumers to retrieve groups of machines: | ||
| ``` | ||
| machine.openshift.io/cluster-api-machine-role: worker | ||
| machine.openshift.io/cluster-api-machine-type: worker |
There was a problem hiding this comment.
qq @enxebre : could users set custom labels like foo: bar or it always needs to follow the above convention machine.openshift.io/cluster-api-machine-role such that consumers can know how to filter?
There was a problem hiding this comment.
@DanyC97 these are arbitrary labels in the sense that the core controller does not use them today. You might still want to use the machine.openshift.io/ namespace for consistency and searchability. However you could change them or/and add new labels at your convenience
There was a problem hiding this comment.
thank you @enxebre for taking the time to respond 👍
/retest |
/retest |
|
/lgtm |
|
/approve |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
7 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@enxebre: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
Add machine and labels explanation