background
When the amount of data, the browser may be slower upload, data can be introduced into the following two ways.
method one
1. Access k8s Home (port 31234)
Find the namespace micro services created (for example, icloud-native-xxx) Select the "persistent storage volumes statement," to find the beginning of "pvc-gisapplication-data", click on the name
or search for "pvc-gisapplication-data directly above "click on the name
2. Click storage volumes
3. Showing the host address is a real storage address
4. can be viewed directly on linux
5. Review the results of content and micro-service is the same.
Method Two
1. Access Micro Services page
2. Click on the file-manager
3. Copy the name of the vessel, viewed in linux, see the back suggesting k8s_file-manager_file-managerxx, copy vessel name id (eg cb0fd898ed91)
[root@master opt]# docker ps -a | grep file-manager-84d5d94cc4-cvgfq
cb0fd898ed91 3c68d1fe9048 "docker-php-entrypoi…" 4 weeks ago Up 4 weeks k8s_file-manager_file-manager-84d5d94cc4-cvgfq_icloud-native-79_899703ee-235f-4cd8-8f15-41abaaa8511f_0
57bc2c1691b5 k8s.gcr.io/pause:3.1 "/pause" 4 weeks ago Up 4 weeks k8s_POD_file-manager-84d5d94cc4-cvgfq_icloud-native-79_899703ee-235f-4cd8-8f15-41abaaa8511f_0
4. into the container
docker exec -it cb0fd898ed91 /bin/bash
The directory is actually stored in / var / www / files
root@file-manager-84d5d94cc4-cvgfq:/var/www/html# cd /var/www/files
root@file-manager-84d5d94cc4-cvgfq:/var/www/files# ls
World World.zip addressMatchDictionary.dct arthas-packaging-3.1.4-bin arthas-packaging-3.1.4-bin.tar.gz jdk1.8 logs tools.jar
6. Quit container to the host
exit
7. The host machine content into the container, the contents can be seen on the inside of the container upload file-manager or page
docker cp /opt/xxxx 容器名:/var/www/files
(Forwarding please indicate the source: http: //www.cnblogs.com/zhangyongli2011/ if there is wrong, please leave a message, thank you)