Tyk Operator brings Full Lifecycle API Management capabilities to Kubernetes. Configure Ingress, APIs, Security Policies, Authentication, Authorization, Mediation and more - all using GitOps best practices with Custom Resources and Kubernetes-native primitives.
helm repo add tyk-helm https://helm.tyk.io/public/helm/charts/
helm repo update
Before installing the Operator make sure you follow this guide and complete all steps from it, otherwise the Operator won't function properly: https://github.com/TykTechnologies/tyk-operator/blob/master/docs/installation/installation.md#tyk-operator-installation
NOTE: cert-manager is required as described here.
If you haven't installed cert-manager
yet, you can install it as follows:
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
If you have fully functioning & bootstrapped Tyk Installation and cert-manager, you can install Tyk Operator as follows:
helm install tyk-operator tyk-helm/tyk-operator
By default it will install latest stable release of operator.
You can install any other version by
- Setting
image.tag
in values.yml or with--set {image.tag}={VERSION_TAG}
while doing the helm install. - Installing CRDs of corresponding version. This is important as operator might not work otherwise. You can do so by running below command.
kubectl apply -f https://raw.githubusercontent.com/TykTechnologies/tyk-operator/{VERSION_TAG}/helm/crds/crds.yaml
Replace VERSION_TAG
with operator version tag.
NOTE: If you want to install
latest
release of operator, replaceVERSION_TAG
withmaster
while installing CRDs.