Tribefire v1alpha1 API group
Packages:
tribefire.cloud
Package v1alpha1 contains API Schema definitions for the tribefire v1alpha1 API group
Resource Types:BackendConfiguration
(Appears on: TribefireSpec)
This element is used to set the Tribefire backend as well as
the configuration parameters for the chosen Tribefire backend.
Currently, etcd
and activemq
are supported
Field | Description |
---|---|
type
MessagingBackend
|
The backend for Tribefire |
parameters
[]BackendParam
|
Configuration properties for the chosen Tribefire backend, e.g. the |
BackendParam
(Appears on: BackendConfiguration)
This element is used to set specific properties for the chosen Tribefire backend, e.g. URLs and credentials
Field | Description |
---|---|
name
string
|
name of the backend property |
value
string
|
the value of the backend configuration property
Examples: |
ComponentStatus
(string
alias)
(Appears on: TribefireComponentStatus)
Description
The overall status of the related component, can be used as an indicator on health/availability of the component.degraded
means “partially available”, i.e. when not all replicas of a component are available.
Possible Values
available
, degraded
, unavailable
ComponentStatusChangeReason
(string
alias)
ComponentType
(string
alias)
(Appears on: TribefireComponent)
Description
This identified the type of the component, that could be for instancecontrol-center
or modeler
Possible Values
services
, control-center
, modeler
, explorer
, web-reader
, cartridge
CustomEnvironment
(map[string]string
alias)
Description
EveryTribefireRuntimeComponent
can have a custom environment that is structured the same as the standard env
section on a container
. Use it to control the environment variables that a TribefireRuntimeComponent
container
sees.
Example
- name: "PRODUCTION_MODE"
value: "true"
DatabaseSpec
(Appears on: TribefireSpec)
this spec is used to attach external/custom databases the DatabaseDescriptor is used to refer to the existing database, e.g. braintribe-databases:europe-west3:general-purpose=tcp:5555
Field | Description |
---|---|
name
string
|
a symbolic name to refer to this database. |
type
DatabaseType
|
The type of this database. If type is |
instanceDescriptor
string
|
The descriptor/connection string that identifies this database. This can either be a CloudSQL instance
descriptor or a JDBC url. |
envPrefixes
[]string
|
For every database described by a
credentialsSecretRef as well as the instanceDescriptor Example: DOCUMENTS
|
databaseName
string
|
The name of the database |
serviceAccountSecretRef
Kubernetes core/v1.SecretReference
|
This |
serviceAccountSecretKey
string
|
This points to the key of the |
credentialsSecretRef
Kubernetes core/v1.SecretReference
|
This |
DatabaseType
(string
alias)
(Appears on: DatabaseSpec, TribefireSpec)
Description
The type of the referenced database. If type iscloudsql
, a Google CloudSQL database will be provisioned for this
TribefireRuntime. If type is local
, a local postgresql container will be bootstrapped.
Possible Values
cloudsql
, local
Example
cloudsql
DcsaConfig
(Appears on: TribefireSpec)
The configuration element for DCSA support
Field | Description |
---|---|
databaseUrl
string
|
The connection string that identifies this database. Currently only JDBC URLs are supported |
credentialsSecretRef
Kubernetes core/v1.SecretReference
|
This |
DeploymentPhase
(string
alias)
(Appears on: TribefireStatus)
Description
The current phase of the TribefireRuntime deployment. This can be used to determine how far the deployment has progressed, and can also be used to understand what went wrong. For instance, if a TribefireRuntime deployment does not progress any more and is in phaseDatabaseBootstrap
, it might
indicate that something went wrong during the provisioning of the database.
Possible Values
TribefireValidation
, DatabaseBootstrap
, SecretBootstrap
, BackendBootstrap
, ComponentDeployment
TribefireRunning
MessagingBackend
(string
alias)
(Appears on: BackendConfiguration)
Description
The backend that should be used for messaging, locking and leadership. Please note that in case ofetcd
, you must
take care of the provisioning of the etcd cluster yourself. ActiveMQ will be deployed by the operator, every
TribefireRuntime gets its own ActiveMQ instance.
Possible Values
activemq
, etcd
Default
etcd
TribefireComponent
(Appears on: TribefireSpec)
Field | Description |
---|---|
name
string
|
the name of this component |
type
ComponentType
|
type of this component, e.g. |
image
string
|
Docker image to be used for this component. |
imageTag
string
|
The image tag for the referenced Docker image |
logLevel
string
|
The loglevel for this component. |
apiPath
string
|
absolute path (starting with |
replicas
int32
|
number of replicas for this component |
publicUrl
string
|
The publicly accessible URL for this component |
env
[]Kubernetes core/v1.EnvVar
|
The environment for this component. Just a standard |
logJson
string
|
Use JSON logging for this component |
resources
Kubernetes core/v1.ResourceRequirements
|
The resource requirements for this component. Standard |
labels
map[string]string
|
Set of labels that should be attached to this component |
protocol
string
|
The protocol that should be used for the public URL |
persistentVolumes
[]TribefireVolume
|
list of volumes that should be attached to this component. Should be used together with |
enableJpda
string
|
enables remote debugging capabilities via JPDA |
customHealthCheckPath
string
|
can be used to specify a custom health check endpoint URI. The default is |
TribefireComponentStatus
(Appears on: TribefireStatus)
status information about a specific component
Field | Description |
---|---|
name
string
|
name of this component |
status
ComponentStatus
|
status of this component |
urls
[]string
|
the URL(s) under which this component is reachable from the outside (via the ingress) |
TribefireRuntime
Field | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata
Kubernetes meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||
spec
TribefireSpec
|
|
||||||||||||
status
TribefireStatus
|
TribefireRuntimeCondition
(Appears on: TribefireStatus)
DeploymentCondition describes the state of a deployment at a certain point.
Field | Description |
---|---|
type
TribefireRuntimeConditionType
|
Type of deployment condition. |
status
Kubernetes core/v1.ConditionStatus
|
Status of the condition, one of True, False, Unknown. |
lastUpdateTime
Kubernetes meta/v1.Time
|
The last time this condition was updated. |
lastTransitionTime
Kubernetes meta/v1.Time
|
Last time the condition transitioned from one status to another. |
reason
string
|
The reason for the condition’s last transition. |
message
string
|
A human readable message indicating details about the transition. |
TribefireRuntimeConditionType
(string
alias)
(Appears on: TribefireRuntimeCondition)
Description
These are valid conditions of a deployment. A condition is a standard Kubernetes concept that can be used to track lifecycle changes, e.g. when a component gets available or unavailable. For instance, you cankubectl wait --for=condition=Available
to block until the TribefireRuntime is fully available.
Possible Values
Available
, EtcdAvailable
, Progressing
TribefireSpec
(Appears on: TribefireRuntime)
The top level description of a TribefireRuntime
. Describes the list of desired components, which backend to use
and more.
Field | Description |
---|---|
domain
string
|
the domain name under which this TribefireRuntime will be reachable (via the Ingress). For instance,
if the domain is set to |
databaseType
DatabaseType
|
The type of the database for this TribefireRuntime |
databases
[]DatabaseSpec
|
Any additional (external) database that the runtime might need, e.g. Documents database |
backend
BackendConfiguration
|
The backend configuration for this TribefireRuntime, e.g. configuration for |
dcsaConfig
DcsaConfig
|
config element for DCSA support |
components
[]TribefireComponent
|
The list of components for this TribefireRuntime, i.e. |
TribefireStatus
(Appears on: TribefireRuntime)
High level status information for this TribefireRuntime
Field | Description |
---|---|
error
bool
|
error status indicator. If set to |
status
string
|
a descriptive status message, such as |
phase
DeploymentPhase
|
the |
conditions
[]TribefireRuntimeCondition
|
the status conditions for this TribefireRuntime. For details see the docs on the |
components
[]TribefireComponentStatus
|
The list of |
observedGeneration
int64
|
This field is used to track changes to the |
created
string
|
Timestamp (ISO8601) when this TribefireRuntime was created. |
updated
string
|
Timestamp (ISO8601) when this TribefireRuntime was updated. |
TribefireVolume
(Appears on: TribefireComponent)
a TribefireVolume is used to attach persistent storage to a component
Field | Description |
---|---|
name
string
|
symbolic name of the volume |
volumeClaimName
string
|
The name of the underlying |
volumeMountPath
string
|
The mount path where the PVC should be available inside the Tribefire pods. |
Generated with gen-crd-api-reference-docs
on git commit a3a05848
.