ibm-sccm
A Helm chart to deploy IBM Sterling Control Center Monitor - Configuration Manager on a containerized platform. Documentation For additional details regarding install parameters check CM Helm Chart documentation at https://www.ibm.com/docs/en/control-center/6.4.3?topic=sterling-control-center-monitor-643 License By installing this product you accept the following license terms: https://www.ibm.com/support/customer/csol/terms/?id=L-LNLL-JTKJ77&lc=en
About this chart
IBM Sterling Control Center Monitor V6.4.3.0
Introduction
IBM▒ Control Center Monitor is a centralized monitoring and management system. It gives operations personnel the capability to continuously monitor the status of Configuration Managers, engines, and adapters across the enterprise for the following server types from one central location: IBM Sterling Connect:Direct▒, IBM Sterling Connect:Enterprise▒, IBM Sterling B2B Integrator, IBM Sterling File Gateway, IBM Global High Availability Mailbox, IBM Sterling Connect:Express, IBM QuickFile, IBM MQ Managed File Transfer and Many FTP servers. To find out more, see the Knowledge Center for IBM Sterling Control Center Monitor.
Chart Details
This chart deploys IBM Sterling Control Center Monitor on a container management platform with the following resources deployments
- a statefulset pod
<release-name>-ibm-sccmwith 1 replica by default. - a configMap
<release-name>-ibm-sccm. This is used to provide default configuration in scc_config_file. - a service
<release-name>-ibm-sccm. This is used to expose the Control Center Monitor services for accessing using clients. - a service-account
<release-name>-ibm-sccm-serviceaccount. This service will not be created ifserviceAccount.createisfalse. - a persistence volume claim
<release-name>-ibm-sccm-pvc-ccm. - a persistence volume claim
<release-name>-ibm-sccm-pvc-ui.
Prerequisites
-
Red Hat OpenShift Container Platform
- Version 4.19.0 or later fixes
- Version 4.20.0 or later fixes
- Version 4.21.0 or later fixes
- Version 4.22.0 or later fixes
-
Kubernetes version >= 1.32 and <=1.36 with beta APIs enabled.
-
Helm version >= 3.18.x and <=4.3.0
-
Ensure that one of the supported database server (Oracle/DB2/MSSQL) is installed and the database is accessible from inside the cluster.
-
Ensure that the docker images for IBM Sterling Control Center Monitor from IBM Entitled Registry are downloaded and pushed to an image registry accessible to the cluster.
-
Database driver files can be passed using any one of the following ways: a. Create a persistent volume with access mode as 'Read Only Many' and place the database driver jar files in the mapped volume location. b. Create a wrapper image over existing control center image and add database driver files to that new image and give that path in configuration of control center. Sample Dockerfile content can be found at location ibm_cloud_pak/pak_extensions/pre-install/wrapper/. c. Create an image that includes database drivers, specify that image as extra init container and use command to copy drivers to one of shared mapped location so that main container can access those drivers.
-
Keystore and trust store files can be passed using one of the following ways: a. Create a persistent volume with access mode as 'Read Only Many' and place the Key store and trust store files in the mapped volume location. b. Key store and trust store files can be specified using kubernetes secrets using following command
kubectl create secret generic ibm-sccm-certs --from-file=keystore=<path to keystore file> --from-file=truststore=<path to truststore file>
-
Create a persistent volume for mapping configuration and logs of Control Center. Sample file can be found at location ibm_cloud_pak/pak_extensions/pre-install/volumes/
-
Create a secret with all secure credentials such as database password, keystore, truststore passwords, admin password and user key. Example can be found at ibm_cloud_pak/pak_extensions/pre-install/secret/.
-
Create a secret to pull the image from a private registry or repository using following command
kubectl create secret docker-registry <name of secret> --docker-server=<your-registry-server> --docker-username=<your-username> --docker-password=<your-password> --docker-email=<your-email>
Configure this pull secret in the service account used for deployment using this command
kubectl patch serviceaccount <service-account-name> -p '{"imagePullSecrets": [{"name": "<pull-secret-name>"}]}'
Note: It is recommended to configure the pull secret in the service account as it automatically binds as a pull secret for all application pods. If the pull secret is added to the service account then the image.imageSecrets configurations in the helm configuration file are not required.
Pod Security Admission (PSA) Requirements
Pod Security Admission (PSA) is a built-in Kubernetes admission controller that enforces security standards on Pods during creation and updates. It helps prevent insecure pod configurations from running in a Kubernetes cluster.
PSA replaces the deprecated PodSecurityPolicy (PSP) mechanism and enforces predefined Pod Security Standards (PSS) across namespaces.
IBM Sterling Control Center supports all three Pod Security Standards.
PSA is configured at the namespace level using labels. Whenever a Pod is created or updated, Kubernetes validates its specification against the security policy defined for the target namespace.
PSA supports three enforcement modes:
- enforce: Blocks Pods that violate the configured security policy.
- audit: Allows the Pod but records policy violations in the audit logs.
- warn: Allows the Pod but displays warning messages to the user about policy violations.
Pod Security Standards
Kubernetes defines the following security levels:
-
Privileged
- Allows nearly all Pod capabilities.
- Suitable for infrastructure and system-level workloads.
- Commonly used for CNI plugins, storage drivers, monitoring agents, and other privileged components.
-
Baseline
- Disallows privileged containers.
- Prevents use of host networking.
- Prevents access to the host PID namespace.
- Restricts Linux capabilities.
-
Restricted
- Requires containers to run as non-root users.
- Disallows privileged containers.
- Minimizes Linux capabilities.
- Restricts allowed volume types.
- Requires a Seccomp profile.
Applying PSA to a Namespace PSA policies can be applied to a namespace using either the command line or a Kubernetes manifest.
Using the Command Line
kubectl label --overwrite ns <my-project-namespace> \
pod-security.kubernetes.io/enforce=<Pod-Security-Standard>
Example
kubectl label --overwrite ns my-project-namespace \
pod-security.kubernetes.io/enforce=baseline
Using a Kubernetes Manifest
Create a file named apply-psa.yaml with the following content:
apiVersion: v1
kind: Namespace
metadata:
name: my-project-namespace
labels:
# Enforce the baseline policy
pod-security.kubernetes.io/enforce: baseline
pod-security.kubernetes.io/enforce-version: latest
# Generate warnings for workloads that do not meet the restricted policy
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/warn-version: latest
# Record audit events for workloads that do not meet the restricted policy
pod-security.kubernetes.io/audit: restricted
pod-security.kubernetes.io/audit-version: latest
Apply the manifest using:
kubectl apply -f apply-psa.yaml
These documents provide detailed guidance on policy requirements, enforcement behavior, and best practices for securing Kubernetes workloads.
SecurityContextConstraints Requirements
Red Hat OpenShift provides a pre-defined or default set of SecurityContextConstraints (SCC). These SCCs are used to control permissions for pods. These permissions include actions that a pod can perform and what resources it can access. You can use SCCs to define a set of conditions that a pod must run with to be accepted into the system. Refer to OpenShift Managing Security Context Constraints documentation for more details on the default SCCs. This chart is compatible with most restricted scc restricted-v2 (added in OpenShift v4.11) that is default SCC and does not require a custom SCC to be defined explicity.
For OpenShift, choose either a predefined SCC or have your cluster administrator create a custom SCC for you as per the security profile and policies adopted for all OpenShift deployments. This chart is compatible with most restrictive security context constraints. Below is an optional custom SCC definition based on the IBM restricted SCC.
- Predefined SecurityContextConstraints name:
ibm-restricted-scc
-
From the user interface or command line, you can copy and paste the following snippets to create and enable the below custom SCC based on IBM restricted SCC.
- Custom SecurityContextConstraints definition:
apiVersion: security.openshift.io/v1 kind: SecurityContextConstraints metadata: name: ibm-sccm-scc labels: app: "ibm-sccm-scc" app.kubernetes.io/instance: "ibm-sccm" app.kubernetes.io/managed-by: "ibm-sccm" app.kubernetes.io/name: "ibm-sccm" allowHostDirVolumePlugin: false allowHostIPC: false allowHostNetwork: false allowHostPID: false allowHostPorts: false allowPrivilegeEscalation: false allowPrivilegedContainer: false allowedCapabilities: defaultAddCapabilities: null fsGroup: type: MustRunAs ranges: - min: 1 max: 4294967294 priority: 0 readOnlyRootFilesystem: false requiredDropCapabilities: - ALL runAsUser: type: MustRunAsRange uidRangeMin: 1 uidRangeMax: 4294967294 seLinuxContext: type: MustRunAs seccompProfiles: - runtime/default supplementalGroups: type: MustRunAs ranges: - min: 1 max: 4294967294 users: [] volumes: - configMap - downwardAPI - emptyDir - persistentVolumeClaim - projected - secret - nfs- Custom ClusterRole for the custom SecurityContextConstraints:
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: "ibm-sccm-scc" labels: app: "ibm-sccm-scc" rules: - apiGroups: - security.openshift.io resourceNames: - ibm-sccm-scc resources: - securitycontextconstraints verbs: - use- Custom Role binding for the custom SecurityContextConstraints:
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: "ibm-sccm-scc" labels: app: "ibm-sccm-scc" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: "ibm-sccm-scc" subjects: - apiGroup: rbac.authorization.k8s.io kind: Group name: system:serviceaccounts namespace: {{ NAMESPACE }} -
From the command line, you can run the setup scripts included under pak_extensions (untar the downloaded archive to extract the pak_extensions directory)
As a cluster admin the pre-install script is located at:
- pre-install/clusterAdministration/createSecurityClusterPrereqs.sh
As team admin the namespace scoped pre-install script is located at:
- pre-install/namespaceAdministration/createSecurityNamespacePrereqs.sh
Installing a PodDisruptionBudget
- defaultPodDisruptionBudget.enabled - If true, It will create a pod disruption budget for IBM Sterling Control Center Monitor pods.
- defaultPodDisruptionBudget.minAvailable - It will specify Minimum number / percentage of pods that should remain scheduled for IBM Sterling Control Center Monitor pod.
Network Policy
For Certified Container deployments, few default network policies are created out of the box as per mandatory security guidelines. By default all ingress and egress traffic are denied with few additional policies to allow communication within cluster and on ports configured in the helm charts configuration. Additionally custom ingress and egress policies can be configured in values yaml to allow traffic from and to specific external service endpoints.
Note: By default all ingress and egress traffic from or to external services are denied. You will need to create custom network policies to allow ingress and egress traffic from or to services outside of the cluster like database, MQ, protocol adapter endpoints, any other third party service integration and so on.
Out of the box Ingress policies
- Deny all ingress traffic
- Allow ingress traffic from all pods in the current namespace in the cluster
- Allow ingress traffic on the additional configured ports in helm values
Out of the box Egress policies
- Deny all egress traffic
- Allow egress traffic within the cluster
Resources Required
This chart uses the following resources by default:
- 8Gi of persistent volume
- 20 GB Disk space
- 3000m CPU
- 8Gi Memory
- 1 master node and at least 1 worker node
Agreement to IBM Control Center License
You must read the IBM Sterling Control Center License agreement terms before installation, using the below link: License (L/N: L-ZJQG-DY89RP)
Installing the Chart
Prepare a custom values.yaml file based on the configuration section.
To install the chart with the release name my-release:
Ensure that the chart is downloaded locally and available.
Run the below command
$ helm install my-release -f values.yaml ibm-sccm-4.3.1.tgz
Depend
Deploy ibm-sccm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-sccm 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-sccm is pinned at v4.3.1 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