Skip to content

codefresh-io/codefresh-support-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codefresh Support Package

This project is designed to gather data from Hybrid Runtimes for Codefresh SaaS platform, and Hybrid Runtimes and OnPrem isntallation on the OnPrem Platform. It collects information about various Kubernetes resources such as Pods, Nodes, Configmaps, Services, and Events. For Classic and OnPrem we gather some informtion from the platform itself.

Prereqs

  • kubectl
    • Current Context must be the context of the cluster where the Codefresh is installed.
  • Codefresh
    • CLI installed and configured.
    • Or the following ENV vars set.
      • CF_API_KEY: Codefresh API Token
      • CF_URL: URL of the platform (ex: https://g.codefresh.io)
    • Need an Account Admin Token for Claasic Hybrid Runtime.
    • Need a System Admin Token for the OnPrem Installation.
  • JQ
    • Used only to get the latest version of the binary for *nix systems.

Usage

macOS - arm64

# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/codefresh-support/codefresh-support-package/releases/latest" | jq -r ".tag_name")

# download and extract the binary
curl -L --output - https://github.com/codefresh-support/codefresh-support-package/releases/download/$VERSION/cf-support_darwin_arm64.tar.gz | tar zx -O > cf-support

# set execution to binary
chmod +x cf-support

# run application
./cf-support

macOS - x86_64

# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/codefresh-support/codefresh-support-package/releases/latest" | jq -r ".tag_name")

# download and extract the binary
curl -L --output - https://github.com/codefresh-support/codefresh-support-package/releases/download/$VERSION/cf-support_darwin_x86_64.tar.gz | tar zx -O > cf-support

# set execution to binary
chmod +x cf-support

# run application
./cf-support

linux - x86_64

# get the latest version or change to a specific version
VERSION=$(curl --silent "https://api.github.com/repos/codefresh-support/codefresh-support-package/releases/latest" | jq -r ".tag_name")

# download and extract the binary
curl -L --output - https://github.com/codefresh-support/codefresh-support-package/releases/download/$VERSION/cf-support_linux_x86_64.tar.gz | tar zx -O > cf-support

# set execution to binary
chmod +x cf-support

# run application
./cf-support

Windows - x86_64

  1. Go the the Latest release.
  2. Download the cf-support_windows_x86_64.zip file
  3. Run the .exe file via CMD or PowerShell

About

Codefresh Support Package for On-Prem and Hybrid Runtimes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •