github.com/midokura/kubeedge@v1.2.0-mido.0/build/README_zh.md (about) 1 # build目录说明 2 3 ``` 4 # tree build/ 5 build/ 6 ├── cloud 7 │ ├── 01-namespace.yaml 8 │ ├── 02-serviceaccount.yaml 9 │ ├── 03-clusterrole.yaml 10 │ ├── 04-clusterrolebinding.yaml 11 │ ├── 05-configmap.yaml 12 │ ├── 07-deployment.yaml 13 │ ├── 08-service.yaml.example 14 │ ├── Dockerfile 15 │ ├── README.md 16 │ └── README_zh.md 17 ├── crds 18 │ └── devices 19 │ ├── devices_v1alpha1_devicemodel.yaml 20 │ └── devices_v1alpha1_device.yaml 21 ├── crd-samples 22 │ └── devices 23 │ ├── create-device-instance.yaml 24 │ └── create-device-model.yaml 25 ├── deployment.yaml 26 ├── deployment-armv7.yaml 27 ├── edge 28 │ ├── docker-compose.yaml 29 │ ├── Dockerfile 30 │ ├── kubernetes 31 │ │ ├── 01-namespace.yaml 32 │ │ ├── 02-edgenode.yaml 33 │ │ ├── 03-configmap-edgenodeconf.yaml 34 │ │ ├── 04-deployment-edgenode.yaml 35 │ │ ├── README.md 36 │ │ └── README_zh.md 37 │ ├── README.md 38 │ ├── README_zh.md 39 │ └── run_daemon.sh 40 ├── node.json 41 └── tools 42 └── certgen.sh 43 ``` 44 45 - cloud 46 - crds 47 - crd-samples 48 - deployment.yaml 49 - edge 50 - node.json 51 - tools 52 53 ## cloud 54 edegcontroller以deployment部署的相关步骤及说明 55 56 ## crds 57 58 ## crd-samples 59 60 ## edge 61 edgecore以deployment部署的相关步骤及说明 62 63 ## node.json 64 创建node资源的示例 65 66 ## tools 67 `certgen.sh` 用于生成证书和密钥的脚本,主要用于两个地方 68 - 生成cloud和edge的证书,生成的路径在 `/etc/kubeedge/ca`和`/etc/kubeedge/certs` 69 ``` 70 certgen.sh genCertAndKey edge 71 ``` 72 - 用于生成`06-secret.yaml` 73 74 ## deployment.yaml 75 deployment的模板,用于部署nginx到edge node使用 76 77 ## deployment-armv7.xml 78 deployment的模板,用于部署nginx到edge node使用,主要用于armv7架构的edgenode使用。 79 80 如果在armv7的边缘节点不使用专属架构的image,有可能会造成pod起不来,pod的状态为`ExitCode:1` 81 边缘节点对应的docker的日志信息为:`standard_init_linux.go: exec user process caused "exec format error"`