-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated name resolution docs (#1576)
* Add consul references * Fix typo Add a missing word * Clarify state management examples * Added table to show Kubernetes options When I read this doc it was unclear that the cert could be provided as a secret. The only table on the original version showed `spnCertificateFile` as a required option. I added a second table to make it clear that in Kubernetes there is a `spnCertificate` option that does not require a file on disk. * incorporating feedback * Update daprdocs/content/en/reference/components-reference/supported-secret-stores/azure-keyvault.md * Update daprdocs/content/en/reference/components-reference/supported-secret-stores/azure-keyvault.md * Fix self-hosted docs * Remove name-resolution reference * Add other name resolution providers * Update service invocation docs * Remove whitespace * Update service-invocation-overview.md Fixed typo and added a sentence on Consul * Update setup-nr-consul.md Minor updates * Address comments * Fix code formatting Co-authored-by: Esteban Luchsinger <[email protected]> Co-authored-by: Donovan Brown <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
- Loading branch information
1 parent
c227603
commit 231b0e8
Showing
8 changed files
with
102 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...nt/en/reference/components-reference/supported-name-resolution/nr-kubernetes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
type: docs | ||
title: "Kubernetes DNS name resolution provider spec" | ||
linkTitle: "Kubernetes DNS" | ||
description: Detailed information on the Kubernetes DNS name resolution component | ||
--- | ||
|
||
## Configuration format | ||
|
||
Kubernetes DNS name resolution is configured automatically in [Kubernetes mode]({{< ref kubernetes >}}) by Dapr. There is no configuration needed to use Kubernetes DNS as your name resolution provider. | ||
|
||
## Behaviour | ||
|
||
The component resolves target apps by using the Kubernetes cluster's DNS provider. You can learn more in the [Kubernetes docs](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/). | ||
|
||
## Spec configuration fields | ||
|
||
Not applicable, as Kubernetes DNS is configured by Dapr when running in Kubernetes mode. | ||
|
||
## Related links | ||
|
||
- [Service invocation building block]({{< ref service-invocation >}}) | ||
- [Kubernetes DNS docs](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) |
29 changes: 29 additions & 0 deletions
29
.../content/en/reference/components-reference/supported-name-resolution/nr-mdns.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
type: docs | ||
title: "mDNS name resolution provider spec" | ||
linkTitle: "mDNS" | ||
description: Detailed information on the mDNS name resolution component | ||
--- | ||
|
||
## Configuration format | ||
|
||
Multicast DNS (mDNS) is configured automatically in [self-hosted mode]({{< ref self-hosted >}}) by Dapr. There is no configuration needed to use mDNS as your name resolution provider. | ||
|
||
## Behaviour | ||
|
||
The component resolves target apps by using the host system's mDNS service. You can learn more about mDNS [here](https://en.wikipedia.org/wiki/Multicast_DNS). | ||
|
||
### Troubleshooting | ||
|
||
In some cloud provider virtual networks, such as Microsoft Azure, mDNS is not available. Use an alternate provider such as [HashiCorp Consul]({{< ref setup-nr-consul.md >}}) instead. | ||
|
||
On some enterprise-managed systems, mDNS may be disabled on macOS if a network filter/proxy is configured. Check with your IT department if mDNS is disabled and you are unable to use service invocation locally. | ||
|
||
## Spec configuration fields | ||
|
||
Not applicable, as mDNS is configured by Dapr when running in self-hosted mode. | ||
|
||
## Related links | ||
|
||
- [Service invocation building block]({{< ref service-invocation >}}) | ||
- [mDNS reference](https://en.wikipedia.org/wiki/Multicast_DNS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.