@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 |
AzureDiskVolume[] |
azureDiskVolumes |
AzureFileVolume[] |
azureFileVolumes |
String[] |
command
The commands
|
ConfigMapVolume[] |
configMapVolumes |
Env[] |
envVars
Environment variables to add to all containers.
|
boolean |
expose
Controls whether the application should be exposed via Ingress
|
GitRepoVolume[] |
gitRepoVolumes |
String |
group
The group of the application.
|
boolean |
headless
Controls whether the generated
Service will be headless. |
String |
host
The host under which the application is going to be exposed.
|
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.
|
Probe |
livenessProbe
The liveness probe.
|
Mount[] |
mounts
Mounts to add to all containers.
|
String |
name
The name of the application.
|
Port[] |
ports
The application ports.
|
PersistentVolumeClaimVolume[] |
pvcVolumes |
Probe |
readinessProbe
The readiness probe.
|
int |
replicas
The number of replicas to use.
|
SecretVolume[] |
secretVolumes |
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 group
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 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 Probe livenessProbe
public abstract Probe readinessProbe
public abstract Container[] sidecars
public abstract boolean expose
public abstract boolean headless
Service will be headless.Copyright © 2018–2020 Red Hat. All rights reserved.