Discover the Local Kubernetes cluster with SWIFT



  1. We need to login to the ‘SWIFT’ dashboard and navigate to the ‘container cluster’ menu and click on ‘Add’ button.
  2. Once you click on the Add button you will appear a screen below and select the ‘cloud type’ as a ‘Local’ from the dropdown menu.




  1. Friendly name: You need to enter a friendly name according to your cluster or project.
  2. Cloud Type: Choose the ‘cloud type’ from the dropdown as SWIFT supports various K8S clouds.
  3. IP Address/ DNS Name: Put the Master Node IP
  4. Port: Put the port as a 6443
  5. Key: For this you need to create a service account and you will get a secret key that need to copy paste here. Below are the steps on how to create a service account for the local K8S cluster.
    1. Create a service account: ‘kubectl create sa kubeadmin’
    2. Create a Cluster Role Binding (crb) : Create a crb as below and apply. ‘eg.   kubectl apply -f crb.yaml’ 


                    c. Then describe the service account kubeadmin: ‘kubectl describe sa kubeadmin’. You will get ‘Tokens’.

                    d. With that token you will get a secret: ‘kubectl describe secret token_name’. That secret you need to copy and paste it in ‘key’ section in SWIFT.


            6. Remaining Part will be same as cloud k8s cluster for ‘TRAIPOD Config and Advanced options.’




Discover the Local OpenShift cluster with SWIFT

  1. We need to login to the ‘SWIFT’ dashboard and navigate to the ‘container cluster’ menu and click on ‘Add’ button.
  2. Once you click on the Add button you will appear a screen below and select the ‘cloud type’ from the dropdown menu.



  1. Friendly name: You need to enter a friendly name according to your cluster or project.
  2. Cloud Type: Choose the cloud type as a ‘Native Local’ from the dropdown as SWIFT supports various clouds.
  3. IP Address/ DNS Name: Put the Master Node IP
  4. Port: Put the port as a 6443
  5. Key: For this, you need to create a service account, which will provide you with a secret key that you need to copy and paste here. Please refer to the 'Discover Local Kubernetes Cluster' steps on how to create a service account key.
  6. TRAIPOD Config: This is an optional input. These can be configured for each sync, and the values input for the sync will override the defaults set for the cluster. Additionally, you can also select 'TRAIPOD Registry' if you added 'Image Registry'. For more information, you can refer to the TRAIPOD KB article.
  7. Advanced Options: Please refer to the AWS K8S cluster section.
  8. Now you can add a OpenShift Local cluster by pressing ‘Add’ button.