-
Notifications
You must be signed in to change notification settings - Fork 34
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
OCPBUGS-32058: docs - add example of private dns zone for Azure provider #217
base: main
Are you sure you want to change the base?
Conversation
alebedev87
commented
Apr 11, 2024
•
edited
Loading
edited
- Adds an example of the usage of the private dns zone for the Azure provider
- Addresses Azure Private DNS handling #197
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
93050e1
to
2d60480
Compare
Hence marking as verified |
/label qe-approved |
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/assign |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/lifecycle frozen |
@candita: The In response to this:
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. |
docs/azure-openshift.md
Outdated
@@ -37,10 +37,15 @@ openshift-console downloads downloads-openshift-console.apps. | |||
|
|||
6. Get the list of dns zones w.r.t your resource group to find the one which corresponds to the previously found route’s domain: | |||
```bash | |||
$ az network dns zone list --resource-group "${RESOURCE_GROUP}" | |||
$ ZONE_NAME=$(az network dns zone list -g "${RESOURCE_GROUP}" -o tsv --query '[0].name') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a guarantee that there is one and only one dns zone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there can be many zones. The previous version of the command was a better suit. I just wanted to set a ZONE_NAME
environment variable to use it down the doc. Let me update the command to make sure only one zone is selected:
$ az network dns zone list -g "${RESOURCE_GROUP}" -o tsv --query '[].name'
example.com
anotherdomain.net
test-azure.qe.azure.devcluster.openshift.com
$ ZONE_NAME="test-azure.qe.azure.devcluster.openshift.com"
8. Check the records created for `console` routes: | ||
8. Check the records created for the routes: | ||
```bash | ||
$ az network dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" | grep console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To match the removal of "console" from the instructions?
$ az network dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" | grep console | |
$ az network dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understood which "removal" you were referring to.
az network dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}"
command is supposed to list all DNS records of a given zone. ExternalDNS (the way it's configured in this doc) will try to create A and TXT records for any route of the cluster which may be a lot. That's why I though that filtering by console
pattern using grep
could simplify the output.
```bash | ||
$ az network dns record-set list -g "${RESOURCE_GROUP}" -z test-azure.qe.azure.devcluster.openshift.com | grep console | ||
$ az network private-dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" | grep console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ az network private-dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" | grep console | |
$ az network private-dns record-set list -g "${RESOURCE_GROUP}" -z "${ZONE_NAME}" |
@alebedev87 in the description you mention a mistake that was found, but that command still exists with the old syntax:
Otherwise, just some minor clarifications needed. |
/remove-lifecycle stale |
6c3ea0f
to
31d94af
Compare
@alebedev87: This pull request references Jira Issue OCPBUGS-32058, which is invalid:
Comment Retaining the jira/valid-bug label as it was manually added. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
31d94af
to
204ed12
Compare
As a matter of fact |
@alebedev87: all tests passed! Full PR test history. Your PR dashboard. 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. |