DEV Community

Vishwas Rajput
Vishwas Rajput

Posted on

Deploy 3scale on OKD3.11 all in one cluster

There are multiple approaches to setup 3scale APIcast on Openshift origin. The one with yaml file is the common approach to setup 3scale account. Another approach is the easiest one where you need to pull 3scale image on local docker repository, then create new application in OKD from docker image by passing required parameters. I have used this approach to setup 3scale APIcast on my all in one OKD cluster on AWS.

  • Pull the 3scale image to your local docker repository.

docker pull

In all cases, in order to setup 3scale you need to have 3scale account. Steps to create and configure 3scale account are given here (

  • Once configured 3scale account, you need 'ACCESS_TOKEN' along with your 3scale account URL which is called ADMIN_PORTAL_DOMAIN, to create secret which in turn used by your application for authentication. Create secret as discussed in the above approach.

oc create secret generic apicast-configuration-url-secret --from-literal=password=

Using 'ACCESS_TOKEN' and 'ADMIN_PORTAL_DOMAIN', you can configure another environment variable 'THREESCALE_PORTAL_ENDPOINT'.


  • In order to create application using local 3scale docker image, you need to pass environment variables

oc new-app --param CONFIGURATION_URL_SECRET=apicast-configuration-url-secret -e THREESCALE_PORTAL_ENDPOINT=

This should setup 3scale APIcast on your all in one OKD cluster.

Top comments (0)