diff --git a/daprdocs/content/en/concepts/faq/_index.md b/daprdocs/content/en/concepts/faq/_index.md new file mode 100644 index 00000000000..430eebd426d --- /dev/null +++ b/daprdocs/content/en/concepts/faq/_index.md @@ -0,0 +1,7 @@ +--- +type: docs +title: "Frequently asked questions and answers" +linkTitle: "FAQs" +weight: 1100 +description: "Learn more about Dapr concepts through frequently asked questions" +--- diff --git a/daprdocs/content/en/concepts/faq.md b/daprdocs/content/en/concepts/faq/faq.md similarity index 97% rename from daprdocs/content/en/concepts/faq.md rename to daprdocs/content/en/concepts/faq/faq.md index 5e4bdf7361d..34d37823f40 100644 --- a/daprdocs/content/en/concepts/faq.md +++ b/daprdocs/content/en/concepts/faq/faq.md @@ -1,8 +1,8 @@ --- type: docs -title: "Frequently asked questions and answers" -linkTitle: "FAQs" -weight: 1000 +title: "General Dapr questions and answers" +linkTitle: "General questions" +weight: 100 description: "Common questions asked about Dapr" --- diff --git a/daprdocs/content/en/concepts/service-mesh.md b/daprdocs/content/en/concepts/faq/service-mesh.md similarity index 99% rename from daprdocs/content/en/concepts/service-mesh.md rename to daprdocs/content/en/concepts/faq/service-mesh.md index 0e3c4cf9ef3..272d16b811b 100644 --- a/daprdocs/content/en/concepts/service-mesh.md +++ b/daprdocs/content/en/concepts/faq/service-mesh.md @@ -2,7 +2,7 @@ type: docs title: "Dapr and service meshes" linkTitle: "Service meshes" -weight: 900 +weight: 200 description: > How Dapr compares to and works with service meshes --- diff --git a/daprdocs/content/en/concepts/isolation-concept.md b/daprdocs/content/en/concepts/isolation-concept.md new file mode 100644 index 00000000000..38c26084cdb --- /dev/null +++ b/daprdocs/content/en/concepts/isolation-concept.md @@ -0,0 +1,45 @@ +--- +type: docs +title: "Isolation" +linkTitle: "Isolation" +weight: 700 +description: How Dapr provides namespacing and isolation +--- + +Dapr namespacing provides isolation and multi-tenancy across many capabilities, giving greater security. Typically applications and components are deployed to namespaces to provide isolation in a given environment, such as Kubernetes. + +Dapr supports namespacing in service invocation calls between applications, when accessing components, sending pub/sub messages in consumer groups, and with actors type deployments as examples. Namespacing isolation is supported in both self-hosted and Kubernetes modes. + +To get started, create and configure your namespace. + +{{< tabs "Self-Hosted" "Kubernetes">}} + +{{% codetab %}} + +In self-hosted mode, specify the namespace for a Dapr instance by setting the `NAMESPACE` environment variable. + +{{% /codetab %}} + +{{% codetab %}} + +On Kubernetes, create and configure the namespace: + +```bash +kubectl create namespace namespaceA +kubectl config set-context --current --namespace=namespaceA +``` + +Then deploy your applications into this namespace. + +{{% /codetab %}} + +{{< /tabs >}} + +Learn how to use namespacing throughout Dapr: + +- [Service Invocation namespaces]({{< ref service-invocation-namespaces.md >}}) +- [How to: Set up pub/sub namespace consumer groups]({{< ref howto-namespace.md >}}) +- Components: + - [How to: Configure pub/sub components with multiple namespaces]({{< ref pubsub-namespaces.md >}}) + - [Scope components to one or more applications]({{< ref component-scopes.md >}}) +- [Namespaced actors]({{< ref namespaced-actors.md >}}) \ No newline at end of file diff --git a/daprdocs/content/en/concepts/terminology.md b/daprdocs/content/en/concepts/terminology.md index 9901f966ffe..c75af587b0c 100644 --- a/daprdocs/content/en/concepts/terminology.md +++ b/daprdocs/content/en/concepts/terminology.md @@ -2,7 +2,7 @@ type: docs title: "Dapr terminology and definitions" linkTitle: "Terminology" -weight: 900 +weight: 1000 description: Definitions for common terms and acronyms in the Dapr documentation ---