search close

Pivotal Container Services (PKS) Setup

access_time Updated Jun 20, 2021

Signal Sciences and PKS

Protect your cloud-native applications deployed on the Pivotal Platform. With the Signal Sciences Service Broker, our next-gen WAF and RASP detects and stops web layer attacks, maintains site reliability, and provides visibility that empowers DevOps teams, all at a lower cost of ownership than legacy WAF solutions. Read our blog post for more information about the Pivotal PKS and Signal Sciences partnership.

Getting Started

There is nothing specific to do to integrate with PKS. Integration is the same as a generic Kubernetes install. The only difference is access to the Kubernetes cluster for PKS which is done by logging in via the provided pks client binaries from the PKS install

Setup the Environment

First setup your environment.

# Credentials filename
export KUBECONFIG=pks-creds.yaml

Login to PKS

You then need to login to PKS using your URL and username/password.

pks login -a <your-url> -u <user> -p <password> -k

Create the Credentials File

You then create the credentials file (from KUBECONFIG).

pks get-credentials <cluster-name>

Set the Context to the Remote Cluster

Set the context to the remote cluster so that all local commands are run on that remote cluster.

kubectl config use-context <cluster-name>

Deploy your Application Following Normal Kubernetes Instructions

Confirm the configuration has been set up correctly by running commands on the remote cluster, such as listing the pods:

kubectl get pods

To set up Signal Sciences, follow the normal Kubernetes instructions to integrate Signal Sciences into a Kubernetes pod.