Components
Nuon supports several different component types which allow you to connect your existing devops automation, infrastructure as code and containers to your app.
What is a Component?
A component represents a part of your application, Nuon supports the following components:
- Docker - any Dockerfile that can be built.
- Container Images - any prebuilt OCI image.
- Helm Charts - any Helm chart located in a repository.
- Terraform - any Terraform module.
- Jobs - any script that can be executed using an OCI image.
Setting up an application requires definining and testing your application configuration.
Component Management
The cli exposes many operational commands to manage components.
To see all available commands, run: nuon components --help
.
Pinning a Component
You can pin a component, which will set it’s ID as a default argument to all component commands. This is helpful to avoid
having to pass -c
to each command.
To show the currently pinned component:
Component Management Commands
Commands for working with components
Get a component
List components - List components for an app.
Delete a component - delete a component
Print a component config - print the latest configuration for a component.
Component Builds
All components must be built before releasing. The release commands support an -auto-build
flag which will trigger a
build.
Create a build - create a build using the latest component configuration.
List builds - list builds for a component.
Get a build - print out build details.
Logs - show logs for a build.
Print Plan - print a build plan with configuration for the build.