Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Last active August 26, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoraxe/f81030d276b8a4fc0882 to your computer and use it in GitHub Desktop.
Save thoraxe/f81030d276b8a4fc0882 to your computer and use it in GitHub Desktop.
I0825 18:19:25.864727 1 deployer.go:197] Deploying from default/docker-registry-1 to default/docker-registry-2 (replicas: 0)
F0825 18:19:25.901880 1 deployer.go:64] couldn't assign source annotation to deployment default/docker-registry-2: replicationControllers "docker-registry-2" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
oadm registry --dry-run \
--config=/etc/openshift/master/admin.kubeconfig \
--credentials=/etc/openshift/master/openshift-registry.kubeconfig
# wait until it comes up
oc scale rc/docker-registry-1 --replicas=0
# wait
oc volume dc/docker-registry --add --overwrite -t persistentVolumeClaim \
--claim-name=registry-claim --name=registry-storage
# watch the world burn
@thoraxe
Copy link
Author

thoraxe commented Aug 25, 2015

This is the pod log for the deployer for rc 2 after I do:

oc volume dc/docker-registry --add --overwrite -t persistentVolumeClaim \
  --claim-name=registry-claim --name=registry-storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment