Overview: Kubernetes resources
Deploy and connect to Kubernetes resources in your application
Categories:
Radius Applications are able to connect to and leverage Kubernetes resources.
Resource library
Visit GitHub to reference the Kubernetes resource.
Kubernetes resource libraryExample
extension kubernetes with {
kubeConfig: ''
namespace: 'default'
}
extension radius
param environment string
resource secret 'core/Secret@v1' = {
metadata: {
name: 'mysecret'
}
stringData: {
key: 'value'
}
}
resource app 'Applications.Core/applications@2023-10-01-preview' = {
name: 'myapp'
properties: {
environment: environment
}
}
resource container 'Applications.Core/containers@2023-10-01-preview' = {
name: 'mycontainer'
properties: {
application: app.id
container: {
image: 'nginx:latest'
env: {
SECRET: {
value: base64ToString(secret.data.key)
}
}
}
}
}
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.