The Sematext Operator for Kubernetes provides an easy way to deploy Sematext Agent.
Sematext Agent collects metrics about hosts (CPU, memory, disk, network, processes, etc.), containers (Docker, Podman, containerd, cri-o and rkt) and orchestrator platforms, and ships that to Sematext Cloud. Sematext Cloud is available in the US and EU regions.
It installs the Sematext Agent to all nodes in your cluster via a DaemonSet
resource.
You need to create an Infra App in Sematext Cloud US or Sematext Cloud EU to get your Infra App Token.
To run the operator and its dependencies run the following command:
kubectl apply -f https://raw.githubusercontent.com/sematext/sematext-operator/master/bundle.yaml
Once installed, you can create SematextAgent
resource that deploys Sematext Agent to all nodes in your cluster via DaemonSet
resource:
apiVersion: sematext.com/v1alpha1
kind: SematextAgent
metadata:
name: test-sematextagent
spec:
region: <"US" or "EU">
infraToken: YOUR_INFRA_TOKEN
Run the kubectl delete
command to remove the operator and its dependencies:
kubectl delete -f https://raw.githubusercontent.com/sematext/sematext-operator/master/bundle.yaml
For more details refer to our official Kubernetes Operator documentation.