Skip to content

Commit

Permalink
Merge pull request rancher#898 from StackVista/stackstate-agent
Browse files Browse the repository at this point in the history
Submitting stackstate/stackstate-k8s-agent
  • Loading branch information
atrendafilov authored Oct 3, 2023
2 parents d2dc82f + 12c2e91 commit b353762
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Introduction

StackState is a modern Application Troubleshooting and Observability solution designed for the rapid evolving engineering landscape. With specific enhancements for Kubernetes environments it empowers engineers, allowing them to remediate application issues independently in production.

The StackState Agent auto-discovers your entire environment in minutes, assimilating topology, logs, metrics, and events and sends this of to the StackState server. By using StackState you're able to tracke all activity in your environment in real-time and over time. StackState provides instant understanding of the business impact of an issue, offering end-to-end chain observability and ensuring that you can quickly correlate any product or environmental changes to the overall health of your cloud-native implementation.
184 changes: 184 additions & 0 deletions packages/stackstate/stackstate-k8s-agent/overlay/questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
questions:
- variable: stackstate.apiKey
label: "StackState API Key"
type: string
description: "The API key for StackState."
required: true
group: General
- variable: stackstate.url
label: "StackState URL"
type: string
description: "The URL where StackState is running."
required: true
group: General
- variable: stackstate.cluster.name
label: "StackState Cluster Name"
type: string
description: "The StackState Cluster Name given when installing the instance of the Kubernetes StackPack in StackState. This is used to identify the cluster in StackState."
required: true
group: General
- variable: all.registry.override
label: "Override Default Image Registry"
type: boolean
description: "Whether or not to override the default image registry."
default: false
group: "General"
show_subquestions_if: true
subquestions:
- variable: all.image.registry
label: "Docker Image Registry"
type: string
description: "The registry to pull the StackState Agent images from."
default: "quay.io"
- variable: global.imagePullCredentials.username
label: "Docker Image Pull Username"
type: string
description: "The username to use when pulling the StackState Agent images."
- variable: global.imagePullCredentials.password
label: "Docker Image Pull Password"
type: secret
description: "The password to use when pulling the StackState Agent images."
- variable: nodeAgent.containers.agent.resources.override
label: "Override Node Agent Resource Allocation"
type: boolean
description: "Whether or not to override the default resources."
default: "false"
group: "Node Agent"
show_subquestions_if: true
subquestions:
- variable: nodeAgent.containers.agent.resources.requests.cpu
label: "CPU Requests"
type: string
description: "The requested CPU for the Node Agent."
default: "20m"
- variable: nodeAgent.containers.agent.resources.requests.memory
label: "Memory Requests"
type: string
description: "The requested memory for the Node Agent."
default: "180Mi"
- variable: nodeAgent.containers.agent.resources.limits.cpu
label: "CPU Limit"
type: string
description: "The CPU limit for the Node Agent."
default: "270m"
- variable: nodeAgent.containers.agent.resources.limits.memory
label: "Memory Limit"
type: string
description: "The memory limit for the Node Agent."
default: "420Mi"
- variable: nodeAgent.containers.processAgent.enabled
label: "Enable Process Agent"
type: boolean
description: "Whether or not to enable the Process Agent."
default: "true"
group: "Process Agent"
- variable: nodeAgent.skipKubeletTLSVerify
label: "Skip Kubelet TLS Verify"
type: boolean
description: "Whether or not to skip TLS verification when connecting to the kubelet API."
default: "true"
group: "Process Agent"
- variable: nodeAgent.containers.processAgent.resources.override
label: "Override Process Agent Resource Allocation"
type: boolean
description: "Whether or not to override the default resources."
default: "false"
group: "Process Agent"
show_subquestions_if: true
subquestions:
- variable: nodeAgent.containers.processAgent.resources.requests.cpu
label: "CPU Requests"
type: string
description: "The requested CPU for the Process Agent."
default: "25m"
- variable: nodeAgent.containers.processAgent.resources.requests.memory
label: "Memory Requests"
type: string
description: "The requested memory for the Process Agent."
default: "128Mi"
- variable: nodeAgent.containers.processAgent.resources.limits.cpu
label: "CPU Limit"
type: string
description: "The CPU limit for the Process Agent."
default: "125m"
- variable: nodeAgent.containers.processAgent.resources.limits.memory
label: "Memory Limit"
type: string
description: "The memory limit for the Process Agent."
default: "400Mi"
- variable: clusterAgent.enabled
label: "Enable Cluster Agent"
type: boolean
description: "Whether or not to enable the Cluster Agent."
default: "true"
group: "Cluster Agent"
- variable: clusterAgent.collection.kubernetesResources.secrets
label: "Collect Secret Resources"
type: boolean
description: |
Whether or not to collect Kubernetes Secrets.
NOTE: StackState will not send the actual data of the secrets, only the metadata and a secure hash of the data.
default: "true"
group: "Cluster Agent"
- variable: clusterAgent.resources.override
label: "Override Cluster Agent Resource Allocation"
type: boolean
description: "Whether or not to override the default resources."
default: "false"
group: "Cluster Agent"
show_subquestions_if: true
subquestions:
- variable: clusterAgent.resources.requests.cpu
label: "CPU Requests"
type: string
description: "The requested CPU for the Cluster Agent."
default: "70m"
- variable: clusterAgent.resources.requests.memory
label: "Memory Requests"
type: string
description: "The requested memory for the Cluster Agent."
default: "512Mi"
- variable: clusterAgent.resources.limits.cpu
label: "CPU Limit"
type: string
description: "The CPU limit for the Cluster Agent."
default: "400m"
- variable: clusterAgent.resources.limits.memory
label: "Memory Limit"
type: string
description: "The memory limit for the Cluster Agent."
default: "800Mi"
- variable: logsAgent.enabled
label: "Enable Logs Agent"
type: boolean
description: "Whether or not to enable the Logs Agent."
default: "true"
group: "Logs Agent"
- variable: logsAgent.resources.override
label: "Override Logs Agent Resource Allocation"
type: boolean
description: "Whether or not to override the default resources."
default: "false"
group: "Logs Agent"
show_subquestions_if: true
subquestions:
- variable: logsAgent.resources.requests.cpu
label: "CPU Requests"
type: string
description: "The requested CPU for the Logs Agent."
default: "20m"
- variable: logsAgent.resources.requests.memory
label: "Memory Requests"
type: string
description: "The requested memory for the Logs Agent."
default: "100Mi"
- variable: logsAgent.resources.limits.cpu
label: "CPU Limit"
type: string
description: "The CPU limit for the Logs Agent."
default: "1300m"
- variable: logsAgent.resources.limits.memory
label: "Memory Limit"
type: string
description: "The memory limit for the Logs Agent."
default: "192Mi"
7 changes: 7 additions & 0 deletions packages/stackstate/stackstate-k8s-agent/upstream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HelmRepo: https://helm.stackstate.io
HelmChart: stackstate-k8s-agent
Vendor: StackState
DisplayName: StackState Agent
ChartMetadata:
kubeVersion: '>=1.19.0-0'
icon: https://raw.githubusercontent.com/StackVista/helm-charts/master/stable/stackstate-k8s-agent/logo.svg

0 comments on commit b353762

Please sign in to comment.