Skip to content

Install Pulp Operator with Helm

Warning

This installation method is still under development!

Prerequisites

Install pulp-operator

  • Add pulp-operator Helm repository:

    helm repo add pulp-operator https://github.com/pulp/pulp-k8s-resources/raw/main/helm-charts/ --force-update
    

  • [optional] Create a namespace to run pulp-operator:

    kubectl create ns pulp
    kubectl config set-context --current --namespace pulp
    

  • Install pulp-operator:

    helm -n pulp install pulp pulp-operator/pulp-operator
    

Deploy Pulp

After installing pulp-operator we need to create a Pulp CR with the configurations to deploy Pulp.
For example:

$ oc apply -f- <<EOF
apiVersion: repo-manager.pulpproject.org/v1beta2
kind: Pulp
metadata:
  name: pulp
  namespace: pulp
spec:
  api:
    replicas: 1
  content:
    replicas: 1
  worker:
    replicas: 1
EOF

See Custom Resources for more information about the available fields of Pulp CR or check our list of samples.