Skip to content

A helm chart that deploys a simple microservice for sentiment analysis

License

Notifications You must be signed in to change notification settings

GizzmoAsus/sentiment-analysis-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis Service Helm Chart

This Helm chart deploys the Sentiment Analysis Service on a Kubernetes cluster using the Helm package manager. The repo for the service can be found here

Prerequisites

  • Kubernetes 1.12+
  • Helm 3.0+

Installing the Chart

To install the chart with the release name my-release:

helm install my-release <path-to-chart>

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

Configuration

The following table lists the configurable parameters of the Sentiment Analysis Service chart and their default values.

Parameter Description Default
replicaCount Number of replicas 1
image.repository Image repository <your-image-repository>
image.pullPolicy Image pull policy IfNotPresent
image.tag Image tag <tag-version>
imagePullSecrets Image pull secrets ""
nameOverride Override the name of the chart ""
fullnameOverride Override the fullname of the chart ""
securityContext Security context for the pod {}
service.type Kubernetes Service type ClusterIP
service.port Service HTTP port 8080
ingress.enabled Enable ingress controller resource true
ingress.className Ingress class name <ingress-class-name>
ingress.annotations Ingress annotations {}
ingress.hosts Hosts and paths for ingress [{"host": "example.com"}]
ingress.tls Ingress TLS configuration []

Usage

After installing the chart, the Sentiment Analysis Service will be deployed to your Kubernetes cluster. You can interact with the service via its REST API.

Analyzing Sentiments

  • Endpoint: POST /
  • Payload:
{
  "text": "string"
}

Customizing the Chart

To modify the default configuration, create a values.yaml file with your settings and install/upgrade the chart using:

helm install my-release <path-to-chart> -f values.yaml

Contributing

If you have suggestions for improving the chart, please open an issue or pull request in the repository.

License

This Helm chart is distributed under the MIT License. See LICENSE for more information.

NOTE: Remember to replace placeholders like `<path-to-chart>`, `<your-image-repository>`, `<tag-version>`, and `<ingress-class-name>` with the actual values relevant to your chart.

About

A helm chart that deploys a simple microservice for sentiment analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages