Skip to content

openshift-cluster-external-registry-create

A task to cleanup extra resources of a openshift cluster

External Registry Creation Task

This task creates and configures an external container registry service for use with OpenShift clusters. It's particularly important for disconnected or air-gapped installations where direct access to public registries is not available.

Requirements

Parameters

  • openshift/external-registry: Registry URL
  • openshift/pull-secret: Red Hat pull secret
  • openshift/external-registry-create: Boolean flag to enable creation

Infrastructure

  • Sufficient storage for container images
  • Network connectivity to cluster nodes
  • Proper certificate configuration
  • Adequate system resources for registry service

Usage

Basic Creation

# Enable registry creation
drpcli machines set <machine-uuid> param openshift/external-registry-create to true

# Apply creation task
drpcli machines tasks add <machine-uuid> openshift-cluster-external-registry-create

# Verify registry
curl -k https://<registry-url>/v2/_catalog

Creation Process

  1. Validates registry parameters
  2. Sets up authentication (default: admin/admin)
  3. Creates registry service broker
  4. Configures pull secret with registry credentials
  5. Updates cluster configuration for registry access