Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated values.yaml with the new resource numbers #2195

Closed
wants to merge 153 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
ead36b5
Merge remote-tracking branch 'origin/master' into production
edeutsch Feb 8, 2022
659abbf
Merge remote-tracking branch 'origin/master' into production #1791
amykglen Mar 30, 2022
75f7076
Merge remote-tracking branch 'origin/master' into production #1810
amykglen Apr 20, 2022
39fb6d2
merge master into production
finnagin Apr 23, 2022
0af89c5
#1824, added production checkout command
finnagin Apr 23, 2022
48d51b5
#1824, added itrb-test checkout command
finnagin Apr 23, 2022
a7e8e03
merge master into itrb-test
finnagin Apr 23, 2022
b23d347
merge master into production
finnagin Apr 23, 2022
df7d109
#1824, fix dockerfile checkout bug
finnagin Apr 23, 2022
38547b8
#1824, fix dockerfile checkout bug in itrb-test
finnagin Apr 23, 2022
f8c1159
#1824, fix command order
finnagin Apr 23, 2022
69f6349
#1824, fix command order
finnagin Apr 23, 2022
ad7fd84
merge master into itrb-test
finnagin Apr 26, 2022
f2cf8cc
merge master into production
finnagin Apr 26, 2022
3346381
#1824, set kg2 test domain
finnagin Apr 26, 2022
a9e5efb
#1824, set arax test domain
finnagin Apr 26, 2022
db43916
#1824, set arax prod domain
finnagin Apr 26, 2022
18438f7
#1824, set kg2 prod domain
finnagin Apr 26, 2022
dd10eaa
feat: build version is edited
pahmadi8740 May 6, 2022
e7cc602
feat: jenkinsfile is edited
pahmadi8740 May 6, 2022
e463e05
feat: jenkinsfile is edited
pahmadi8740 May 6, 2022
631f488
feat: jenkinsfile is edited
pahmadi8740 May 6, 2022
f68962d
feat: jenkinsfile is renamed
pahmadi8740 May 6, 2022
76abfad
feat: jenkinsfile is edited to test
pahmadi8740 May 6, 2022
6475843
Update and rename Jenkinsfile to Jenkinsfile-prod
pahmadi8740 May 6, 2022
8cf2d5f
Update and rename Jenkinsfile to Jenkinsfile-prod
pahmadi8740 May 6, 2022
2f93f75
Merge pull request #1834 from pahmadi8740/production
finnagin May 7, 2022
313ded5
Merge pull request #1833 from pahmadi8740/itrb-test
finnagin May 7, 2022
015e359
merge master into itrb-test
finnagin May 18, 2022
d5ea409
merge master into production
finnagin May 18, 2022
201041d
merge master into itrb-test
finnagin May 18, 2022
09d5e95
merge master into production
finnagin May 18, 2022
a5fc658
add support for another ARS instance
edeutsch Jun 6, 2022
a252f2e
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Jun 22, 2022
c912668
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Jun 22, 2022
553e05d
Merge remote-tracking branch 'origin/master' into production
edeutsch Jun 29, 2022
e66f881
Merge branch 'production' of https://github.com/RTXteam/RTX into prod…
edeutsch Jun 29, 2022
28d4a66
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Jul 6, 2022
624c286
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Jul 6, 2022
0b2f41a
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 6, 2022
efdc52f
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Jul 7, 2022
debef03
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Jul 8, 2022
5d07bc7
Merge remote-tracking branch 'origin/master' into production
dkoslicki Jul 8, 2022
40bec01
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Jul 20, 2022
b7abdaa
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 20, 2022
d1de527
Merge branch 'production' of https://github.com/RTXteam/RTX into prod…
edeutsch Jul 20, 2022
3376dfb
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Jul 21, 2022
be91dae
Merge branch 'itrb-test' of https://github.com/RTXteam/RTX into itrb-…
edeutsch Jul 21, 2022
04a50a3
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 21, 2022
93b64e1
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 21, 2022
bf33ca2
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Jul 21, 2022
11ccb64
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 26, 2022
ebaa047
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Jul 26, 2022
dba5a7a
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 27, 2022
e8538a6
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Aug 2, 2022
d9aef4f
Merge remote-tracking branch 'origin/master' into production
edeutsch Aug 2, 2022
7f43fbb
Merge remote-tracking branch 'origin/master' into itrb-test #1838
amykglen Aug 4, 2022
3328cb9
Merge remote-tracking branch 'origin/master' into production #1838
amykglen Aug 4, 2022
7737c9c
add test_data_location
edeutsch Aug 4, 2022
d0aac66
added test_data_location
edeutsch Aug 4, 2022
5be5e68
Merge remote-tracking branch 'origin/master' into production #1838
amykglen Aug 6, 2022
4d29581
Merge remote-tracking branch 'origin/master' into itrb-test
dkoslicki Aug 8, 2022
739e59e
feat: update scripts for new config file
wangk8 Aug 17, 2022
98af29d
fix: update domain for test
wangk8 Aug 17, 2022
6fa4e1f
feat: update scripts for new config file
wangk8 Aug 17, 2022
624f855
Update Jenkinsfile-test
pahmadi8740 Aug 17, 2022
b7c1a96
Update start_app.sh
pahmadi8740 Aug 17, 2022
cba7232
Update download_database.sh
pahmadi8740 Aug 17, 2022
7a0e834
Update KG2-Dockerfile
pahmadi8740 Aug 17, 2022
ead8fb0
Update KG2-Dockerfile
pahmadi8740 Aug 17, 2022
85a1cfb
Update Jenkinsfile-prod
pahmadi8740 Aug 17, 2022
51e202b
Update Jenkinsfile-test
pahmadi8740 Aug 17, 2022
b0c63d2
Update Jenkinsfile-test
pahmadi8740 Aug 17, 2022
9b15c34
Update Jenkinsfile-prod
pahmadi8740 Aug 17, 2022
1d4d3ce
Update download_database.sh
pahmadi8740 Aug 17, 2022
126a239
Update start_app.sh
pahmadi8740 Aug 17, 2022
5f93036
Update KG2-Dockerfile
pahmadi8740 Aug 17, 2022
22c6809
fix: indent fixed
pahmadi8740 Aug 17, 2022
c40c796
indent is fixed
pahmadi8740 Aug 17, 2022
24f29db
Update Jenkinsfile-prod
pahmadi8740 Aug 17, 2022
46515a7
Merge master into itrb-test and resolve conflicts #1607
amykglen Aug 17, 2022
2eaf5df
Merge branch 'itrb-test' into itrb-test
amykglen Aug 17, 2022
64f08ec
Merge pull request #1893 from mapleknight/itrb-test
amykglen Aug 17, 2022
643e69f
Merge pull request #1896 from pahmadi8740/itrb-test
amykglen Aug 17, 2022
3a6de94
Merge master into production and resolve conflicts #1607
amykglen Aug 17, 2022
d9f89d6
Merge branch 'production' into production
amykglen Aug 17, 2022
1bb3116
Merge pull request #1894 from mapleknight/production
amykglen Aug 17, 2022
f9eba6c
Merge branch 'production' into production
amykglen Aug 17, 2022
7f4c18a
Merge pull request #1897 from pahmadi8740/production
amykglen Aug 17, 2022
05fd0bb
Merge remote-tracking branch 'origin/master' into itrb-test
chunyuma Aug 24, 2022
abe7640
Merge remote-tracking branch 'origin/master' into itrb-test
chunyuma Aug 24, 2022
64edf00
Merge remote-tracking branch 'origin/master' into production
edeutsch Sep 6, 2022
6d0a413
update openapi.yaml to have all maturities on 1.3
edeutsch Sep 6, 2022
eb0c1a5
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Sep 9, 2022
54af6a0
Merge remote-tracking branch 'origin/master' into production
edeutsch Sep 9, 2022
494becc
put the transltr.io instance first
edeutsch Sep 9, 2022
d222201
fix title and move transltr.io first
edeutsch Sep 9, 2022
c0eebb0
remove extra development entry
edeutsch Sep 9, 2022
14c7db2
Merge remote-tracking branch 'origin/master' into production
edeutsch Oct 19, 2022
aa658a9
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Oct 19, 2022
8fd4a36
Merge remote-tracking branch 'origin/master' into production
edeutsch Nov 7, 2022
fb68ff2
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Nov 7, 2022
76feb2b
#1937 testing alternate maturity level for test_data_location
saramsey Jan 18, 2023
82d4326
feat: arax pipeline is refactored
pahmadi8740 Feb 8, 2023
9b347f9
fix: deploy label updated
pahmadi8740 Feb 8, 2023
e1d2d2c
fix: build version is updated
pahmadi8740 Feb 8, 2023
bd07d46
feat: kg2 pipeline is refactored
pahmadi8740 Feb 8, 2023
a29e02d
feat: liveness probe added to arax/kg2
pahmadi8740 Feb 8, 2023
5d23b7c
Merge pull request #1963 from pahmadi8740/itrb-test
amykglen Feb 9, 2023
465f756
feat: arax/kg2 refactored in prod
pahmadi8740 Mar 14, 2023
b3eb570
Merge remote-tracking branch 'upstream/production' into production
pahmadi8740 Mar 14, 2023
ee18add
Merge pull request #1976 from pahmadi8740/production
edeutsch Mar 14, 2023
f0c1cc7
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Mar 16, 2023
d86cb36
Merge branch 'itrb-test' of https://github.com/RTXteam/RTX into itrb-…
edeutsch Mar 16, 2023
9ea55a4
fix accidentally committed conflict
edeutsch Mar 16, 2023
7f22e60
fix: trigger removed
pahmadi8740 Mar 17, 2023
c55f038
Merge remote-tracking branch 'upstream/itrb-test' into itrb-test
pahmadi8740 Mar 17, 2023
d1264ac
fix: trigger removed
pahmadi8740 Mar 17, 2023
3f8d772
fix: trigger removed
pahmadi8740 Mar 17, 2023
cd76deb
Merge pull request #1984 from pahmadi8740/production
edeutsch Mar 17, 2023
76e265e
Merge pull request #1985 from pahmadi8740/itrb-test
edeutsch Mar 17, 2023
a58b073
Merge remote-tracking branch 'origin/itrb-test' into production
edeutsch Mar 24, 2023
6342791
Merge branch 'production' of https://github.com/RTXteam/RTX into prod…
edeutsch Mar 24, 2023
959fc50
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Mar 31, 2023
2329a60
Merge remote-tracking branch 'origin/master' into itrb-test
edeutsch Mar 31, 2023
41143be
update first server entry to testing
edeutsch Apr 5, 2023
7b8379a
Merge remote-tracking branch 'origin/itrb-test' into production
edeutsch Apr 5, 2023
56b8c76
switch config to production
edeutsch Apr 5, 2023
e49151c
Merge remote-tracking branch 'origin/master' into production
edeutsch May 11, 2023
1283c20
Merge remote-tracking branch 'origin/master' into production
edeutsch May 11, 2023
f0f5f32
Merge remote-tracking branch 'origin/master' into production
edeutsch May 11, 2023
382ad80
update to partial TRAPI 1.4 rollout state
edeutsch May 18, 2023
9e25204
readjust staging
edeutsch May 18, 2023
38f7715
remove 1.3 instances
edeutsch Jun 1, 2023
6c990d9
remove 1.3 instances
edeutsch Jun 1, 2023
bf9bfde
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 18, 2023
019a711
Merge branch 'production' of https://github.com/RTXteam/RTX into prod…
edeutsch Jul 18, 2023
3010e1e
remove conflicts
edeutsch Jul 19, 2023
138237d
update for all current 1.4 instances
edeutsch Jul 19, 2023
b4e418d
Merge remote-tracking branch 'origin/master' into production
edeutsch Jul 31, 2023
b08a438
Merge branch 'production' of https://github.com/RTXteam/RTX into prod…
edeutsch Jul 31, 2023
829bb7e
Update Jenkinsfile-prod
pahmadi8740 Aug 3, 2023
84f5259
Merge pull request #2085 from pahmadi8740/production-1
edeutsch Aug 3, 2023
c2f80c9
Merge remote-tracking branch 'origin/master' into production
edeutsch Aug 7, 2023
283c6bb
Merge remote-tracking branch 'origin/master' into production
edeutsch Aug 14, 2023
6035ad4
Merge pull request #2107 from RTXteam/master
saramsey Aug 18, 2023
789de42
Merge tag 'itrb-deployment-20231005' into production
edeutsch Oct 7, 2023
99ba2c9
Update values.yaml with new resources
pahmadi8740 Oct 11, 2023
486ca01
Merge pull request #2165 from pahmadi8740/production
edeutsch Oct 11, 2023
ac67d26
Merge tag 'itrb-deployment-20231026' into production
edeutsch Oct 30, 2023
c29b57e
Update values.yaml with new node group
pahmadi8740 Nov 2, 2023
3d8920c
Merge pull request #2194 from pahmadi8740/patch-1
edeutsch Nov 2, 2023
69d79f7
Update values.yaml with new resources number
pahmadi8740 Nov 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DockerBuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ RUN cd /mnt/data/orangeboard/production/RTX/code/autocomplete && sed -i 's/devED
RUN update-rc.d RTX_Complete defaults

