Cov txheej txheem:

Kuv yuav thawb ib daim duab rau OpenShift li cas?
Kuv yuav thawb ib daim duab rau OpenShift li cas?

Video: Kuv yuav thawb ib daim duab rau OpenShift li cas?

Video: Kuv yuav thawb ib daim duab rau OpenShift li cas?
Video: Tsheem Tshuav Ib Daim Duab / Niam Nruas Hawj / Nkauj Ncaim 2024, Hlis ntuj nqeg
Anonim

Yuav ua li cas thawb docker dluab rau openshift sab hauv sau npe thiab tsim daim ntawv thov los ntawm nws

  1. Rub lub Cluster IP Chaw nyob ntawm sab hauv docker npe.
  2. tag lub zos duab rau Internal Docker Registry.
  3. rub lub auth token thiab nkag mus rau inter docker npe.
  4. thawb lub tag duab mus rau Internal Registry.

Tib neeg kuj nug, Kuv yuav siv cov duab rau OpenShift li cas?

Dhia rov qab mus rau qhov OpenShift web console, nyem rau ntawm Add to Project hauv cov ntawv qhia zaub mov, ces nyem rau Deploy Image . Lub sijhawm no, xaiv Duab Kwj Tag, thiab los ntawm cov ntawv qhia zaub mov nco, xaiv qhov project myproject thiab cov duab kwj blog-django-py nrog tag tseeb.

Ib sab saum toj no, kuv yuav nkag mus rau OpenShift npe li cas? Nkag mus rau hauv lub npe ncaj qha:

  1. Xyuas kom tseeb tias koj tau nkag rau hauv OpenShift Container Platform raws li tus neeg siv tsis tu ncua: $ oc tus ID nkag mus.
  2. Tau txais koj lub token nkag: $ oc whoami -t.
  3. Nkag mus rau Docker npe: $ docker ID nkag mus -u -e -p:

Raws li, duab hauv OpenShift yog dab tsi?

Ib duab kwj thiab nws cov cim npe cuam tshuam muab kev paub daws teeb meem rau kev xa mus rau Docker duab los ntawm sab hauv OpenShift Thawv Platform. Cov duab kwj thiab nws cov cim tso cai rau koj pom dab tsi duab muaj thiab xyuas kom meej tias koj siv qhov tshwj xeeb duab koj xav tau txawm tias cov duab nyob rau hauv lub repository hloov.

OpenShift npe yog dab tsi?

OpenShift Container Platform muab lub thawv sib xyaw npe hu ua OpenShift Thawv Sau npe (OCR) uas ntxiv lub peev xwm los muab cov duab tshiab tso rau ntawm qhov kev thov. Qhov no muab cov neeg siv nrog qhov chaw ua haujlwm rau lawv daim ntawv thov tsim los thawb cov duab tshwm sim.

Pom zoo: