Skip to content

xebialabs-community/community-release-k8s-integration

Repository files navigation

Community Kubernetes Manager Plugin

This document describes the functionality provided by the Community Kubernetes Manager Plugin.

Description

Namespace Operations:

  • 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

Pod Operations:

  • Check Pod Status - Monitors pod status in a namespace with retry logic
  • Execute Command - Runs commands inside a pod container

Secret Operations:

  • 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

ConfigMap Operations:

  • 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

Label Operations:

  • 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

Annotation Operations:

  • 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

Resource Management:

  • 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

Persistent Volume Operations:

  • 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

Persistent Volume Claim Operations:

  • 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

How to build

Build will generate a zip and a docker image pushed to the registry defined in project.properties

  1. Set properties in project.properties
  2. Run build script to build the plugin zip and publish the image to registry:

Unix / macOS

./build.sh

Windows

build.bat
  • To just build the plugin zip file, add --zip flag.
  • To just publish the image to registry, add --image flag.
  • To build the plugin zip, publish image to registry and upload the plugin to Release, add --upload flag.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •