-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new application graph concept page (#642)
* Add application graph page * Remove app-model page * Update spelling * Address feedback * Apply suggestions from code review Co-authored-by: Will <[email protected]> * Update app graph paragraph --------- Co-authored-by: Will <[email protected]>
- Loading branch information
1 parent
6052087
commit ce545d2
Showing
22 changed files
with
93 additions
and
179 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -420,4 +420,5 @@ gg | |
kubernetesMetadata | ||
daprSidecar | ||
manualScaling | ||
roadmap | ||
Balancer |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,82 @@ | ||
--- | ||
type: docs | ||
title: Radius Application Graph | ||
linkTitle: Application graph | ||
description: Learn how the Radius application graph allows you to model your entire application | ||
weight: 200 | ||
--- | ||
|
||
## Radius applications | ||
|
||
Radius offers an [application resource]({{< ref "/author-apps/application" >}}) which teams can use to define and deploy their entire application, including all of the compute, relationships, and infrastructure that make up the application. Since the graph of relationships between deployed resources is much more descriptive than a basic list of resources, the Radius application graph can automate complex deployment tasks and enable rich visualization experiences. | ||
|
||
<img src="application.png" alt="A diagram showing an application and all it's resources" width=400px > | ||
|
||
## Graphs are better than lists | ||
|
||
Within an application deployed with Radius, developers can express both the resources (_containers, databases, message queues, etc._), as well as all the relationships between them. This forms the Radius application graph. This graph is powerful because it allows Radius to understand the relationships between resources, and automate the deployment and configuration of your application. Plus, it allows you to visualize your application in a way that is more intuitive than a list of resources. | ||
|
||
<img src="list-to-graph.png" alt="A diagram showing the move from a set of infrastructure lists to a graph of resources" width=600px > | ||
|
||
## Automate your application deployment | ||
|
||
Because Radius now has all the relationships and requirements of an application, it can be deployed and configured automatically. Developers no longer need to specify all the identity, networking, or other configuration that is normally required, and operators don’t need to write custom deployment scripts. | ||
|
||
For example, if you want a container to read from an Azure Storage Account without using Radius, this normally requires creating managed identities, RBAC roles, identity federation, Kubernetes service accounts, and more. With Radius, developers can define a single connection from their container to a Storage Account, and Radius sets up all the required configuration automatically. | ||
|
||
<img src="graph-automation.png" alt="A diagram showing a connection from a Radius container to an Azure storage account resulting in managed identities, role-based access control, and CSI drivers." width=600px > | ||
|
||
## Self-documenting applications | ||
|
||
The Radius application graph also allows your application to be self-documenting, where developers and operators can query and reason about the same application definition. Instead of multiple views of logs, infrastructure, and code, Radius provides a single source of truth for your application. | ||
|
||
<img src="dashboard.png" alt="A mockup of a dashboard UI showing an application, its resources, and its connections" width=700px > | ||
|
||
> **Note:** A Radius dashboard is still on the roadmap, but in the meantime you can use the [Radius API]({{< ref api-concept >}}) to build your own visual experiences today. | ||
## Mine the app graph API | ||
|
||
The Radius application graph is also exposed as an API, allowing you to build your own visualizations, workflows, and more on top of Radius. Learn more in the [API docs]({{< ref api-concept >}}). | ||
|
||
For example, I can get the status of my `frontend` container, and get its definition and its connections to other resources: | ||
|
||
```bash | ||
GET /planes/radius/local/resourceGroups/default/providers/Applications.Core/containers/frontend | ||
``` | ||
|
||
``` | ||
{ | ||
"name": "frontend", | ||
"type": "Applications.Core/containers" | ||
"id": "/planes/radius/local/resourceGroups/default/providers/Applications.Core/containers/frontend", | ||
"properties": { | ||
"container": { | ||
"image": "nginx:latest", | ||
"env": {...}, | ||
"ports": {...}, | ||
}, | ||
"environment": "myenvironment", | ||
"application": "myapp" | ||
}, | ||
"connections": { | ||
"backend": { | ||
"source": "/planes/radius/local/resourceGroups/default/providers/Applications.Core/containers/backend", | ||
}, | ||
"storage": { | ||
"source": "/planes/azure/subscriptions/ee3dbd5a-68b4-4eea-bc48-f064009e6ff9/resourceGroups/myrg/providers/Microsoft.Storage/storageAccounts/mystorage", | ||
"iam": { | ||
"kind": "azure", | ||
"roles": [ | ||
"Storage Blob Data Reader" | ||
] | ||
} | ||
} | ||
}, | ||
} | ||
``` | ||
|
||
## Next step | ||
|
||
Now that you have an understanding of the Radius app graph, learn how you can deploy Radius applications to prepared landing zones with Radius Environments: | ||
|
||
{{< button text="Radius Environments" page="environments-concept" color="success" >}} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
35 changes: 0 additions & 35 deletions
35
docs/content/concepts/appmodel-concept/snippets/app-connections.bicep
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
docs/content/concepts/appmodel-concept/snippets/app-resources.bicep
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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