For the basic Python application you wouldn't need to export most of those and
for some doing so would cause problems when you try to load them again.
For a basic application with no secrets, configmaps or persistent volumes, all
you need is:
oc export is,bc,dc,svc,route -o yaml
Do not
Not sure how logstash chooses which cert/key to use from the
truststore. You might ask on a logstash forum.
Or, just use the fluentd cert/key with plain old client cert and key
files in pem format, if logstash supports that. You can dump the
fluentd ca, cert, and key using
oc extract -n
I guess that means your admin user doesn’t have the cluster-admin role
On Sat, 2 Jun 2018 at 4:02 am, Brian Keyes wrote:
> I am attempting to follow these instructions
>
>
> https://docs.openshift.com/container-platform/3.7/day_two_guide/project_level_tasks.html
>
> I want to backup THE sample
I am using this script that is mentioned in your documentation
https://docs.openshift.com/container-platform/3.7/day_two_guide/project_level_tasks.html
https://github.com/openshift/openshift-ansible-contrib/blob/master/reference-architecture/day2ops/scripts/project_export.sh
but when I run
I am attempting to follow these instructions
https://docs.openshift.com/container-platform/3.7/day_two_guide/project_level_tasks.html
I want to backup THE sample python app and I created a script like this (
from the documentation)
$ for object in rolebindings serviceaccounts secrets
ok thanks , you can ignore the other question I just posted
thanks!
On Fri, Jun 1, 2018 at 1:32 PM, Fernando Lozano wrote:
> Hi Brian,
>
> You should not try to export and import the complete set of resources of a
> project. Many of them are supposed to be, in the lack of a better work,
>
Hi Brian,
You should not try to export and import the complete set of resources of a
project. Many of them are supposed to be, in the lack of a better work,
'ephemeral', created as a consequence of the configChange trigger of other
resources. Order matters, too. You should export select
it the proper way to export and restore an app ?
1. create the app
2. on the command line switch to your project
3. export the project with "oc export all -o yaml > project.yaml"
4. delete the project
5. manually recreate the project
6. switch to the project
7. restore the project with "oc
HEllo , I am attempting to export and import a project but if I back the
project up wtih
oc export all -o yaml > project.yaml
destroy my open-shift environment completely and then restore with
oc create -f project.yaml I get all kinds of errors , I am not sure why
this is
$ oc create -f
putting the mailing list back.
I am not aware of anything further than the script [1] referenced in the
day 2 guide, which can easily be called in a loop on all the project names
returned by "oc get project"
[1]
10 matches
Mail list logo