search close

Pivotal Container Services (PKS) Setup

access_time Updated Jun 29, 2022

The Signal Sciences Pivotal Container Service (PKS) integration is set up in almost the same manner as a generic Kubernetes install. The main difference is access to the Kubernetes cluster for PKS is done by logging in via the provided pks client binaries from the PKS install.

Installation

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. Additional documentation for PKS can be found here.

  1. Set up your environment.

    # Credentials filename
    export KUBECONFIG=pks-creds.yaml
  2. Log in to PKS using your URL and your username and password.

    pks login -a <your-url> -u <user> -p <password> -k
  3. Create the credentials file (from KUBECONFIG).

    pks get-credentials <cluster-name>
  4. Set the context to the remote cluster so all local commands are run on that remote cluster.

    kubectl config use-context <cluster-name>
  5. 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
  6. Install Signal Sciences by following the instructions for integrating Signal Sciences into a Kubernetes pod.