Skip to content
Snippets Groups Projects
Marc Burnie's avatar
Marc Burnie [AWS] authored
commit 89c186cf 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Aug 30 2022 09:23:35 GMT-0500 (Central Daylight Time) 

    Merge branch 'dev' into helm


commit 0efec68a 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Aug 30 2022 07:39:08 GMT-0500 (Central Daylight Time) 

    muting wget


commit e84dd1b2 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Aug 29 2022 13:51:51 GMT-0500 (Central Daylight Time) 

    adding versioning helm chart


commit df1eb185 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 20:41:56 GMT-0500 (Central Daylight Time) 

    changing role arn


commit ce3a8193 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 14:59:44 GMT-0500 (Central Daylight Time) 

    Merge branch 'dev' into helm


commit 8330157c 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 29 2022 14:55:34 GMT-0500 (Central Daylight Time) 

    using release namespace


commit ae53b5ca 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 27 2022 16:28:56 GMT-0500 (Central Daylight Time) 

    using release namespace


commit b8f2d3a6 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 27 2022 13:31:08 GMT-0500 (Central Daylight Time) 

    using service name in template naming sheme due to shared namespacing


commit 27c61c24 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Jul 26 2022 16:28:04 GMT-0500 (Central Daylight Time) 

    correcting hpa resource


commit 4f917414 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Tue Jul 26 2022 10:42:21 GMT-0500 (Central Daylight Time) 

    adding build files to helmignore


commit cf3f323e 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Jul 25 2022 16:53:34 GMT-0500 (Central Daylight Time) 

    correcting README


commit aa7059e6 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Jul 25 2022 15:13:12 GMT-0500 (Central Daylight Time) 

    fixing schema


commit eb1f361b 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Mon Jul 25 2022 09:19:46 GMT-0500 (Central Daylight Time) 

    updating values


commit f4610a97 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Fri Jul 22 2022 12:43:19 GMT-0500 (Central Daylight Time) 

    moving some parameters to global values


commit 488805fc 
Author: Marc Burnie <mburnie@amazon.com> 
Date: Wed Jul 20 2022 14:41:01 GMT-0500 (Central Daylight Time) 

    adding initial service helm chart
b98376f8
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Helm Chart

Introduction

The following document outlines how to deploy and update the service application onto an existing Kubernetes deployment using the Helm package manager.

Prerequisites

The below software must be installed before continuing:

Additionally, an OSDU on AWS environment must be deployed.

Installation/Updating

To install or update the service application by executing the following command in the CHART folder:

helm upgrade [RELEASE_NAME] . -i -n [NAMESPACE]

To observe the Kubernetes resources before deploying them using the command:

helm upgrade [RELEASE_NAME] . -i -n [NAMESPACE] --dry-run --debug

To observe the history of the current release, use the following command:

helm history [RELEASE_NAME] -n [NAMESPACE]

To revert to a previous release, use the following command:

helm rollback [RELEASE] [REVISION] -n [NAMESPACE]

Customizing the Deployment

It is possible to modify the default values specified in the values.yaml file using the --set option. The below parameters can be modified by advanced users to customize the deployment configuration:

Name Example Value Description Type Required
global.accountID 000123456789 The AWS account ID. int yes
global.region us-east-1 The AWS region containing the OSDU deployment. str yes
global.resourcePrefix osdu The resource prefix of the OSDU deployment. str yes
global.allowOrigins {http://localhost,https://www.osdu.aws} A list of domains that are permitted by CORS policy. An empty list permits all origins. array[str] no
podAnnotations podAnnotations.version=v1.0.0 Additional annotations on the service pod dict no
imagePullPolicy IfNotPresent The service image pull policy str no
replicaCount 1 The number of pod replicas to be deployed int no
autoscaling.minReplicas 1 Minimum number of pod replicas int no
autoscaling.maxReplicas 100 Maximum number of pod replicas int no
autoscaling.targetCPUUtilizationPercentage 80 CPU utilization target int no

Uninstalling the Chart

To uninstall the helm release:

helm uninstall [RELEASE] -n [NAMESPACE] --keep-history