PledgeDocumentation
Product site ↗

Install Pledge

Install on Kubernetes

Prepare dependencies, render the chart, and verify an installation.

On this page

Obtain a release

Use the application chart at charts/pledge together with its matching versions.env and application images. The examples assume those files are present in your release checkout. Image registry access and the release artifacts must be supplied for your environment; this guide does not assume a public Pledge chart repository.

Prepare the cluster

The examples use namespace claims. Prepare a NetworkPolicy-enforcing cluster, DNS, and a route to the HTTPS API. Your platform team supplies certificate management and External Secrets integration.

Before installing Pledge, provision:

  • A Kafka-compatible broker.
  • PostgreSQL with writer and read access.
  • A versioned S3-compatible document bucket and a separate bucket for the log archive.
  • A secret-management service and the required credentials.
  • An identity provider and trusted certificates.

These services may run in your own infrastructure or come from managed providers. They have separate installation, upgrade, and recovery lifecycles. The Pledge Helm release installs the application and connects it to these services. See database, storage, and secrets for connection requirements.

Prepare installation values

Create installation.yaml with your environment settings. This is a connection/configuration fragment; combine it with your approved storage, certificates, secret store, resource, and backup settings:

app:
  environment: production
api:
  publicHost: claims.example.com
  publicBaseUrl: https://claims.example.com
  service:
    type: LoadBalancer
    port: 443
network:
  controlPlaneCidr: 10.20.0.0/28
kafka:
  mode: external
  replicationFactor: 3
  eventsPartitions: 12
  external:
    endpoint: kafka.example.com
    secretPath: kafka-credentials
    ports: [9092]
postgres:
  mode: external
  clientCertificates: false
  external:
    endpoint: postgres-writer.example.com
    readEndpoint: postgres-reader.example.com
    secretPath: postgres-credentials
objectStore:
  mode: external
  bucket: acme-claims-documents
  region: us-east-1
  versioning: true
  external:
    endpoint: https://s3.us-east-1.amazonaws.com
    secretPath: objectstore
secrets:
  mode: aws
  aws:
    region: us-east-1
worker:
  modules: [all]
  replicas: 2
synth:
  enabled: false

Replace the example hosts, bucket, region, control-plane CIDR, partition count, and resource settings with your environment’s values. This example uses AWS Secrets Manager for platform credentials; configure your chosen secret provider and runtime tenant-secret access as described in database, storage, and secrets. Configure the API certificate issuer and trust bundles for your environment.

Pin images and render

Set the five application image references to the artifacts of your release: APP_IMAGE, SYNTH_IMAGE, JEV_IMAGE, EXTRACT_IMAGE, and VALIDATOR_IMAGE. Then generate the image values:

bash charts/pledge/set-images.sh images.yaml
helm lint charts/pledge --namespace claims \
  -f installation.yaml -f images.yaml
helm template pledge charts/pledge --namespace claims \
  -f installation.yaml -f images.yaml > rendered.yaml

Inspect rendered.yaml for application endpoints, certificate names, Secret references, enabled worker modules, resource limits, and network policies. Confirm that database, broker, object-store, and secret-manager workloads belong to your infrastructure releases rather than the Pledge release.

Validate the values and rendered manifests before applying them. Successful rendering does not verify connectivity or credentials.

Apply the release

After dependencies and secrets are ready:

helm upgrade --install pledge charts/pledge \
  --namespace claims --create-namespace \
  -f installation.yaml -f images.yaml
kubectl -n claims get pods
kubectl -n claims get externalsecrets
kubectl -n claims get certificates
kubectl -n claims rollout status deployment/claims-api --timeout=600s
kubectl -n claims rollout status statefulset/claims-worker --timeout=600s

The same values can be applied by your GitOps controller after its operator/dependency releases. A pod waiting for a missing Secret is a provisioning failure to resolve, not an application to repeatedly restart.

Verify and onboard

Use your trusted CA and actual API origin:

curl --fail --cacert "$CA_CERT" "$API/live"
curl --fail --cacert "$CA_CERT" "$API/ready"
kubectl -n claims logs statefulset/claims-worker --tail=100

Require HTTP 200 from both endpoints, healthy dependency connections, and no persistent worker module failures. Then create a tenant, publish its configuration, and process synthetic claims through automated decisions, review, and output. Verify the intended member notification destination and independently verify an evidence bundle.

Complete a restore rehearsal in an isolated environment before relying on the deployment’s backup plan. See monitoring and upgrades for ongoing operation.

Pledge documentation · Use the documentation and artifacts for your deployed release.