ibm-devopsplan-prod
ibm-devopsplan Product
About this chart
DevOps Plan Helm Chart
Introduction
DevOps Plan is a change management platform designed for enterprise-level scalability, customizable processes, and enhanced project control. It accelerates project delivery and improves developer productivity..
Chart Details
- This Helm chart deploys a single instance of DevOps Plan, which can be scaled to multiple instances.
Product Documentation
Prerequisites
-
Kubernetes and CLI Tools
- Kubernetes v1.20.0 or later
- OpenShift CLI (oc) or kubectl CLI
- Helm v3.16 or later
Installation guides:
-
Image and Helm Chart Access
-
DevOps Plan images and Helm charts are available from the IBM Entitled Registry and public Helm repository.
-
Public Helm chart repository: https://github.com/IBM/charts/tree/master/repo/ibm-helm
-
Obtain an entitlement key:
- Log in to MyIBM Container Software Library
- Copy your entitlement key from the Entitlement keys section and set it to
EntitlementKeywhen creating theimagePullSecret.
-
-
-
PostgreSQL Database
- DevOps Plan requires a PostgreSQL database to manage TeamSpaces and Applications.
- You may use the built-in PostgreSQL provided by the Helm chart or configure your own external PostgreSQL instance.
- Database connection parameters are required during installation if using an external database.
-
Persistent Volumes
- Persistent storage is required for DevOps Plan data (
data,config,share,logs). - If your Kubernetes cluster supports a default
StorageClassand dynamic provisioning, no manual PV creation is needed. - DevOps Plan requires non-root access to persistent storage.
WWhen using IBM File Storage, use the IBM-provided “gid” File storage class (default group ID
65531) or a custom storage class with a different group ID.
See: IBM Cloud Storage Non-Root Access
Example configuration:
persistence: storageClass: '' ccm: storageClass: ibmc-file-gold-gid securityContext: fsGroup: 65531Set storage class manually if no default exists:
--set global.persistence.rwoStorageClass=<Your StorageClass>For RWX (ReadWriteMany) support:
--set global.persistence.rwxStorageClass=<Your RWX StorageClass> - Persistent storage is required for DevOps Plan data (
-
Keycloak Single Sign-On
- The Helm chart installs Keycloak by default. You can disable this and use an external Keycloak instance instead.
-
Licensing Requirements
-
The DevOps Plan image uploads license metrics (Concurrent Users) to the IBM License Service.
-
Ensure IBM License Service is installed: Install License Service
-
Copy required secrets and config to your target namespace:
oc get secret ibm-licensing-upload-token -n ibm-licensing -o yaml | sed 's/^.*namespace: ibm-licensing.*$//' | oc create -f - oc get configMap ibm-licensing-upload-config -n ibm-licensing -o yaml | sed 's/^.*namespace: ibm-licensing.*$//' | oc create -f - -
Enable license metric upload during install:
--set global.licenseMetric=true -
Once metrics are uploaded (may take up to 24 hours), retrieve usage data: License Service Usage
-
-
Helm Installation Timeout Recommendation
- In clusters with slow pod startup times, increase the default Helm timeout from 5 minutes to 10 minutes:
helm install <release-name> <chart-path> --timeout=10m0s
- In clusters with slow pod startup times, increase the default Helm timeout from 5 minutes to 10 minutes:
Installing the Chart
Add the Helm Repository
helm repo add ibm-helm https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm/
List Available Chart Versions
helm repo update
helm search repo ibm-helm/ibm-devopsplan
Create the Namespace
kubectl create namespace devopsplan
Create an ImagePullSecret
oc create secret docker-registry ibm-entitlement-key \
--namespace devopsplan \
--docker-username=cp \
--docker-password=<EntitlementKey> \
--docker-server=cp.icr.io
Install on OpenShift cluster
Set OpenShift DNS name for the domain name:
DOMAIN=$(oc get --namespace=openshift-ingress-operator ingresscontroller/default -ojsonpath='{.status.domain}')
Install the helm chart:
helm install ibm-devopsplan ibm-helm/ibm-devopsplan-prod \
--namespace devopsplan \
--set global.imagePullSecrets={ibm-entitlement-key} \
--set global.domain=${DOMAIN}
Note:
If your cluster’s default storage class does not supportReadWriteMany, set:--set global.persistence.rwxStorageClass=<rwx_storage_class> > --set securityContext.fsGroup=65531
Install on Local Kubernetes cluster
Steps 1. Download ibm-devopsplan-prod chart from devops-plan repository and unpack it in local directory.
helm pull ibm-helm/ibm-devopsplan-prod --untar
Steps 2. Install
helm install ibm-devopsplan ibm-helm/ibm-devopsplan-prod \
-f ibm-devopsplan-prod/values-nginx.yaml \
--namespace devopsplan \
--set global.imagePullSecrets={ibm-entitlement-key} \
--set global.persistence.rwoStorageClass=[default_storage_class] \
--set keycloak.service.ipAddress=[vm_ip_address]
Note:
If your cluster’s default storage class does not supportReadWriteMany, set:--set global.persistence.rwxStorageClass=<rwx_storage_class>
Install with Emissary-ingress Load Balancer
Before You Begin
- Check OpenSSL Version
Ensure OpenSSL version is 1.1.1 or later:
openssl version
# Example output: OpenSSL 1.1.1s 1 Nov 2022
- Check Port 443 Availability
netstat -anp | grep 443 | grep LISTEN
Step 1: Install Emissary-ingress
Install Emissary-ingress via Helm. Refer to the official quick start guide for full instructions.
# Add Helm repo and update
helm repo add datawire https://app.getambassador.io
helm repo update
# Create namespace and install Emissary
kubectl create namespace emissary
kubectl apply -f https://app.getambassador.io/yaml/emissary/3.9.1/emissary-crds.yaml
kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext -n emissary-system
helm install emissary-ingress --namespace emissary datawire/emissary-ingress
kubectl -n emissary wait --for=condition=available --timeout=90s deploy -lapp.kubernetes.io/instance=emissary-ingress
Verify resources:
kubectl get all -n emissary
kubectl get all -n emissary-system
If the EXTERNAL-IP remains in a pending, assign an external IP:
IPADDRESS=<Your_External_IP_Address>
kubectl patch service emissary-ingress -n emissary -p "{\"spec\": {\"externalIPs\": [\"$IPADDRESS\"]}}"
Step 2: Generate Ingress Secrets
DOMAIN=<Your_External_IP_Address>.nip.io
NAMESPACE=devopsplan
kubectl create namespace $NAMESPACE
helm pull ibm-helm/ibm-devopsplan-prod --untar
chmod +x ibm-devopsplan-prod/files/*.sh \
&& bash ibm-devopsplan-prod/files/certificate.sh -n $NAMESPACE -s ingress $DOMAIN
Verify the secrets:
kubectl get secret -n $NAMESPACE | grep ingress
Step 3: Install DevOps Plan
helm upgrade --install ibm-devopsplan ./ibm-devopsplan-prod \
-f ibm-devopsplan-prod/values-emissary.yaml \
--namespace $NAMESPACE \
--set global.imagePullSecrets={ibm-entitlement-key} \
--set global.certSecretName=ingress \
--set global.domain=$DOMAIN \
--set global.persistence.rwoStorageClass=<Your storage class name> \
--set replicaCount=<Number_of_replica>
Note:
- Ensure global.imagePullSecrets are formatted with braces:
{ibm-entitlement-key}- If using external Keycloak, replace
-f values-emissary.yamlwith--set ingress.type=mapping
Step 4: Verify the Installation
kubectl get mapping -n $NAMESPACE
helm status ibm-devopsplan -n $NAMESPACE
Access URLs:
echo "https://ibm-devopsplan-keycloak.${DOMAIN}"
echo "https://ibm-devopsplan.${DOMAIN}"
Optional Installations
- External PostgreSQL: See Installing DevOps Plan with External Database and Optional Email Server Settings
- External Keycloak: See Installing DevOps Plan with External Keycloak Single Sign-On
- DevOps Control: See Installing with DevOps Control
- AI Assistant (Llama): See AI Assistant Integration with Llama
- Self-Signed and Private CA: See Self-Signed and Private CA
Install with Custom Parameter Settings
- Inspect and Export Values
helm inspect values devops-plan/ibm-devopsplan-prod > my_values.yaml
-
Edit
my_values.yaml
Update the file with custom values for your deployment. -
Install Using Custom Values
helm install ibm-devopsplan ./ibm-devopsplan-prod \
--namespace devopsplan \
--values my_values.yaml \
--timeout 10m
Uninstalling the Chart
helm delete ibm-devopsplan --namespace devopsplan
Enable License Metrics
The global.licenseMetric parameter is set to false by default. You must set it to true during Helm install or upgrade to enable license metrics:
--set global.licenseMetric=true
Before enabling license metrics, ensure that the IBM License Service is installed in your OpenShift environment, and that you have copied the required license service upload secret and ConfigMap.
For more information, refer to the Licensing Requirements section in the Prerequisites.
Installing DevOps Plan with External Database and Optional Email Server Settings
DevOps Plan requires a PostgreSQL database to manage TeamSpaces and Applications. You may use the default bundled PostgreSQL or configure an external database.
- Create a
devopsplan.yamlfile with the following content:
## Spring datastore settings (Only PostgreSQL)
spring:
datastore:
url: "jdbc:postgresql://<DATABASE_HOST>:<DATABASE_PORT>/<DATABASE_NAME>"
username: <DATABASE_USERNAME>
password: <DATABASE_PASSWORD>
## Tenant datastore settings (Only PostgreSQL)
tenant:
datastore:
server: <DATABASE_SERVER_NAME>
dbname: <DATABASE_NAME>
username: <DATABASE_USERNAME>
password: <DATABASE_PASSWORD>
postgresql:
enabled: false
## SMTP settings (Optional)
global:
platform:
smtp:
sender: <SENDER_EMAIL_ADDRESS>
host: <SMTP_SERVER>
port: <SMTP_PORT>
username: <SMTP_USERNAME>
password: <SMTP_PASSWORD>
Enable External Access to the Internal PostgreSQL Database
If you plan to install DevOps Plan using the internal PostgreSQL database and need to access it from DevOps Plan Designer or other supported PostgreSQL tools (such as pgAdmin 4), you must enable external PostgreSQL access and configure the exposed port during installation or upgrade.
Use the following options with the helm install or helm upgrade command:
--set postgresql.enableExternalAccess=true
--set postgresql.service.exposePort=30106
--set control.postgresql.port=30106
Note: If the external IP address is not the same as the Kubernetes node IP, you must explicitly provide the node’s internal IP address when running helm install or helm upgrade.
Step 1: Retrieve the node internal IP address
NODE_IP=$(kubectl get nodes -o jsonpath='{.items[0].status.addresses[?(@.type=="InternalIP")].address}')
Step 2: Pass the node IP to Helm
Include the following option in your helm install or helm upgrade command:
--set postgresql.service.nodeInternalIP=${NODE_IP}
After enabling external access, run the following command to view the PostgreSQL connection details required to connect to the database:
helm status <release-name>
This output includes the host, port, and other configuration values needed to connect to the internal PostgreSQL instance.
Connection Details
-
Host:
- Use global.domain if installing on an OpenShift cluster or using an Emissary-ingress Load Balancer.
- Use the VM IP address if installing on a local Kubernetes cluster.
- Use the Kubernetes node internal IP address if the global.domain IP address or the VM IP address is not the same as the node’s internal IP address.
-
Port: Use the value of postgresql.service.exposePort. Defualt value is 30106.
-
Database: postgres
-
Username: postgres
-
Password: To retrieve the password, run the following command (ensure the namespace is set to devopsplan):
kubectl get secret --namespace devopsplan devopsplan-postgresql -o jsonpath="{.data.tenant-datastore-password}" | base64 -d; echo
Retrieve Connection Details from DevOps Plan UI
You can also retrieve the PostgreSQL connection details from the DevOps Plan TeamSpace page by following these steps:
- Open the Tenant Management page.
- Select the desired Tenant.
- In the TeamSpace panel on the right, select the Details tab.
- Click Show
Deploy ibm-devopsplan-prod with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ibm-devopsplan-prod 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-devopsplan-prod is pinned at v3.0.900 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