odigos pro update-offsets
Update Odiglet to use the latest available Go instrumentation offsets
Synopsis
This command pulls the latest available Go struct and field offsets information from Odigos public server.
Internet access is required to fetch latest offset manifests.
It stores this data in a ConfigMap in the Odigos Namespace and updates the Odiglet DaemonSet to mount it.
Use this command when instrumenting apps that depend on very new dependencies that aren’t currently supported
with the installed version of Odigos.
Note that updating offsets does not guarantee instrumentation for libraries with significant changes that
require an update to Odigos. See docs for more info: https://docs.odigos.io/instrumentations/golang/ebpf#about-go-offsets
odigos pro update-offsets [flags]
Examples
# Pull the latest offsets and restart Odiglet
odigos pro update-offsets
# Revert to using the default offsets data shipped with Odigos
odigos pro update-offsets --default
# Download the offsets file to a specific location without updating the cluster
odigos pro update-offsets --download-file /path/to/save/offsets.json
# Use a local offsets file instead of downloading it
odigos pro update-offsets --from-file /path/to/local/offsets.json
Options
--default revert to using the default offsets data shipped with the current version of Odigos
--download-file string download the offsets file to the specified location without updating the cluster
--from-file string use the offsets file from the specified location instead of downloading it
-h, --help help for update-offsets
Options inherited from parent commands
--kube-context string (optional) name of the kubeconfig context to use
--kubeconfig string (optional) absolute path to the kubeconfig file (default "KUBECONFIG")
-r, --remote use odigos ui service in the cluster to update the onprem token
-v, --verbose enable verbose output
SEE ALSO
- odigos pro - Manage Odigos onprem tier for enterprise users