The edge system infrastructure is delivered through a CI/CD pipeline to the corresponding edge server via scp. The following files are delivered to the edge server. When building and deploying, the file is deployed and commands are sent through ssh access from the Bridge server (usually, cluster operation server) that can access the edge server.
docker-compose-EDGE_NAME.yaml
• Contains the configuration information of the docker-compose file for the corresponding edge server.
nginx.conf
• Deals with the reverse-proxy configuration of the nginx docker. It sets up routing to the internal docker when accessed from the host.
Metrics-server (kube-system)
• Monitors resource usage every 10 seconds (kubectl top pod, kubectl top node, etc.)
deploy.sh
• A script that performs update & re-deploy, including stopping and pulling docker, and restarting.
Related contents: Devops System, Master Server, Cluster System Infrastructure