@Target(value={CONSTRUCTOR,TYPE}) @Retention(value=RUNTIME) public @interface KubernetesApplication
| Modifier and Type | Optional Element and Description |
|---|---|
Annotation[] |
annotations
Custom annotations to add to all resources.
|
String[] |
arguments
The arguments
|
boolean |
autoDeployEnabled
Flag to trigger the registration of the deploy hook.
|
AwsElasticBlockStoreVolume[] |
awsElasticBlockStoreVolumes
Aws elastic block store volumes to add to all containers
|
AzureDiskVolume[] |
azureDiskVolumes
Azure disk volumes to add
|
AzureFileVolume[] |
azureFileVolumes
Azure file volumes to add
|
String[] |
command
The commands
|
ConfigMapVolume[] |
configMapVolumes
ConfigMap volumues to add to all containers.
|
DeploymentStrategy |
deploymentStrategy
Specifies the deployment strategy.
|
Env[] |
envVars
Environment variables to add to all containers.
|
boolean |
expose
Controls whether the application should be exposed via Ingress
|
GitRepoVolume[] |
gitRepoVolumes
Git repo volumues to add to all containers.
|
boolean |
headless
Controls whether the generated
Service will be headless. |
String |
host
The host under which the application is going to be exposed.
|
HostAlias[] |
hostAliases
The hostAliases
|
ImagePullPolicy |
imagePullPolicy
Image pull policy.
|
String[] |
imagePullSecrets
The image pull secret
|
Container[] |
initContainers
The init containers.
|
Label[] |
labels
Custom labels to add to all resources.
|
ResourceRequirements |
limitResources
The resource limit for the application container.
|
Probe |
livenessProbe
The liveness probe.
|
Mount[] |
mounts
Mounts to add to all containers.
|
String |
name
The name of the application.
|
String |
partOf
The name of the collection of component this component belongs to.
|
Port[] |
ports
The application ports.
|
PersistentVolumeClaimVolume[] |
pvcVolumes
PersistentVolumeClaim volumues to add to all containers.
|
Probe |
readinessProbe
The readiness probe.
|
int |
replicas
The number of replicas to use.
|
ResourceRequirements |
requestResources
The resources that the application container requires.
|
RollingUpdate |
rollingUpdate
Specifies rolling update configuration.
|
SecretVolume[] |
secretVolumes
Secret volumues to add to all containers.
|
String |
serviceAccount
The service account.
|
ServiceType |
serviceType
The type of service that will be generated for the application.
|
Container[] |
sidecars
The sidecars.
|
String |
version
The version of the application.
|
String |
workingDir
Working directory.
|
public abstract String partOf
public abstract String name
public abstract String version
public abstract Container[] initContainers
public abstract Label[] labels
public abstract Annotation[] annotations
public abstract Env[] envVars
public abstract String workingDir
public abstract String[] command
public abstract String[] arguments
public abstract int replicas
public abstract DeploymentStrategy deploymentStrategy
public abstract RollingUpdate rollingUpdate
public abstract String serviceAccount
public abstract String host
public abstract Port[] ports
public abstract ServiceType serviceType
public abstract PersistentVolumeClaimVolume[] pvcVolumes
public abstract SecretVolume[] secretVolumes
public abstract ConfigMapVolume[] configMapVolumes
public abstract GitRepoVolume[] gitRepoVolumes
public abstract AwsElasticBlockStoreVolume[] awsElasticBlockStoreVolumes
public abstract AzureDiskVolume[] azureDiskVolumes
public abstract AzureFileVolume[] azureFileVolumes
public abstract Mount[] mounts
public abstract ImagePullPolicy imagePullPolicy
public abstract String[] imagePullSecrets
public abstract HostAlias[] hostAliases
public abstract Probe livenessProbe
public abstract Probe readinessProbe
public abstract ResourceRequirements requestResources
public abstract ResourceRequirements limitResources
public abstract Container[] sidecars
public abstract boolean expose
Copyright © 2018–2021 Red Hat. All rights reserved.