As far as I know (and what Google has confirmed to me), the new Chromium OS image does not currently support the Stackdriver agent. As a workaround, I upgraded the node pool back to 'container-vm (which has a Debian image) using the following command:
$ gcloud container clusters upgrade YOUR_CLUSTER_NAME --image-type=container_vm --node-pool=YOUR_NODE_POOL
Replace the cluster name and set the node pool name to the one that was upgraded to gci earlier (in my case, the "default pool"). Node versions will be updated to the latest. However, you can add an option to deploy a different version.
Now you can install the Stackdriver agent in the same way you are used to and configure the necessary custom metrics.
source share