Deployment
Platform requirements
The requirements that apply to every VCF Extension — VCF Operations version, Cloud Proxy, TLS, certificate handling and registry access — are defined once in Technical and Security Requirements.
Supported versions
| Component | Minimum |
|---|---|
| VMware Aria Operations (VCF Operations) | 8.10.0 |
| Sarkan | Any version exposing the REST API used by the adapter |
Environment and connection requirements
Install the PAK file
- Download the PAK file for the version being installed. The PAK is published on the release page (cs.topthor.com) together with its checksum.
- Verify the checksum of the downloaded file against the value published on the release page.
- In VCF Operations go to
Data Sources > Integrations > Repository > Add, upload the PAK and complete the wizard. The PAK carries the registry, the repository and the digest of the matching container image, so VCF Operations pulls the image through the Cloud Proxy itself. - Enter the license key on the License object of the installed Management Pack.
Configuration
This addon requires access to the Kubernetes API server with read permissions for standard Kubernetes and SaunaFS resources. To enable this, we need to create a service account with the appropriate RBAC permissions and retrieve its certificate and token. You must have kubectl access to the Kubernetes cluster you want to monitor.
Create the service account and RBAC rules
apiVersion: v1 kind: ServiceAccount metadata: name: external-access namespace: default --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: external-access-view roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: view subjects: - kind: ServiceAccount name: external-access namespace: default --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: storage-viewer rules: - apiGroups: [""] resources: ["persistentvolumes", "persistentvolumeclaims"] verbs: ["get", "list", "watch"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["get", "list"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: storage-viewer-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: storage-viewer subjects: - kind: ServiceAccount name: external-access namespace: default --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: node-viewer rules: - apiGroups: [""] resources: ["nodes"] verbs: ["get", "list", "watch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: node-viewer-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: node-viewer subjects: - kind: ServiceAccount name: external-access namespace: default --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: sarkan-view rules: - apiGroups: ["saunafs.sarkan.io"] resources: ["*"] verbs: ["get", "list", "watch"] - apiGroups: ["hostdisk.sarkan.io"] resources: ["*"] verbs: ["get", "list", "watch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: external-access-sarkan-view roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: sarkan-view subjects: - kind: ServiceAccount name: external-access namespace: default --- apiVersion: v1 kind: Secret metadata: name: external-access-token namespace: default annotations: kubernetes.io/service-account.name: external-access type: kubernetes.io/service-account-tokenRetrieve Access Information
API Server URL
kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}'
Service Account Token (base64-encoded)
kubectl get secret -n default external-access-token -o jsonpath='{.data.token}'
CA Certificate (base64-encoded)
kubectl get secret -n default external-access-token -o jsonpath='{.data.ca\.crt}'
Configure Adapter
- Go to Administration > Integrations > Repository
Use filteron the right to find the adapterClick onbrick withSarkan
- Use button
ADD ACCOUNT - Fill the fields
Adapter fields
| Field Name | Definition |
|---|---|
| Name | A unique identifier or label for the adapter. |
| Description | A brief description of the adapter's purpose or function. |
| Kubernetes API server address | Hostname or IP address of the Kubernetes Instance. |
| Credentials | Authentication details service account token and CA certificate. |
| Collector / Group | The collector or group managing data collection. Collector group that runs the adapter; the Cloud Proxy must reach the registry. |
| Kubernetes API server port | The port used to connect to the Kubernetes API. |
| Adapter Memory Limit (MB) | Maximum memory (in MB) the adapter can use. |
| Log Level | Logging detail level: Debug for detailed logging, Normal for standard logs, Trace for extensive tracing. |