YAML
Install the Traceable Platform agent in Kubernetes using YAML manifests, including namespace labeling and deployment steps
Make sure that you have gone through the prerequisites and other information in the Kubernetes topic before proceeding ahead.
Label namespace
Create traceable namespace Enter the following command to create a traceableai namespace:
kubectl create namespace traceableaiInstall traceable service in a Kubernetes cluster
Enter the following command to install traceable service in a Kubernetes cluster. Give a meaningful name to the cluster to identify it on Traceable’s Dashboard:
export CLUSTER_NAME=<cluster name> export ENV=<dev,test,stage,prod>
kubectl --namespace traceableai create secret generic cluster-name-secret --from-literal=cluster-name=$CLUSTER_NAMEGenerate token Enter the following command to generate a unique token:
export TOKEN=<Traceable Token>
kubectl --namespace traceableai create secret generic token-secret --from-literal=token=$TOKENApply the YAML file Enter the following command to apply Traceable’s YAML file:
kubectl apply -f https://downloads.traceable.ai/install/traceable-agent/manifests/kubernetes/latest/traceableai.yamlSet an environment variable
kubectl set env deployment/traceable-agent -n traceableai TA_ENVIRONMENT=$ENVRestart the pods
Verify
Enter the following command to verify a successful installation of traceable-agent:
For example,
Next steps
Go to Introduction for details.
Go to Helm for details.
Go to Terraform for details.
Was this helpful?