20 lines
891 B
Markdown
20 lines
891 B
Markdown
# Deviceplugindemo
|
||
为自定义硬件接入k8s所需要实现的简单demo示例
|
||
|
||
|
||
## Getting started
|
||
下载项目代码到本地 使用 go build . 方式生成可执行文件在k8s/k3s集群内主机上运行。目前裸机上运行,根据项目实际需求,可变动到云上部署,建议采用daemonset的方式进行部署。
|
||
|
||
## Add your files
|
||
|
||
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
||
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
||
|
||
```
|
||
cd existing_repo
|
||
git remote add origin https://git.mesalab.cn/linxin/deviceplugindemo.git
|
||
git branch -M main
|
||
git push -uf origin main
|
||
```
|
||
|