ibm-spectrum-symphony-dev
by Helm
IBM Spectrum Symphony CE
About this chart
ibm-spectrum-symphony-dev
IBM Spectrum Symphony is an enterprise-class workload manager for compute- and data-intensive workload on a scalable, shared grid. It provides an efficient computing environment for dozens of distributed parallel applications to deliver faster results and better resource utilization.
Introduction
This chart deploys IBM Spectrum Symphony Community Edition on a Kubernetes cluster using the Helm package manager. It enables you to quickly configure and run IBM Spectrum Symphony as a Docker container application, which you can then manage from the cluster management console or the command line.
The IBM Spectrum Symphony Community Edition chart provides the full functionality of IBM Spectrum Symphony for a cluster of up to 64 cores. To scale your cluster beyond 64 cores and receive IBM Support tied to licensed software, consider deploying the "ibm-spectrum-symphony-prod" chart.
Chart Details
This chart deploys IBM Spectrum Symphony Community Edition with the following standard configuration:
- Creates a deployment with one pod (one master, compute, and client container each) on the Kubernetes cluster.
- Provisions storage volumes dynamically based on storage class to automatically bind the PersistentVolume to the PersistentVolumeClaim.
- Creates a
webguiservice to connect to the application's cluster management console from a supported browser. - Creates an
sshdservice to connect to the client over SSH and submit workload from the client to the cluster.
Note: You cannot upgrade or roll back IBM Spectrum Symphony Helm release versions. To take advantage of a new release version, you must create a new cluster.
Prerequisites
-
A user with operator role is required to install the chart.
-
A default storage class must be set up by the system administrator for dynamic storage provisioning before this chart is deployed. With dynamic storage provisioning (default), storage volumes are provisioned on demand based on the storage class.
- Set 'cluster.pvc.useDynamicProvisioning' to true (default).
- Specify a custom 'storageClassName' per volume or leave the value empty to use the default storageClass or any available PersistentVolume that can satisfy the capacity request.
Volumes that are dynamically provisioned inherit the reclaim policy of their storage class (which defaults to Delete).
-
If you are not using dynamic storage provisioning, a PersistentVolumeClaim or PersistentVolume must be predefined before this chart is deployed.
- Set 'cluster.pvc.useDynamicProvisioning' to false.
- Specify the 'cluster.pvc.existingClaimName' per volume or leave the value empty and let the Kubernetes binding process select a pre-existing volume based on accessMode and size.
- Use 'cluster.pvc.selector.label' to refine the binding process.
Docker container processes for IBM Spectrum Symphony run as internal user egoadmin with ID 1000. When you use pre-existing volumes, ensure that the required permissions for user ID 1000 are set for the mounted volume.
-
Review other requirements, such as supported browsers. For more information, refer to the supported system configurations topic in the online IBM Knowledge Center.
-
For SSH access to the client host, an SSH public key must be encoded in base64 and saved into a Kubernetes secret. For SSH access from the client host to the management and compute hosts, the corresponding SSH private key must also be encoded. For more information, refer to the Before Installing the Chart section.
PodDisruptionBudget
Set to true to enable Pod Disruption Budget to maintain high availability during a node maintenance. Administrator role or higher is required to enable Pod Disruption Budget on clusters with Role Based Access Control. The default is false.
Red Hat OpenShift SecurityContextConstraints Requirements
This chart requires a SecurityContextConstraints to be bound to the target namespace prior to installation. To meet this requirement there may be cluster scoped as well as namespace scoped pre and post actions that need to occur.
The predefined SecurityContextConstraints name: ibm-restricted-scc has been verified for this chart, if your target namespace is bound to this SecurityContextConstraints resource you can proceed to install the chart.
Custom SecurityContextConstraints definition:
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
annotations:
kubernetes.io/description: "This policy is the most restrictive,
requiring pods to run with a non-root UID, and preventing pods from accessing the host.
The UID and GID will be bound by ranges specified at the Namespace level."
cloudpak.ibm.com/version: "1.1.0"
name: ibm-restricted-scc
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegedContainer: false
allowPrivilegeEscalation: false
allowedCapabilities: null
allowedFlexVolumes: null
allowedUnsafeSysctls: null
defaultAddCapabilities: null
defaultAllowPrivilegeEscalation: false
forbiddenSysctls:
- "*"
fsGroup:
type: MustRunAs
ranges:
- max: 65535
min: 1
readOnlyRootFilesystem: false
requiredDropCapabilities:
- ALL
runAsUser:
type: MustRunAsNonRoot
seccompProfiles:
- docker/default
# This can be customized for seLinuxOptions specific to your host machine
seLinuxContext:
type: RunAsAny
# seLinuxOptions:
# level:
# user:
# role:
# type:
supplementalGroups:
type: MustRunAs
ranges:
- max: 65535
min: 1
# This can be customized to host specifics
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret
Resources Required
To control decisions about which nodes to place pods on, specify how much resources (CPU and memory) each container needs:
-
The 'master.resources.requests.cpu' and 'master.resources.requests.memory' parameters define initial CPU and memory requests to create the master container. The default requests are 2 cores and 2048 MB memory, respectively. The same values are enforced in the 'master.resources.limits.cpu' and 'master.resources.limits.memory' parameters as limits for the master container.
-
The 'compute.resources.requests.cpu' and 'compute.resources.requests.memory' parameters define the initial resources that each compute container requests. However, resources cannot grow beyond the limits of 'compute.resources.limits.cpu' and 'compute.resources.limits.memory'. The default requests are 1 core and 1024 MB memory for each compute container, with the same limits.
-
The 'client.resources.requests.cpu' and 'client.resources.requests.memory' parameters define the initial resources that each client container requests. The default requests are 1 core and 1024 MB memory for each client container, with the same limits.
For CPU and memory values that you can set, refer to the Kubernetes specification.
Before Installing the Chart
- If you want to use scripts to configure your IBM Spectrum Symphony cluster before and/or after cluster startup, create scripts and package all the necessary files (including the scripts) as a .tar.gz file. Then, create a base64-encoded Kubernetes secret for the package before the chart is deployed. For more information, refer to the Creating secrets topic.
Installing the Chart
To install the ibm-spectrum-symphony-dev chart with the release name "my-release", use the following command:
$ helm install --tls --name my-release stable/ibm-spectrum-symphony-dev
The command deploys the chart on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
You can use unique release names to create as many IBM Spectrum Symphony deployments as you want.
Tip: Use the "helm list --tls" option to view a list of releases.
Verifying the Chart
To verify the installation, run the following helm command:
$ helm status my-release --tls
Configuration
The following table lists the configurable parameters of the ibm-spectrum-symphony-dev chart and their default values. Specify each parameter using the "--set key=value[,key=value]" argument to the "helm install --tls" command.
Tip: Alternatively, provide a YAML file that specifies the values for the parameters while installing the chart. You can use the default values.yaml file.
| Parameter | Description | Default |
|---|---|---|
| image.repository | Docker repository for the IBM Spectrum Symphony image | ibmcom/spectrum-symphony |
| image.tag | Tag for the IBM Spectrum Symphony image | 7.2.1.1 |
| image.pullPolicy | Pull policy for the IBM Spectrum Symphony image | Always if imageTag is latest, else IfNotPresent |
| serviceAccountName | Service Account Name to use for deployment, if empty one is created | "" |
| cluster.clusterName | Name of the cluster. If "", the cluster takes the name 'release_name-ibm-spectrum-symphony-dev'. | "" |
| cluster.pvc.useDynamicProvisioning | Whether storage volumes must be dynamically provisioned. If true, the PersistentVolumeClaim uses the storageClassName to bind the volume. If false, the selector is used to refine the binding process. | true |
| cluster.pvc.storageClassName | Storage class name for dynamic storage provisioning. Specify a custom storageClassName per volume, or leave the value empty to use the default storageClass or any available PersistentVolume that can satisfy the capacity request (for example, 5Gi). | "" |
| cluster.pvc.existingClaimName | If not using dynamic provisioning, name of an existing PersistentVolumeClaim. Specify an existing claim name per volume or leave the value empty and let the Kubernetes binding process select a pre-existing volume based on accessMode and size. | "" |
| cluster.pvc.selector.label | When matching a pre-existing PersistentVolume, the label used to find a match on the keySelector label (see Kubernetes - Labels and Selectors). | "" |
| cluster.pvc.selector.value | When matching a pre-existing PersistentVolume, the value used to find a match on the values (see Kubernetes - Labels and Selectors). | "" |
| cluster.pvc.size | Size of the persistent storage | 5Gi |
| cluster.enableSharedSubdir | Whether to create a subdirectory inside the shared volume mount, enabling the shared volume to be re-used in a single pod. If true, a subdirectory that takes the name of your Helm release is created inside the /shared directory. | true |
| cluster.logsOnShared | Whether component logs on management and compute hosts must be saved to the mounted shared directory to be shared by containers across multiple hosts. If true, resource manager logs (EGO) are saved at /shared/logs/kernel/logs/, workload logs (SOAM) at /shared/logs/soam/logs/, cluster management console (WEBGUI) logs at /shared/logs/gui/logs/, and reporting logs (PERF) at /shared/logs/perf/logs/. | true |
| cluster.scriptsSecretName | Name of the secret created to hold predefined scripts that configure your cluster before and/or after startup (see Before Installing the Chart). | "" |
| master.resources.requests.cpu | Initial CPU requested for the master (see Resources Required). | 2 |
| master.resources.requests.memory | Initial memory requested for the master (see Resources Required). | 2048Mi |
| master.resources.limits.cpu | CPU limit for the master (see Resources Required). | 2 |
| master.resources.limits.memory | Memory limit for the master (see Resources Required). | 2048Mi |
| master.uiEnabled | Whether the webgui service must be enabled to access the cluster management console | true |
| master.egoRestEnabled | Whether the egorest service must be enabled to access the RESTful APIs for resource management | false |
| master.symRestEnabled | Whether the symrest service must be enabled to access the RESTful APIs for client workload submission | false |
| compute.replicaCount | Number of pod replicas for compute | 1 |
| compute.usePodAutoscaler | Whether autoscaling must be enabled for compute host pods, enabling the number of compute pods to be automatically scaled based on a CPU utilization threshold. To use a set number of compute hosts, deselect this option. | true |
| compute.resources.requests.cpu | Initial CPU requested for compute (see Resources Required). | 1 |
| compute.resources.requests.memory | Initial memory requested for compute (see Resources Required). | 1024Mi |
| compute.resources.limits.cpu | CPU limit for compute (see Resources Required). | 1 |
| compute.resources.limits.memory | Memory limit for compute (see [Resources R |
Deploy ibm-spectrum-symphony-dev with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-spectrum-symphony-dev 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 chartibm-spectrum-symphony-dev is pinned at v3.0.0 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