A GitHub Action that provides kubectl for deploying and managing Kubernetes clusters in CI/CD workflows.
steebchen/kubectl is a GitHub Action that provides the kubectl CLI tool for Kubernetes within GitHub Actions workflows. It allows developers to run kubectl commands directly in their CI/CD pipelines for deploying, managing, and verifying applications on Kubernetes clusters. The action simplifies cluster interactions by handling kubectl installation and secure configuration automatically.
DevOps engineers and developers using GitHub Actions for CI/CD who need to deploy or manage applications on Kubernetes clusters as part of their workflow.
Developers choose this action because it eliminates manual kubectl setup in runners, provides version flexibility, and integrates seamlessly with GitHub Actions for reliable Kubernetes operations. Its straightforward configuration and security-focused design make it a trusted tool for production deployments.
A Github action for kubectl, the Kubernetes CLI
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides the official kubectl binary directly within GitHub Actions workflows, eliminating manual installation on runners, as shown in the simple usage example with required command inputs.
Allows specifying kubectl versions (e.g., v1.21.0) or custom download URLs via the 'version' and 'binaries-url' parameters, offering flexibility for different Kubernetes cluster compatibilities.
Uses base64-encoded kubeconfig files for cluster access, ensuring credentials are handled securely without exposure in plain text, as mandated by the required 'config' parameter.
Minimal configuration overhead with only essential inputs like command and config, making it easy to integrate into existing workflows without complex setup.
Upgrading from v1 to v2 requires changes to variable specifications (e.g., using 'with' for version and config), which can disrupt existing workflows and add maintenance complexity.
Users must manually encode kubeconfig files to base64, an extra step that can introduce errors and complicate setup for less technical teams, as noted in the README's config preparation instructions.
Designed exclusively for GitHub Actions, limiting its utility in other CI/CD environments and creating vendor dependency without easy migration paths.