Skip to content

Commit

Permalink
change the deployment name and add all the deployment groups
Browse files Browse the repository at this point in the history
  • Loading branch information
JunjieTang-D1 committed Sep 23, 2024
1 parent 1ddb879 commit 5127425
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 6 deletions.
26 changes: 26 additions & 0 deletions manifests/fine-tuning-6B/base-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: networking
path: git::https://github.com/awslabs/idf-modules.git//modules/network/basic-cdk?ref=release/1.11.0&depth=1
parameters:
- name: InternetAccessible
value: true
---
name: buckets
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/buckets?ref=release/1.11.0&depth=1
parameters:
- name: EncryptionType
value: SSE
- name: RetentionType
value: DESTROY
---
name: ray-ecr
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/ecr?ref=release/1.11.0&depth=1
targetAccount: primary
parameters:
- name: ImageTagMutability
value: MUTABLE
- name: ImageScanOnPush
value: True
- name: Encryption
value: KMS_MANAGED
- name: RemovalPolicy
value: DESTROY
11 changes: 5 additions & 6 deletions manifests/fine-tuning-6B/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: ray-on-eks
name: fine-tuning-6B
forceDependencyRedeploy: True
toolchainRegion: us-east-1
groups:
- name: base
path: manifests/ray-on-eks/base-modules.yaml
path: manifests/fine-tuning-6B/base-modules.yaml
- name: images
path: manifests/ray-on-eks/images-modules.yaml
path: manifests/fine-tuning-6B/images-modules.yaml
- name: core
path: manifests/fine-tuning-6B/core-modules.yaml
- name: integration
path: manifests/ray-on-eks/integration-modules.yaml
path: manifests/fine-tuning-6B/integration-modules.yaml
- name: ray-operator
path: manifests/ray-on-eks/ray-operator-modules.yaml
path: manifests/fine-tuning-6B/ray-operator-modules.yaml
- name: ray-cluster
path: manifests/fine-tuning-6B/ray-cluster-modules.yaml
targetAccountMappings:
Expand All @@ -25,7 +25,6 @@ targetAccountMappings:
rayNamespaceName: ray
draImportPath: /ray/import/
draExportPath: /ray/export/
dockerCredentialsSecret: docker-credential
regionMappings:
- region: us-east-1
default: true
10 changes: 10 additions & 0 deletions manifests/fine-tuning-6B/images-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: ray
path: git::https://github.com/awslabs/aiops-modules.git//modules/eks/ray-image?ref=release/1.5.0&depth=1
targetAccount: primary
parameters:
- name: EcrRepoName
valueFrom:
moduleMetadata:
group: base
name: ray-ecr
key: EcrRepositoryName
63 changes: 63 additions & 0 deletions manifests/fine-tuning-6B/integration-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: lustre-on-eks
path: git::https://github.com/awslabs/idf-modules.git//modules/integration/fsx-lustre-on-eks?ref=release/1.11.0&depth=1
parameters:
- name: EksClusterAdminRoleArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterMasterRoleArn
- name: EksHandlerRoleArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksHandlerRoleArn
- name: EksClusterName
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterName
- name: EksOidcArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksOidcArn
- name: EksClusterSecurityGroupId
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterSecurityGroupId
- name: Namespace
valueFrom:
parameterValue: rayNamespaceName
- name: FsxFileSystemId
valueFrom:
moduleMetadata:
group: core
name: fsx-lustre
key: FSxLustreFileSystemId
- name: FsxSecurityGroupId
valueFrom:
moduleMetadata:
group: core
name: fsx-lustre
key: FSxLustreSecurityGroup
- name: FsxMountName
valueFrom:
moduleMetadata:
group: core
name: fsx-lustre
key: FSxLustreMountName
- name: FsxDnsName
valueFrom:
moduleMetadata:
group: core
name: fsx-lustre
key: FSxLustreAttrDnsName
- name: DraExportPath
valueFrom:
parameterValue: draExportPath
60 changes: 60 additions & 0 deletions manifests/fine-tuning-6B/ray-operator-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: ray-operator
path: git::https://github.com/awslabs/aiops-modules.git//modules/eks/ray-operator?ref=release/1.5.0&depth=1
parameters:
- name: EksClusterAdminRoleArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterMasterRoleArn
- name: EksHandlerRoleArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksHandlerRoleArn
- name: EksClusterName
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterName
- name: EksClusterEndpoint
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterEndpoint
- name: EksOidcArn
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksOidcArn
- name: EksOpenidIssuer
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterOpenIdConnectIssuer
- name: EksCertAuthData
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterCertAuthData
- name: EksClusterSecurityGroupId
valueFrom:
moduleMetadata:
group: core
name: eks
key: EksClusterSecurityGroupId
- name: Namespace
valueFrom:
parameterValue: rayNamespaceName
- name: DataBucketName
valueFrom:
moduleMetadata:
group: base
name: buckets
key: ArtifactsBucketName

0 comments on commit 5127425

Please sign in to comment.