WIP
The following attributes are available for modifying an Okctl application.
name
A name that identifies your app.
namespace
The Kubernetes namespace where your app will live.
uri
he Docker image containing the application. image.uri and image.name is mutually exclusive. Either specify the URI or define a name of an ECR repository for which Okctl will create for you. image: uri defines where the image can be pulled from.
name
name defines the name of an ECR repository to create The subdomain of the URL your app should be available on. Example in a cluster with okctl.io s root cluster URL (as defined by primary DNS zone in the cluster declaration):
subDomain
result: okctl.okctl.io
Comment this out to avoid setting up an ingress, in other words - avoid exposing it on the internet.
port
The port your app listens on
Comment this out to avoid setting up a service (required if subDomain is specified).
prometheus
Enable Prometheus scraping of metrics.
postgres
Enable connection with a PostgreSQL database.
replicas
How many replicas of your application should we scaffold.
imagePullSecret
A Docker repository secret for pulling your image.
environment
The environment your app requires.
volumes
Volumes to mount.
ingress
Annotations for your ingress.