Ping Identity Devops

Prerequisites

In order to use our resources, you will need the following components, software, or other information.

Product license

You must have a product license to run our images. You may either use an evaluation license or existing license.

Evaluation License

Generate an evaluation license obtained with a valid DevOps user key.

When you register for Ping Identity’s DevOps program, you are issued credentials that automate the process of retrieving an evaluation product license.

For more information about using your DevOps program user and key in various ways (including Kubernetes and with stand-alone containers) see this how-to guide: Using Your Devops User and Key

Evaluation licenses are short-lived (30 days) and must not be used in production deployments.

Evaluation licenses can only be used with images published in the last 90 days. If you want to continue to use an image that was published more than 90 days ago, you must obtain a product license.

Existing License

If you possess a product license for the product, you can use it with supported versions of the image (including those over 90 days old mentioned above) by following these instructions to mount the product license.

The mount points and name of the license file vary by product. The link above provides the proper location and name for these files.

Local runtime environment

The initial example uses Kubernetes under Docker Desktop because it does not require a lot of configuration.

In order to try Ping products in a manner most similar to typical production installations, you should consider using a Kubernetes environment. Kind (Kubernetes in Docker) provides a platform to get started with local Kubernetes development. Instructions for setting up a Kind cluster are here.

Other local Kubernetes environments include Rancher Desktop, Docker Desktop with Kubernetes enabled, and minikube.

Rancher Desktop is compatible with Linux, MacOS, and Windows (using WSL). It also supports the docker container runtime, which provides support for running docker commands without installing individual docker components or Docker Desktop.

For running Docker Compose deployments of single products, any Docker Desktop installation or Linux system with Docker and docker compose installed can be used.

Applications / Utilities

  • Helm cli

  • kubectl

  • Homebrew for package installation and management. Homebrew can be used to install k9s, kubectl, helm, and other programs.

      /bin/bash -c "$(curl -fsSL +https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    == Recommended Additional Utilities

  • k9s

      brew install derailed/k9s/k9s
  • kubectx

      brew install kubectx
  • docker-compose

      brew install docker-compose

    Installing docker-compose is only necessary to deploy Docker containers when using Docker with Rancher Desktop. It is included with the Docker Desktop installation.

    See Rancher preferences to switch from containerd to dockerd (moby).

Configure the Environment

  1. Open a terminal and create a local DevOps directory named ${HOME}/projects/devops.

    ${HOME}/projects/devops is the parent directory for all examples referenced in our documentation.

  2. Set your DevOps User and Key as environment variables so the containers can retrieve evaluation licenses. For more information, see DevOps Registration.

    export PING_IDENTITY_DEVOPS_USER=<devops-user>
    export PING_IDENTITY_DEVOPS_KEY=<devops-key>
    export PING_IDENTITY_ACCEPT_EULA=YES
    Add these statements to your shell profile (for example, `~/.bash_profile` in a bash shell) so they persist across sessions.
  3. Verify the variables are exported in your environment. Restart your shell or source your shell profile, then run:

      env | grep 'PING'
  4. If you saved your DevOps credentials in the ~/.pingidentity/config property file (created by earlier Ping Identity DevOps tooling), you can load them into your environment by sourcing the file from your shell profile.