Home / Companies / Tyk / Blog / Post Details
Content Deep Dive

How to deploy Python plugins in Tyk running on Kubernetes

Blog post from Tyk

Post Details
Company
Tyk
Date Published
Author
Jennifer Craig
Word Count
1,411
Language
English
Hacker News Points
-
Summary

The tutorial provides a comprehensive guide on deploying Python plugins within the Tyk API management platform running on Kubernetes, emphasizing the synergy between Tyk and Kubernetes for scalable and modern deployments. It details the process of creating a custom Python plugin, which involves setting up two key files—a manifest.json and a middleware.py—in order to inject headers into requests at specific stages within the Tyk Gateway. The guide further explains how to bundle these files for the Tyk Gateway, serve them using a local server, and subsequently deploy them onto a Kubernetes cluster using Minikube and Helm. Additionally, it outlines the steps to install Tyk Operator, which manages Kubernetes resources through custom resource definitions, and demonstrates how to load the Python plugin onto an API endpoint using the Tyk Operator. The tutorial concludes with a brief mention of Tyk Operator's availability status and provides resources for further exploration and deployment of Tyk solutions.