You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.yaml.template 880 B

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. labels:
  5. app: client
  6. name: client
  7. namespace: default
  8. spec:
  9. selector:
  10. matchLabels:
  11. app: client
  12. template:
  13. metadata:
  14. labels:
  15. app: client
  16. spec:
  17. containers:
  18. - name: clientservice
  19. image: {{IMAGE_REGISTRY_ADDRESS}}/clientservice-x86:latest
  20. imagePullPolicy: Always
  21. volumeMounts:
  22. - name: clientconfig
  23. mountPath: /opt/confs
  24. volumes:
  25. - name: clientconfig
  26. configMap:
  27. name: client-config
  28. nodeSelector:
  29. nodetype: {{NODE_NAME}}
  30. restartPolicy: Always
  31. ---
  32. apiVersion: v1
  33. kind: Service
  34. metadata:
  35. labels:
  36. app: client
  37. name: client
  38. namespace: default
  39. spec:
  40. ports:
  41. - port: 7890
  42. protocol: TCP
  43. targetPort: 7890
  44. nodePort: {{NODE_PORT}}
  45. selector:
  46. app: client
  47. type: NodePort

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。