Skip to content
arrow-right-circle

GitHub Action

setup-k3sup

v1 Latest version

setup-k3sup

arrow-right-circle

setup-k3sup

Install K3s with k3sup

Installation

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

              

- name: setup-k3sup

uses: self-actuated/setup-k3sup@v1

Learn more about this action in self-actuated/setup-k3sup

Choose a version

setup-k3sup

Setup a k3s cluster with k3sup

Usage:

    steps:
      - uses: actions/checkout@v4

      - name: Setup Kubernetes
        uses: self-actuated/setup-k3sup@v1
          
      - name: Get nodes
        run: |
          export KUBECONFIG=~/.kube/config
          kubectl get nodes -o wide

The k3sup binary can be cached if desired:

        with:
          cache: 'true'

Todo

  • Add input for --k3s-channel
  • Add input for skipping Traefik