Create Service Token
To create a service token that needs to be entered in the connection creation when GigaVUE‑FM is selected as the inventory collector, follow these steps:
1. | Create service account for GigaVUE-FM using the following command: |
kubectl create serviceaccount <fmserviceaccountname> -n <gigamonnamespace>
2. | Create cluster role binding with the above cluster role and the previously created service account using the following command: |
kubectl create clusterrolebinding <clusterrolebindingname> --clusterrole=cluster-admin --serviceaccount=<gigamonnamespace>:<fmserviceaccountname>
3. | Get the token value to use by following the command: |
kubectl describe serviceaccount <fmserviceaccountname>
kubectl describe secret <secretname from the above output>