# setup config.domain
RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "arax.ci.transltr.io" > config.domain
RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "arax.transltr.io" > config.domain
3 changes: 1 addition & 2 deletions DockerBuild/KG2-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ RUN cd /mnt/data/orangeboard/kg2/RTX/code/autocomplete && sed -i 's/devED/kg2/g'
RUN update-rc.d RTX_Complete defaults

# setup config.domain
RUN su rt && cd /mnt/data/orangeboard/kg2/RTX/code/ && echo "kg2.ci.transltr.io" > config.domain

RUN su rt && cd /mnt/data/orangeboard/kg2/RTX/code/ && echo "kg2.transltr.io" > config.domain
2 changes: 2 additions & 0 deletions DockerBuild/Merged-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN chmod -R 700 /home/rt/.ssh
RUN mkdir -p /mnt/data/orangeboard/production
RUN chown -R rt.rt /mnt/data/orangeboard/production
RUN su rt && cd /mnt/data/orangeboard/production && git clone https://github.com/RTXteam/RTX.git
RUN su rt && cd /mnt/data/orangeboard/production/RTX && git checkout production
RUN chown -R rt.rt /mnt/data/orangeboard/production/RTX

# install apache2 and copy config file
Expand Down Expand Up @@ -73,6 +74,7 @@ RUN su rt && cd /mnt/data/orangeboard/production/RTX/code/ && echo "Github actio
RUN mkdir -p /mnt/data/orangeboard/kg2
RUN chown -R rt.rt /mnt/data/orangeboard/kg2
RUN su rt && cd /mnt/data/orangeboard/kg2 && git clone https://github.com/RTXteam/RTX.git
RUN su rt && cd /mnt/data/orangeboard/kg2/RTX && git checkout production
RUN chown -R rt.rt /mnt/data/orangeboard/kg2/RTX
COPY kg2-config.js /mnt/data/orangeboard/kg2/RTX/code/UI/interactive/config.js

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ info:
x-trapi:
version: 1.4.0
asyncquery: false
test_data_location:
default:
url: https://raw.githubusercontent.com/RTXteam/RTX/production/code/ARAX/KnowledgeSources/RTX_KG2c_test_triples.json
development:
url: https://raw.githubusercontent.com/RTXteam/RTX/kg2integration/code/ARAX/KnowledgeSources/RTX_KG2c_test_triples.json
operations:
- lookup
externalDocs:
Expand All @@ -33,8 +38,20 @@ externalDocs:
description: Documentation for the NCATS Biomedical Translator Reasoners web services
url: https://github.com/NCATSTranslator/ReasonerAPI
servers:
- description: RTX-KG2 TRAPI 1.4 endpoint - development
- description: RTX-KG2 TRAPI 1.4 endpoint - ITRB production
url: https://kg2.transltr.io/api/rtxkg2/v1.4
x-maturity: production
- description: RTX-KG2 TRAPI 1.4 endpoint - production
url: https://arax.ncats.io/api/rtxkg2/v1.4
x-maturity: production
- description: RTX-KG2 TRAPI 1.4 endpoint - testing
url: https://kg2.test.transltr.io/api/rtxkg2/v1.4
x-maturity: testing
- description: RTX-KG2 TRAPI 1.4 endpoint - staging
url: https://kg2.ci.transltr.io/api/rtxkg2/v1.4
x-maturity: staging
- description: RTX-KG2 TRAPI 1.4 endpoint - development
url: https://arax.ncats.io/beta/api/rtxkg2/v1.4
x-maturity: development
tags:
- description: Retrieve the meta knowledge graph representation of this TRAPI web
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ info:
x-trapi:
version: 1.4.0
asyncquery: true
test_data_location: https://raw.githubusercontent.com/RTXteam/RTX/master/code/ARAX/Documentation/arax_kps.json
operations:
- lookup
- lookup_and_score
Expand Down Expand Up @@ -53,8 +54,29 @@ externalDocs:
description: Documentation for the NCATS Biomedical Translator Reasoners web services
url: https://github.com/NCATSTranslator/ReasonerAPI
servers:
- description: ARAX TRAPI 1.4 endpoint - development
- description: ARAX TRAPI 1.4 endpoint - production
url: https://arax.transltr.io/api/arax/v1.4
x-maturity: production
- description: ARAX TRAPI 1.4 endpoint - production
url: https://arax.ncats.io/api/arax/v1.4
x-maturity: production
- description: ARAX TRAPI 1.4 endpoint - testing
url: https://arax.test.transltr.io/api/arax/v1.4
x-maturity: testing
- description: ARAX TRAPI 1.4 endpoint - staging
url: https://arax.ci.transltr.io/api/arax/v1.4
x-maturity: staging
- description: ARAX TRAPI 1.4 endpoint - development
url: https://arax.ncats.io/beta/api/arax/v1.4
x-maturity: development
- description: ARAX TRAPI 1.4 endpoint - development
url: https://arax.ncats.io/test/api/arax/v1.4
x-maturity: development
- description: ARAX TRAPI 1.4 endpoint - development
url: https://arax.ncats.io/devED/api/arax/v1.4
x-maturity: development
- description: ARAX TRAPI 1.4 endpoint - development
url: https://arax.ncats.io/devLM/api/arax/v1.4
x-maturity: development
tags:
- description: Retrieve the meta knowledge graph representation of this TRAPI web
Expand Down
20 changes: 6 additions & 14 deletions deploy/arax/Jenkinsfile → deploy/arax/Jenkinsfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ pipeline {
string(name: 'BUILD_VERSION', defaultValue: '', description: 'The build version to deploy (optional)')
string(name: 'AWS_REGION', defaultValue: 'us-east-1', description: 'AWS Region to deploy')
}
triggers {
pollSCM('H/5 * * * *')
}
environment {
IMAGE_NAME = "853771734544.dkr.ecr.us-east-1.amazonaws.com/translator-rtx-arax"
DOCKER_REPO_NAME = "translator-rtx-arax"
KUBERNETES_BLUE_CLUSTER_NAME = "translator-eks-ci-blue-cluster"
KUBERNETES_GREEN_CLUSTER_NAME = "translator-eks-ci-green-cluster"
KUBERNETES_BLUE_CLUSTER_NAME = "translator-eks-prod-blue-cluster"
KUBERNETES_GREEN_CLUSTER_NAME = "translator-eks-prod-green-cluster"
NAMESPACE = "rtx"
SECRET_NAME = "sftp-ssh-key"
CFGFILE2DL = "[email protected]:/transltr-063208468694-sftp/team-expander/config_secrets.json"
Expand All @@ -31,7 +28,7 @@ pipeline {
steps{
script {
BUILD_VERSION_GENERATED = VersionNumber(
versionNumberString: 'v${BUILD_YEAR, XX}.${BUILD_MONTH, XX}${BUILD_DAY, XX}.${BUILDS_TODAY}',
versionNumberString: 'v${BUILD_YEAR, XX}.${BUILD_MONTH, XX}${BUILD_DAY, XX}.${BUILDS_TODAY}-prod',
projectStartDate: '1970-01-01',
skipFailedBuilds: true)
currentBuild.displayName = BUILD_VERSION_GENERATED
Expand All @@ -49,7 +46,7 @@ pipeline {
stage('Build and Push Docker Image') {
when { expression { return env.BUILD == 'true' }}
environment {
ENV_BUILD_BRANCH= sh (returnStdout: true, script: 'git rev-parse --abbrev-ref HEAD').trim()
ENV_BUILD_BRANCH='production'
}
steps {
script {
Expand All @@ -63,7 +60,7 @@ pipeline {
}
stage('Deploy to AWS EKS Blue') {
agent {
label 'translator && ci && deploy'
label 'translator && prod && deploy'
}
steps {
cleanWs()
Expand All @@ -84,10 +81,5 @@ pipeline {
}
}
}
stage('Clean Up') {
steps {
cleanWs()
}
}
}
}
}
2 changes: 1 addition & 1 deletion deploy/arax/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
httpGet:
path: /
port: http
periodSeconds: 60
periodSeconds: 60
volumeMounts:
- name: {{ include "arax.fullname" . }}-pvc
mountPath: /mnt/data/orangeboard/databases/
Expand Down
4 changes: 2 additions & 2 deletions deploy/arax/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ affinity:

resources:
requests:
memory: 50Gi
cpu: 10000m
memory: 48Gi
cpu: 8000m
limits:
memory: 58Gi
cpu: 14000m
Expand Down
13 changes: 5 additions & 8 deletions deploy/kg2/Jenkinsfile → deploy/kg2/Jenkinsfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ pipeline {
string(name: 'BUILD_VERSION', defaultValue: '', description: 'The build version to deploy (optional)')
string(name: 'AWS_REGION', defaultValue: 'us-east-1', description: 'AWS Region to deploy')
}
triggers {
pollSCM('H/5 * * * *')
}
environment {
IMAGE_NAME = "853771734544.dkr.ecr.us-east-1.amazonaws.com/translator-rtx-kg2"
DOCKER_REPO_NAME = "translator-rtx-kg2"
KUBERNETES_BLUE_CLUSTER_NAME = "translator-eks-ci-blue-cluster"
KUBERNETES_GREEN_CLUSTER_NAME = "translator-eks-ci-green-cluster"
KUBERNETES_BLUE_CLUSTER_NAME = "translator-eks-prod-blue-cluster"
KUBERNETES_GREEN_CLUSTER_NAME = "translator-eks-prod-green-cluster"
NAMESPACE = "rtx"
SECRET_NAME = "sftp-ssh-key"
CFGFILE2DL = "[email protected]:/transltr-063208468694-sftp/team-expander/config_secrets.json"
Expand All @@ -31,7 +28,7 @@ pipeline {
steps{
script {
BUILD_VERSION_GENERATED = VersionNumber(
versionNumberString: 'v${BUILD_YEAR, XX}.${BUILD_MONTH, XX}${BUILD_DAY, XX}.${BUILDS_TODAY}',
versionNumberString: 'v${BUILD_YEAR, XX}.${BUILD_MONTH, XX}${BUILD_DAY, XX}.${BUILDS_TODAY}-prod',
projectStartDate: '1970-01-01',
skipFailedBuilds: true)
currentBuild.displayName = BUILD_VERSION_GENERATED
Expand Down Expand Up @@ -63,7 +60,7 @@ pipeline {
}
stage('Deploy to AWS EKS Blue') {
agent {
label 'translator && ci && deploy'
label 'translator && prod && deploy'
}
steps {
cleanWs()
Expand All @@ -90,4 +87,4 @@ pipeline {
}
}
}
}
}
14 changes: 7 additions & 7 deletions deploy/kg2/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Default values for kg2.

replicaCount: 2
replicaCount: 1

initContainer:
image:
Expand Down Expand Up @@ -45,7 +45,7 @@ ingress:
# toleration to node taint such that this deployment can be scheduled on the tainted node while others without the toleration can not
tolerations:
- key : "rtx"
value : "kg2"
value : "managed-app"
operator : "Equal"
effect : "NoSchedule"

Expand All @@ -59,7 +59,7 @@ affinity:
- key: application
operator: In
values:
- kg2
- managed-app
# this ensures only ONE pod will run on each node
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -68,7 +68,7 @@ affinity:
- key: app.kubernetes.io/name
operator: In
values:
- kg2
- managed-app
topologyKey: "kubernetes.io/hostname"

storageClassName:
Expand All @@ -80,8 +80,8 @@ storage:

resources:
requests:
memory: 56Gi
cpu: 13000m
memory: 48Gi
cpu: 8000m
limits:
memory: 58Gi
cpu: 14000m
cpu: 14000m
Loading