Category: Kubernetes
-
Post Views: 15 1. After the basic image of the container is replaced, when the RANCHER environment variable, CHANNEL_PUB_API_CFG_MIGrate=true, the container starts failure. Error: php core warningYii\Base\ErrorExceptionwith messagemoduleGDalready loaded. as shown in Figure 1 2. When the RANCHER environment variable, channel_pub_api_cfg_migrate=false, the container starts successfully. as shown in Figure 2 3. When the RANCHER environment variable, channel_pub_api_cfg_migrate=true, is essentially executing…
-
Post Views: 16 1. At this stage, there are two environments in the public cloud. They are COM environments and CSP environments, respectively. COM environment container, as shown in Figure 1 2. Containers in the CSP environment. In the CSP environment, the 2 containers of the COM environment have been merged into one container. And a new container has been…
-
Post Views: 14 1. Reference URL:https://www.shuijingwanwq.com/2021/11/10/5453/. A single data item in the list, after closing it in the background, should have been disappearing all the time. However, within a few minutes, it appears and disappears for a while. After about 5 minutes, it finally disappeared forever. 2. Search in the Rancher of K8s: Varnish, and find that there are 3…
-
Post Views: 15 1. Request the container group in the K8s to request the container group error: Could not resolve host: group.cmc; name or service not known. Unable to resolve host: group.cmc; name or service is unknown. as shown in Figure 1 2. Request a static text file in the GROUP container in the container API, and the request is…
-
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: 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.…