Documentation ¶
Overview ¶
package kubecost installs Kubecost OS helm chart. ref. https://www.kubecost.com/
Index ¶
Constants ¶
View Source
const ( DefaultMinimumNodes int = 1 // https://github.com/kubecost/cost-analyzer-helm-chart/releases/download/v1.83.2/ // https://github.com/kubecost/cost-analyzer-helm-chart/archive/refs/tags/v1.83.2.tar.gz DefaultHelmChartRepoURL = "https://kubecost.github.io/cost-analyzer/" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *Config) k8s_tester.Tester
Types ¶
type Config ¶
type Config struct { Enable bool `json:"enable"` Prompt bool `json:"-"` Stopc chan struct{} `json:"-"` Logger *zap.Logger `json:"-"` LogWriter io.Writer `json:"-"` Client client.Client `json:"-"` // MinimumNodes is the minimum number of Kubernetes nodes required for installing this addon. MinimumNodes int `json:"minimum_nodes"` // HelmChartRepoURL is the helm chart repo URL. HelmChartRepoURL string `json:"helm_chart_repo_url"` // Namespace to create test resources. Namespace string `json:"namespace"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-kubecost
k8s-tester-kubecost installs Kubecost using helm, and tests that it's able to function correctly.
|
k8s-tester-kubecost installs Kubecost using helm, and tests that it's able to function correctly. |
Click to show internal directories.
Click to hide internal directories.