wildfly
Wildfly is a lightweight, open source application server, formerly known as JBoss, that implements the latest enterprise Java standards.
About this chart
WildFly packaged by Bitnami
Wildfly is a lightweight, open source application server, formerly known as JBoss, that implements the latest enterprise Java standards.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/wildfly
Introduction
This chart bootstraps a WildFly deployment on a Kubernetes cluster using the Helm package manager.
WildFly is written in Java, and implements the Java Platform, Enterprise Edition (Java EE) specification.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/wildfly
These commands deploy WildFly on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
WildFly Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | WildFly image registry | docker.io |
image.repository | WildFly image repository | bitnami/wildfly |
image.tag | WildFly image tag (immutable tags are recommended) | 26.1.2-debian-11-r10 |
image.digest | WildFly image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | WildFly image pull policy | IfNotPresent |
image.pullSecrets | WildFly image pull secrets | [] |
image.debug | Enable image debug mode | false |
WildFly Configuration parameters
| Name | Description | Value |
|---|---|---|
wildflyUsername | WildFly username | user |
wildflyPassword | WildFly user password | "" |
exposeManagementConsole | Allows exposing the WildFly Management console outside the cluster | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the container to automate configuration before or after startup | {} |
extraEnvVars | Array with extra environment variables to add to the WildFly container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
WildFly deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Wildfly replicas to deploy | 1 |
updateStrategy.type | WildFly deployment strategy type | RollingUpdate |
hostAliases | WildFly pod host aliases | [] |
extraVolumes | Optionally specify extra list of additional volumes for WildFly pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for WildFly container(s) | [] |
serviceAccountName | Name of existing ServiceAccount to be connected | "" |
sidecars | Add additional sidecar containers to the WildFly pod | [] |
initContainers | Add additional init containers to the WildFly pods | [] |
podLabels | Extra labels for WildFly pods | {} |
podAnnotations | Annotations for WildFly pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | {} |
priorityClassName | Pod priorityClassName | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
resources.limits | The resources limits for the WildFly container | {} |
resources.requests | The requested resources for the WildFly container | {} |
containerPorts.http | WildFly HTTP container port | 8080 |
containerPorts.mgmt | WildFly HTTPS container port | 9990 |
podSecurityContext.enabled | Enabled WildFly pods' Security Context | true |
podSecurityContext.fsGroup | Set WildFly pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled WildFly containers' Security Context | true |
containerSecurityContext.runAsUser | Set WildFly container's Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set WildFly container's Security Context runAsNonRoot | true |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 120 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 6 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 120 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled |
Deploy wildfly with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wildfly on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartwildfly is pinned at v13.5.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply