Pause: Use this one, not that one.

The Red Hat Ecosystem Catalog contains a supported version of the pause container. This container is based on ubi8. This best version of the Pause container to use for multiarch purposes.

Don’t use docker.io/ibmcom/pause-ppc64le:3.1 when you have a multi-architecture version

Steps

  1. Create a Pod yaml pointing to the Red Hat registry.
$ cat << EOF > pod.yaml 
kind: Pod
apiVersion: v1
metadata:
  name: demopod-1
  labels:
    demo: foo
spec:
  containers:
  - name: pause
    image: registry.access.redhat.com/ubi8/pause:latest
EOF
  1. Create the Pod
$ oc apply -f pod.yaml 
pod/demopod-1 created
  1. Check the Pod is running.
$ oc get pods -l demo=foo
NAME        READY   STATUS    RESTARTS   AGE
demopod-1   1/1     Running   0          89s

You have a Pause container running in OpenShift.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.