omnictl
installed and configured. If you haven’t done so already, follow the omnictl
guide You will also need also need a cluster created withing Omni.
Note that Omni also supports Omni Service Accounts, which provide authentication to Omni itself. Kubernetes Service Accounts are used to authenticate to a Kubernetes cluster, not Omni.
Creating the Kubernetes Service Account Kubeconfig
To create a service account kubeconfig, run the following command: Replace
<path to kubeconfig>
with a path where the kubeconfig file should be written. Replace <cluster>
with the name of the cluster in Omni. Replace <username>
with any value you would like. kubectl
with the generated kubeconfig.