Skip to content

In Kubernetes environments, pods are often dynamically created and assigned unique names. The Kubernetes Pod Name Prefix identification method allows you to target a group of pods belonging to the same deployment by specifying the common prefix of their names. This is particularly useful for managing access for deployments with multiple replicas or deployments that are frequently scaled up or down.

This method is suitable for Edge-based deployments.

  1. Create a new Client Workload.
  2. Choose Kubernetes Pod Name Prefix for client identification.
  3. In the Value field, enter the desired pod name prefix. This is typically the name of your deployment.
  • Use the kubectl get pods command to list all pods in your cluster.
  • Identify the pods belonging to your target deployment. Their names will share a common prefix.
  • Use this common prefix as the Value in the Client Workload configuration.

Ensure that the chosen prefix is unique enough to avoid unintentionally matching pods from other deployments. Please consult the Client Workload multiple identifiers documentation to enhance uniqueness.