-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add new application graph concept page #642
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9cb6e1f
Add application graph page
AaronCrawfis db805dc
Remove app-model page
AaronCrawfis ab05f64
Update spelling
AaronCrawfis 31f8b81
Address feedback
AaronCrawfis ae70c79
Merge branch 'v0.22' into aacrawfi/app-graph
AaronCrawfis 5707f61
Apply suggestions from code review
AaronCrawfis 970b752
Update app graph paragraph
AaronCrawfis 639c7b1
Merge branch 'aacrawfi/app-graph' of https://github.com/project-radiu…
AaronCrawfis a4d3d99
Merge branch 'v0.22' into aacrawfi/app-graph
AaronCrawfis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do we want to include an example of
rad app connections
as well now that it's checked in?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.
Working on a connections-specific page that I'll definitely include that in. Once complete I'll also link to that from this page.