Skip to main content

Image registry

This section describes an image registry, and how it can be used within a chaos experiment.

Image registry is a repository that hosts container images which are used by chaos experiments. Registries can be public or private. HCE allows you to use custom image registries for chaos experiments.

Follow the steps mentioned below to use default or custom values of image registry in your chaos experiment.

Default image registry

Step 1: Navigate to Image Registry

To use a default image, go to Image Registry on the left-hand side, and select Use default values.

select-default

Step 2: Save the default values

Click Save to save your changes.

select-save

In your chaos experiment manifest, the above default setting will be reflected as shown below.

container:
name: ""
image: docker.io/chaosnative/k8s:1.23.0
command:
- sh
- "-c"
args:
- kubectl apply -f /tmp/ -n {{workflow.parameters.adminModeNamespace}} && sleep 30