Skip to main content
Version: 2.0.0

Deploying PDP to local Kubernetes using pulumi

In this example, we will show you how to deploy the Permit PDP on Kubernetes using pulumi.

Resources included in this example:

  • Deployment
  • Service
  • Secret

To deploy the PDP on local Kubernetes by pulumi, follow these steps:

git clone https://github.com/permitio/permit-pdp-deployments-examples
cd ./pulumi
pulumi new python
pulumi config set --secret apiKey <YOUR_API_KEY>
pulumi up

Once the PDP is ready, you can start sending authorization requests to it.

Interacting with the PDP

To interact with the PDP internally (from inside the cluster), you can use the service name permitio-pdp.<Your Namespace>.svc.cluster.local.

To interact with the PDP externally (from outside the cluster), you must expose the service using a load balancer or an ingress of your choice.