Skip to content

nops-io/eksblueprint-nops-k8s-agent-addon

Nops Agent Helm Chart

This add-on configures nops-k8s-agent. Worker contains database to keep users entries and pulls metadata from their accounts on a scheduled basis.

Secret

Create a Secret for nops-k8s-agent with following values in it:

  1. nops_api_key
  2. aws_account_id

To learn how to create the nops_api_key, see nOps API Key.

The aws_account_id refers to your AWS account number that is configured within nOps.

Note: Currently the agent does not support signature verification.

The following is an example of Secret Manifest Reference:

apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: nops-k8s-agent
  namespace: <same as nops-k8s-agent installation>
data:
  nops_api_key: YWRtaW4=
  aws_account_id: MWYyZDFlMmU2N2Rm

Requirements

Name Version
terraform >= 1.0.0
aws >= 3.72
helm >= 2.4.1
kubernetes >= 2.10

Deploy Prometheus

You can use your own Prometheus instance or you can launch your nops-k8s-agent namespace directly:

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install prometheus prometheus-community/kube-prometheus-stack

To use your own Prometheus instance, use the deployed prometheus url in app_prometheus_server_endpoint variable.

Providers

Name Version
aws >= 3.72

Modules

Name Source Version
helm_addon ../helm-addon n/a

Resources

Name Type
kubernetes_secret.nops_secrets resource
aws_eks_cluster.eks data source
aws_region.current data source

Inputs

Name Description Type Default Required
addon_context Input configuration for the addon
object({
aws_caller_identity_account_id = string
aws_caller_identity_arn = string
aws_eks_cluster_endpoint = string
aws_partition_id = string
aws_region_name = string
eks_cluster_id = string
eks_oidc_issuer_url = string
eks_oidc_provider_arn = string
tags = map(string)
irsa_iam_role_path = string
irsa_iam_permissions_boundary = string
})
n/a yes
helm_config Helm Config for nops. any {} no
manage_via_gitops Determines if the add-on should be managed via GitOps. bool false no
app_nops_k8s_collector_api_key API Key of nOps string "" yes
app_prometheus_server_endpoint Prometheus server endpoint string "" yes
app_nops_k8s_agent_clusterid NOPS agent cluster id any {} yes
app_nops_k8s_k8s_collector_skip_ssl NOPS collector aws account number any {} yes
app_nops_k8s_k8s_agent_prom_token App nops agent prometheus token any {} yes

Outputs

Name Description
argocd_gitops_config Configuration used for managing the add-on with ArgoCD

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages