You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Image-suggestion: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Hnowlan
(Created page with "'''image-suggestion''' is a service that provides read-only access to the Data Gateway Service. It is a relatively simple HTTP service running in Kubernetes. It was created by the Platform Engineering Team. The code lives in Gerrit. It is not to be confused with the git:mediawiki/services/im...")
 
imported>Aklapper
(fix two typos)
Line 1: Line 1:
'''image-suggestion''' is a service that provides read-only access to the [[mw:Platform Engineering Team/Data Value Stream/Data Gateway|Data Gateway Service]]. It is a relatively simple HTTP service running in [[Kubernetes]]. It was created by the [[mw:Platform Engineering Team.|Platform Engineering Team]]. The code lives in [[gerrit:plugins/gitiles/generated-data-platform/datasets/image-suggestions/|Gerrit]]. It is not to be confused with the [[git:mediawiki/services/image-suggestion-api|image-suggesions-api]] service.  
'''image-suggestion''' is a service that provides read-only access to the [[mw:Platform Engineering Team/Data Value Stream/Data Gateway|Data Gateway Service]]. It is a relatively simple HTTP service running in [[Kubernetes]]. It was created by the [[mw:Platform Engineering Team|Platform Engineering Team]]. The code lives in [[gerrit:plugins/gitiles/generated-data-platform/datasets/image-suggestions/|Gerrit]]. It is not to be confused with the [[git:mediawiki/services/image-suggestion-api|image-suggestions-api]] service.  


=== Configuration ===
=== Configuration ===

Revision as of 13:51, 25 June 2022

image-suggestion is a service that provides read-only access to the Data Gateway Service. It is a relatively simple HTTP service running in Kubernetes. It was created by the Platform Engineering Team. The code lives in Gerrit. It is not to be confused with the image-suggestions-api service.

Configuration

The Helm chart used by the image-suggestion service is based on the cassandra-http-gateway chart. This chart is a generic chart to allow for the configuration of various services that will offer HTTP interfaces to data stored in Cassandra and is service independent for the most part. The image-suggestion service pods use Helmfile configuration to specify the relevant service-specific bits of configuration.

The service connects to Cassandra using a dedicated user configured in puppet.

Access to the service is managed via the Kubernetes ingress.

Deployment

Deployment of the service uses the standard Helm/Kubernetes process. A lightweight healthcheck is available at /healthz.