This document describes the functionality provided by the Community Kubernetes Manager Plugin.
- Apply Command - Executes kubectl apply to create/update resources from YAML manifests
- List Services - Lists all services in a specified namespace
- List Namespaces - Lists all namespaces in the cluster
- Check Namespace Exists - Verifies if a namespace exists
- Create Namespace - Creates a new namespace
- Delete Namespace - Deletes an existing namespace
- Check Pod Status - Monitors pod status in a namespace with retry logic
- Execute Command - Runs commands inside a pod container
- Get Secret - Retrieves a secret by name from a namespace
- Create Secret - Creates a new secret
- Update Secret - Updates an existing secret
- Patch Secret - Patches a secret with partial updates
- Delete Secret - Removes a secret
- Get ConfigMap - Retrieves a ConfigMap by name
- Create ConfigMap - Creates a new ConfigMap
- Update ConfigMap - Updates an existing ConfigMap
- Patch ConfigMap - Patches a ConfigMap with partial updates
- Delete ConfigMap - Removes a ConfigMap
- List Labels - Lists all labels for a resource
- Get Label - Retrieves a specific label value
- Create Label - Adds a label to a resource
- Update Label - Updates an existing label
- Delete Label - Removes a label from a resource
- List Annotations - Lists all annotations for a resource
- Get Annotation - Retrieves a specific annotation
- Create Annotation - Adds an annotation to a resource
- Update Annotation - Updates an existing annotation
- Delete Annotation - Removes an annotation
- Check Resource Readiness - Monitors Deployment/StatefulSet readiness with timeout
- Wait For Resource Conditions - Waits for specific conditions on resources (Pod, Job, Deployment, etc.)
- Wait For Custom Resource Conditions - Waits for conditions on custom resources
- Fetch Resource as YAML - Exports a resource in YAML format
- Patch Resource - Applies patches to any resource
- Delete Resource - Deletes a generic Kubernetes resource
- List Persistent Volumes - Lists all PVs in the cluster
- Get Persistent Volume - Retrieves PV details
- Create Persistent Volume - Creates a new PV with various storage backends
- Update Persistent Volume - Updates PV properties
- Delete Persistent Volume - Removes a PV
- List Persistent Volume Claims - Lists all PVCs in a namespace
- Get Persistent Volume Claim - Retrieves PVC details
- Create Persistent Volume Claim - Creates a new PVC
- Update Persistent Volume Claim - Updates PVC resource requests
- Delete Persistent Volume Claim - Removes a PVC
Build will generate a zip and a docker image pushed to the registry defined in project.properties
- Set properties in
project.properties - Run build script to build the plugin zip and publish the image to registry:
Unix / macOS
./build.shWindows
build.bat- To just build the plugin zip file, add
--zipflag. - To just publish the image to registry, add
--imageflag. - To build the plugin zip, publish image to registry and upload the plugin to Release, add
--uploadflag.