Açıklama Yok

orborus.yaml 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ---
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: Role
  4. metadata:
  5. namespace: default
  6. name: pod-manager
  7. rules:
  8. - apiGroups: [""]
  9. resources: ["pods"]
  10. verbs: ["get", "list", "create", "update", "delete"]
  11. - apiGroups: ["batch"]
  12. resources: ["jobs"]
  13. verbs: ["create", "get", "list", "watch", "delete"]
  14. ---
  15. apiVersion: rbac.authorization.k8s.io/v1
  16. kind: RoleBinding
  17. metadata:
  18. name: pod-manager-binding
  19. namespace: default
  20. subjects:
  21. - kind: ServiceAccount
  22. name: default
  23. namespace: default
  24. roleRef:
  25. kind: Role
  26. name: pod-manager
  27. apiGroup: rbac.authorization.k8s.io
  28. ---
  29. apiVersion: apps/v1
  30. kind: Deployment
  31. metadata:
  32. name: orborus
  33. annotations:
  34. kompose.cmd: kompose convert -f docker-compose.yml
  35. kompose.version: 1.26.0 (40646f47)
  36. labels:
  37. io.kompose.service: orborus
  38. spec:
  39. replicas: 1
  40. selector:
  41. matchLabels:
  42. io.kompose.service: orborus
  43. strategy: {}
  44. template:
  45. metadata:
  46. annotations:
  47. kompose.cmd: kompose convert -f docker-compose.yml
  48. kompose.version: 1.26.0 (40646f47)
  49. creationTimestamp: null
  50. labels:
  51. io.kompose.network/shuffle: "true"
  52. io.kompose.service: orborus
  53. spec:
  54. dnsPolicy: "Default"
  55. containers:
  56. - env:
  57. - name: BASE_URL
  58. value: "https://shuffler.io"
  59. - name: SHUFFLE_SCALE_REPLICAS
  60. value: "7"
  61. - name: IS_KUBERNETES
  62. value: "true"
  63. - name: ENVIRONMENT_NAME
  64. value: "environment test"
  65. - name: ORG
  66. value: "9c938e5b-d812-40d9-92f0-93783f43ec0d"
  67. - name: AUTH
  68. value: "3663a270-bb3a-4678-a365-d879601a1a0c"
  69. - name: SHUFFLE_WORKER_IMAGE
  70. value: "ghcr.io/shuffle/shuffle-worker:nightly"
  71. image: ghcr.io/shuffle/shuffle-orborus:nightly
  72. imagePullPolicy: Always
  73. name: shuffle-orborus
  74. resources: {}
  75. hostname: shuffle-orborus
  76. restartPolicy: Always