Kubernetes Clusters - Create Object
Kubernetes Clusters - Create Object
Available in PagerDuty Runbook Automation Commercial products.
Overview
This plugin creates an object of a selected kind within a Kubernetes cluster. It is designed to work in conjunction with the AWS EKS, GCP GKE, and Azure AKS Resource Model Source plugins.
Configuration
Required Fields
- YAML Definition: The YAML definition of the object to be created.
- Namespace: The namespace where the object will be created. Default is
default
.
Optional Fields
- Object Type: Select the type of object to create (e.g., Pods, ConfigMaps, Deployments). Default is "Pods".
- Output Format: Choose the format for the output (JSON or YAML). Default is JSON.
Usage
- Select the desired object type from the dropdown menu.
- Provide the YAML definition for the object you want to create.
- Specify the namespace where the object should be created.
- Choose the preferred output format.
Authentication
Kubernetes Clusters plugins operate on a per-cluster basis and authenticate in one of two ways, as configured in the Resource Model Plugin used to fetch the nodes. This configuration is controlled by the Use Pod Service Account for Node Steps
option:
When disabled, the plugin uses the cloud provider credentials set in the resource model to retrieve the
kube-config for the targeted cluster.When enabled, the Enterprise Runner must be placed in the cluster and uses its pod's K8s service account for authentication.