Import an External Kubernetes Cluster
Import an external or On-Prem cluster to be managed by DuploCloud
Prerequisite
Creating a service account in the K8s cluster with admin permissions
example with admin access
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: duplo-admin-user
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: duplo-admin-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: duplo-admin-user
namespace: kube-system
---
apiVersion: v1
kind: Secret
metadata:
name: duplo-admin-token
namespace: kube-system
annotations:
kubernetes.io/service-account.name: duplo-admin-user
type: kubernetes.io/service-account-token
---Importing your Kubernetes Cluster to DuploCloud

Viewing Imported Kubernetes Cluster from DuploCloud

Adding Existing Nodes for the imported cluster in DuploCloud

The Add On-Premises Instance pane
Creating a WebServer Service with Cloud as On-Premises


Importing External Kubernetes Cluster as Read-Only
Creating a Service Account in the K8s cluster with Read-Only Access
Importing the Kubernetes cluster to DuploCloud
Last updated
Was this helpful?

