Skip to content
life-buoy

GitHub Action

kubectl - command-line tool

master Latest version

kubectl - command-line tool

life-buoy

kubectl - command-line tool

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters

Installation

Copy and paste the following snippet into your .yml file.

              

- name: kubectl - command-line tool

uses: asonnleitner/kubectl@master

Learn more about this action in asonnleitner/kubectl

Choose a version

kubectl

GitHub action kubectl command-line tool

Usage

  - name: Get kubectl version
    uses: asonnleitner/kubectl@master
    with:
      command: kubectl version --client --output json