Skip to content

Rahti image registry instructions to Noppe guide for teachers? #2253

Open
@samumantha

Description

@samumantha

Didn't this exist before? If so, why was it removed?

@tourunen @yetulaxman

Something along the lines of (might be outdated, and will need a bit more info to be on docs):

  • Add Rahti to CSC project, accept terms
  • Create Rahti project and link to CSC project (link to Rahti page here)
  • Get token for new registry https://console-openshift-console.apps.2.rahti.csc.fi/k8s/cluster/projects from under your name > Copy login command (needs oc installed)
  • Give access to anonymous and unauthenticated: oc policy add-role-to-user registry-viewer system:anonymous -n AND
    oc policy add-role-to-user registry-viewer system:unauthenticated -n
  • Login to new registry docker login -u g -p $(oc whoami -t) image-registry.apps.2.rahti.csc.fi
  • Tag image: docker tag imagename image-registry.apps.2.rahti.csc.fi//:
  • Push image docker push image-registry.apps.2.rahti.csc.fi//:
  • Use that same link in Noppe application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions