Category: PaaS
-
Post Views: 19 1. Error in K8S: 504 Gateway time-out nginx/1.17.8. The request timeout limit is 60 seconds. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/2020/02/19/3936/. The relevant parameters have been adjusted to 300 seconds. But still error. 3. Create a new PHP file, running time for more than 120 seconds. curlhttp://127.0.0.1:81/1.phpNo errors were reported. as shown in Figure 2…
-
Post Views: 14 1. Error when building an image in Jenkins: Error checking context:canT stat/dataes/jenkins/workspace/ccp/api/code/vendor/james-heinrich/getid3/demos/demo.mysqli.php. as shown in Figure 1 2. Configure -> Build Environment -> Delete Workspace Before Build Starts (check). Build environment -> Delete the workspace before the build starts. as shown in Figure 2 3. The construction is successful. After the build is successful, you can uncheck…
-
Post Views: 49 1. Build an image in Jenkins and report an error: Error Processing tar file(exit status 1): unexpected EOF. as shown in Figure 1 2. Check the Dockerfile, it should be that the number of the add command is too many, which leads to insufficient space. Reference URL: https://stackoverflow.com/questions/42784396/docker-e rror-error-processing-tar-fileexit-status-1-unexpected-eof . as shown in Figure 2 3. Cut…
-
Post Views: 18 1. The current domain name is: ccpapi.xxx.cn. It can be called normally on the external network. as shown in Figure 1 2. The current Rancher configuration, load balancing. as shown in Figure 2 3. In Konga, Services – Add New Service. name: API_CCP . url:http://api.ccp:82. Fill in these 2 fields only. submit. as shown in Figure 3…
-
Post Views: 19 1. Two items, front and back end, two images, two containers. as shown in Figure 1 2. The front-end builds the directory structure. as shown in Figure 2 3. Interface construction directory structure. as shown in Figure 3 4. Relevant configuration of front-end construction. as shown in Figure 4 5. Relevant configuration of interface construction. as shown…
-
Post Views: 17 1. In K8s, the container has no restart options, as shown in Figure 1 2. In non-K8s, the container has a restart option, modify the php file before, and the container will automatically take effect after restarting. as shown in Figure 2 3. Edit the php file and output some information, as shown in Figure 3 4.…
-
Post Views: 23 1. At this stage, there is a new requirement, and it is necessary to do some initial data work for the product when deploying the product. Prepare the corresponding SQL file, but for the file path in the MySQL table: /upload/20200817/20203555555373.png. It is stored in NAS storage. rather than the program directory. as shown in Figure 1…
-
Post Views: 15 1. Enter the container that the environment variable has been replaced, a configuration file, which is in line with expectations. as shown in Figure 1 2. Enter a container that has not been replaced with an environment variable, and a configuration file does not meet the expectations. as shown in Figure 2 3. View the logs of…
-
Post Views: 13 1. When building an image in jenkins, an error is reported: repository registry-vpc.cn-beijing.aliyuncs.com/cmc/centos-nginx112-php72 Not found: not not exist or no pull access. as shown in Figure 1 2. Adjust the configuration item, build – execute shell – command, the value of the user name and password needs to be modified. as shown in Figure 2 3. Build…