Giter Club home page Giter Club logo

openshift-migration-best-practices's Introduction

Best practices for migrating from OpenShift Container Platform 3 to 4

Check https://redhat-cop.github.io/openshift-migration-best-practices/ for the rendered version of the documents.

Contributing

Read the Guidelines for Red Hat Documentation before opening a pull request.

You can test the changes to this repository via a container.

Run a Jekyll container

  • Clone repository, check out source branch and prepare the Jekyll site

    git clone -b source https://github.com/redhat-cop/openshift-migration-best-practices.git && cd openshift-migration-best-practices
    for i in .jekyll-cache _site; do mkdir ${i} && chmod 777 ${i}; done
    for i in Gemfile.lock; do touch ${i} && chmod 777 ${i}; done
  • On a SELinux enabled OS:

    podman run -it --rm --name jekyll -p 4000:4000 -v $(pwd):/srv/jekyll:Z jekyll/jekyll jekyll serve --watch --future

    NOTE: The Z at the end of the volume (-v) will relabel its contents so that it can be written from within the container, like running chcon -Rt svirt_sandbox_file_t -l s0:c1,c2 yourself. Be sure that you have changed your present working directory to the git cloned directory as shown above.

  • On an OS without SELinux:

    podman run -it --rm --name jekyll -p 4000:4000 -v $(pwd):/srv/jekyll jekyll/jekyll jekyll serve --watch --future

View the site

Visit http://<localhost>:4000 in your local browser.

openshift-migration-best-practices's People

Contributors

alaypatel07 avatar apinnick avatar dependabot[bot] avatar dymurray avatar eriknelson avatar iranzo avatar jameslabocki avatar jwmatthews avatar mannyci avatar mberube9 avatar mberube99 avatar mikelolasagasti avatar mvazquezc avatar mwitzenm avatar pamoedom avatar pranavgaikwad avatar rvanderp3 avatar snecklifter avatar tale-toul avatar tsanders-rh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openshift-migration-best-practices's Issues

Document potential file attribute issue migrating from shared -> block storage

It is likely that if someone tries to migrate PVC’s from shared storages to block
storages for example nfs or gluster to gp2, they will run in to file
permissions errors because of the way kubelet mounts gp2 volumes.

Example:

  1. SRC has an NFS volume that has group access to dir1 and dir2 but dir1 and dir2 have different UID.
  2. On migration to gp2 we rsync the data perserving different UID for dir1 and dir2.
  3. When gp2 volume is mounted, it overwrites the UID permissions for the volume.

It's worth setting this expectation and suggested workarounds should a problem
arise at the application level due to shifting UID/GID values.

Broken link found (/join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices)

Broken link found

Broken Link Checker found a broken link on https://github.com/redhat-cop/openshift-migration-best-practices

Target: /join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices

HTTP_404

View Actions Results

Broken link found (/join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices)

Broken link found

Broken Link Checker found a broken link on https://github.com/redhat-cop/openshift-migration-best-practices

Target: /join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices

HTTP_404

View Actions Results

Broken link found (/join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices)

Broken link found

Broken Link Checker found a broken link on https://github.com/redhat-cop/openshift-migration-best-practices

Target: /join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices

HTTP_404

View Actions Results

Broken link found (/join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices)

Broken link found

Broken Link Checker found a broken link on https://github.com/redhat-cop/openshift-migration-best-practices

Target: /join_next?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=redhat-cop%2Fopenshift-migration-best-practices

HTTP_404

View Actions Results

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.