Skip to content

Pulp API#

A role to setup the Pulp 3 API, yielding the following objects:

  • Deployment
  • Service
  • PersistentVolumeClaim
    • This is created only when choosing filesystem storage e.g. storage_type=File
  • Secret
    • For the admin password
    • For the pulp settings
    • For encrypting sensitive DB fields

Role Variables#

  • api: A dictionary of pulp-api configuration
    • replicas: Number of pod replicas.
    • log_level: The desired log level.
  • default_settings: A nested dictionary that will be combined with custom values from the user's The keys of this dictionary are variable names, and the values should be expressed using the Dynaconf syntax Please see pulpcore configuration docs for documentation on the possible variable names and their values.
    • debug: Wether to run pulp in debug mode.
  • image: The image name. Default:
  • image_version: The image tag. Default: stable
  • gunicorn_timeout: The timeout for the gunicorn process. Default: 90
  • storage_type: A string for specifying storage configuration type.
  • file_storage_access_mode: The access mode for the volume.
  • file_storage_size: The storage size.
  • object_storage_s3_secret:The kubernetes secret with s3 storage configuration information.
  • object_storage_azure_secret:The kubernetes secret with Azure blob storage configuration information.


Requires the openshift Python library to interact with Kubernetes: pip install openshift.



  • kubernetes.core
  • operator_sdk.util



Author Information#

Pulp Team

Last update: 2022-07-04