Академический Документы
Профессиональный Документы
Культура Документы
https://console.apps.f6115a399213483d96ac.eastus.azmosa.io
Usuario: manuel.gutierrezgro@imss.gob.mx
Password: M@nu*2019
https://github.com/openshift/origin/releases/tag/v3.11.0
Descomprimir en local
Conectarme por consola
Crear proyectos
Salida
https://docs.openshift.com/container-platform/3.5/dev_guide/templates.html#creating-from-templates-using-
the-web-console
https://blog.openshift.com/part-2-creating-a-template-a-technical-walkthrough/
oc get all
https://blog.openshift.com/part-2-creating-a-template-a-technical-walkthrough/
----------------
$ oc login <source_environment>
$ oc project <source_project>
$ oc export dc,is,svc,route,secret,sa -l promotion-group=<application_name> -o yaml
> export.yaml
$ oc login <target_environment>
$ oc new-project <target_project>
$ oc create -f export.yaml
---------------
Ejemplo
oc export dc,svc,bc --selector="microservice=imagesvc" -o yaml --as-template=imagesvc
Also, they can be used to delete in one operation every resource we have created, like:
$ oc delete all --selector="application=mlbparks"
Registrar template
Registering the template for use in a Project
We will execute the creation of the template as a user in the current project. (The user will
need to have the appropriate roles to create “Template” resources in the current project)
$ oc create -f my_template.json
If the user belongs to multiple projects, and wants to create the template in a different
project from the one he’s currently working on, he can do it with -n <project>.
$ oc create -f my_template.json -n <project>
oc project dev2
C:\OCv311>oc delete all --selector=”app=tasks”
oc project dev2
https://docs.openshift.com/container-platform/3.5/dev_guide/templates.html#creating-from-templates-using-
the-web-console
https://dev.to/wangonya/creating-a-simple-todo-api-with-django-2i1c
https://stackoverflow.com/questions/44702369/openshift-create-template-from-existing-setup
https://developers.redhat.com/blog/2019/09/11/develop-with-django-2-and-python-3-in-a-container-with-
red-hat-enterprise-linux/
https://docs.djangoproject.com/es/2.2/intro/tutorial01/
https://www.jetbrains.com/help/pycharm/running-manage-py.html
https://www.jetbrains.com/help/pycharm/templates.html
https://www.jetbrains.com/help/pycharm/creating-and-editing-run-debug-configurations.html
http://127.0.0.1:8000/pyapppoc/
https://docs.djangoproject.com/es/2.2/intro/tutorial03/
https://blog.openshift.com/part-2-creating-a-template-a-technical-walkthrough/
http://aroworkshop.io/
https://github.com/OpenShiftDemos/openshift-tasks
https://github.com/nichochen/openshift-cd-demo
https://github.com/siamaksade/openshift-cd-demo/blob/ocp-4.1/cicd-template.yaml