Pivotal Container Services (PKS) setup

IMPORTANT

This guide only applies to Next-Gen WAF customers with access to the Next-Gen WAF control panel. If you have access to the Next-Gen WAF product in the Fastly control panel, you can only deploy the Next-Gen WAF with the Edge WAF deployment method.

Integration with Pivotal Container Service (PKS) 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. For additional information about PKS, check out the VMware documentation.

  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 Next-Gen WAF by following the instructions for integrating with Kubernetes.

Was this guide helpful?

Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.