RBAC - Privileges, Roles, Permissions & Tokens
RBAC Core Concepts
| Term | Definition |
|---|---|
| Privilege | Authority to perform a specific operation on a resource type (e.g., NF package delete, NF package modify) |
| Role | Group of privileges. TCA supports built-in & user-defined roles. Example: Virtual Infrastructure Admin can CRUD VIMs, K8s cluster templates & instances |
| Permission | Possession of a Role over a set of access-controlled resources |
| Access-Controlled Resource | VIM, NF instance, NS instance, audit log, K8s template, K8s cluster, NF/NS catalog |
| Object Level Access | Restrict user to specific objects (e.g., VNF Admins → only specific VNF catalog). Advanced Filter enables granular object-level permissions |
| Parent-Child Inheritance | Permission on a catalog automatically grants access to all instances in that catalog. Two groups: NF catalogs ↔ NF instances; NS catalogs ↔ NS instances |
Built-in Roles
System AdministratorFull access - manage all resources, create roles/permissions, manage users
Virtual Infra AdministratorRead/Write VIMs, K8s cluster templates & instances, all LCM operations
Virtual Infra AuditRead-Only on Infra; Read-Write on K8s Policies
Virtual Infra ConsumeRead-Only on VIMs/Clusters; Read-Write on K8s Policies for CNF use
ℹ Authentication Provider
TCA uses vCenter Server SSO by default. Switching to Active Directory deletes vCenter/SSO config and removes existing user access. Reconfigure all permissions after switch.K8s Policy Privilege Matrix
| Role | Policy Template | Policy Grant |
|---|---|---|
| System Administrator | Read-Write | Read-Write |
| Virtual Infra Administrator | Read-Write | Read-Write |
| Virtual Infra Audit | Read-Write | Read-Only |
| Virtual Infra Consume | Read-Write | Read-Only |
Token-Based Access
- Kubeconfig Token: Downloaded from TCA UI; contains cluster endpoint + user token; valid for REST API access to K8s cluster at
:8500 - SSH One-Time Token: Generated via "Show Login Credentials" in TCA UI; expiry = 8 hours; used for
ssh <user>@<tcaIp> -p 8501 - Recovery Kubeconfig: Downloaded in advance; provides cluster access when TCA-M or TCA-CP is down; stored securely by admin
- Service Accounts: TCA creates per-VIM registration and per-workload-cluster creation; labeled with policy grant ID or CNF instance ID for lifecycle tracking
- Session Duration: Configurable 10 min - 24 hours (default: 60 min UI); applies to both UI and API; managed via Appliance Manager → Administration → Session Management
Username Length Constraint
Login username must be ≤20 characters. Longer names: login succeeds but group retrieval fails → TCA login fails.
Active Directory Integration
AD Configuration Parameters
| Field | Format / Example | Required |
|---|---|---|
| URL | ldap://<host>:<port> or ldaps://<host>:<port> | Yes |
| Base DN for Users | cn=Users, dc=myCorp, dc=com | Yes |
| Base DN for Groups | cn=Groups, dc=myCorp, dc=com | Yes |
| Admin User DN | cn=administrator,cn=users,dc=telco,dc=net | Yes |
| Password | AD Administrator password | Yes |
| Admin Group Name | cn=Administrators,cn=Builtin,dc=telco,dc=net | Yes |
| Login Format | <username>@ad - must use this format | Yes |
ℹ AD Scope
AD is available for TCA Manager ONLY - not for TCA Control Plane. AD server must be reachable from TCA-M. Only users in adminGroupName inherit System Administrator privileges. AD Deployment Paths
New Deployment - AD Setup ▼
- Login to Appliance Manager → Enter Activation / Datacenter / System Name → Continue
- On "Select Authentication Provider" page → select Active Directory
- Fill AD fields on "Connect Your Active Directory" page → Save
- AD config applies to both TCA Manager and TCA Appliance Manager simultaneously
Existing Deployment - AD Migration ▼
- Appliance Manager → Configurations tab → Active Directory → add details → Save
- DESTRUCTIVE: Switching from vCenter → AD deletes vCenter & SSO configs
- All existing users configured in vCenter lose access immediately
- Post-switch: Modify permissions for each role (e.g., change
vsphere/sysadmin→cn=admingroup,ou=groups,dc=server,dc=net)
Infrastructure Automation - Domain Management & Host Profiles
▸ Infrastructure Automation - 3-Stage Lifecycle
Required Network VLANs (Infrastructure Automation)
| Network | MTU | Type | Purpose |
|---|---|---|---|
| Management Network | 1500 | Routed | vCenter, ESXi, NSX Mgr, TCA, TCA-CP connectivity |
| vMotion Network | 9000 | L2 Routable | Live VM migration; intra-DC only; Jumbo Frames required |
| vSAN Network | 9000 | L2 Routable | vSAN storage traffic; intra-DC only; Jumbo Frames required |
ℹ SW Versions for Infra Automation
vCenter Server: 7.0 U1a/U1c/U2/U2d/U3k, 8.0b, 8.0u1 · ESXi: same versions. Note: For RAN sites, vCenter & ESXi upgrades must be done manually. Host Profile - Key Configuration Options
| Category | Options / Details |
|---|---|
| BIOS Settings | Key-value pairs; applied to all hosts in domain |
| Advanced System Settings | ESXi key-value pairs; some require ESXi restart |
| Firmware | Name, Software ID, Version, URL (HTTP .XML/.EXE), Checksum |
| CPU Power Management | High Performance / Balanced / Low Power / Custom |
| CPU Frequency (GHz) | Config via Host Profile; 1 decimal point max; from TCA 3.1.1+ |
| PCI Device - SR-IOV | Number of Virtual Functions; max 128 networking adapters per CSAR |
| PCI Device - PassThrough | Enable Passthrough flag |
| PCI Device - Custom/Accelerator | Acc100 / vRAN Boost; optional FFT Binary File (vRAN Boost only) |
| PCI Device Groups | Filter by NUMA ID, Device ID, Vendor ID, Alias (regex), Index |
| ESXi Reservation | Reserved cores/NUMA (default: 1 for ESXi 7.0U2+, 2 for older); Memory/NUMA (default: 512 MB); Min cores/NUMA (default: 3) |
FlexRAN on Sapphire Rapid
Broadcom recommends configuring CPU Frequency to Intel-recommended value via Host Profile for FlexRAN workloads on Sapphire Rapid servers. Domain Management - Cell Site Groups
- Cell Site Group min hosts: 1 host (vs. Compute Cluster: 3 hosts)
- Custom Uplink Mapping: Available only at CSG creation time; cannot change existing switch config after hosts added
- Custom Teaming Policy: Specified during CSG creation; switch name, uplink-pnic mapping, teaming policy
- Parent constraint: CSG parent (vCenter domain) must be in PROVISIONED status to add hosts; cannot change parent once hosts added
- Resync: Partial Resync (default) syncs unprovisioned CSG data & retries failed hosts; Full Resync also available
- Datastore naming: Optional prefix → format:
<prefix>-<hostname>{-localDS}{-N}-Nor<hostname>-localDS-N - IPMI support: Username, Password, FQDN per host for BIOS/firmware operations
Immutable CSG Fields (after host added)
- LOCKED: Domain Name, Pre-Deployed flag, Parent Domain
- LOCKED: Existing switch names, uplink mappings
- LOCKED: Existing network names, segment types
- LOCKED: Removing existing switches or networks
Editable Post-Creation
- EDITABLE: Enable/Disable Site Provisioning
- EDITABLE: Host Config Profile association
- EDITABLE: NTP server settings
- EDITABLE: CSI tagging (newly added hosts only)
- EDITABLE: New switches + uplink mappings (additions only)
- EDITABLE: Existing network VLAN ID, teaming policy, MAC learning
Management Network DVS Constraint
If a CSG has multiple DVSes, the switch associated with the management network MUST map to the vmnic that has the vmk0 VMKernel network interface attached.
Infrastructure Lifecycle Management (Infra-LCM) - vCenter & Cluster Upgrade
Infra-LCM Overview
- Auto-deployed: Infra-LCM service deployed automatically with TCA-M and TCA-CP
- Prerequisite: TCA-M must be deployed with Workflow Hub (WFH) option (X-Large)
- Workflows: Must import
infra-lcm.zipfromdefault_workflows.tarinto WFH before use - Hub-Spoke model: TCA-M acts as Infra-LCM hub/router; TCA-CP per-VIM acts as spoke
- Operations: vCenter Pre-Assessment, vCenter Update, Cluster Pre-Assessment, Cluster Upgrade
- UI Toggle: IaaS LCM View enabled by default; toggle disables to reveal Working with Infrastructure Automation view
- Logs:
/var/log/infra-lcm/infra-lcm.logon TCA-M
Secret Manager (WFH) - Required Keys
| Key | Namespace | Value |
|---|---|---|
username | default | TCA Manager username (e.g. admin@vsphere.local) |
password | default | TCA Manager password |
infra_lcm_cred_info | default | JSON: {"vcfqdn":{"username":"...","password":"..."}} |
infra_lcm_backup_settings | default | JSON: {"Backup_Name":{"username":"root","password":"..."}} |
Infra-LCM Error Codes
| Error Code | Description | Resolution |
|---|---|---|
INFRA_LCM_10001 | Upgrade failed | Check vCenter upgrade logs |
INFRA_LCM_10002 | Upgrade spec invalid | Validate spec payload |
INFRA_LCM_10003 | Upgrade task invalid (TCA-CP restart) | Monitor at vCenter; retry WFH |
INFRA_LCM_10004 | Upgrade spec payload validation failed | Fix spec; retry |
INFRA_LCM_10011 | Assessment failed (compatibility issue) | Identify specific validation failure; fix |
INFRA_LCM_10013 | Assessment task invalid (TCA restart) | Retry workflow from WFH |
INFRA_LCM_101001 | Cannot establish vCenter session | Validate secret manager credentials |
INFRA_LCM_101004 | Cannot create draft at vCenter | Check vCenter connectivity |
INFRA_LCM_101007 | Compliance check failed | Check vCenter cluster → Monitoring → Tasks |
INFRA_LCM_101008 | Cluster remediation failed | Check vCenter cluster → Monitoring → Tasks |
INFRA_LCM_101009 | Cluster upgrade failed | Check cluster state at vCenter |
INFRA_LCM_102001 | VIM not found | Register TCA-CP with the VIM; or use agentDetails in spec |
INFRA_LCM_109001 | Service unavailable | Check TCA-M/TCA-CP health |
DRS Required for Cluster Upgrade
DRS must be enabled and set to Fully Automated with threshold=1 on the cluster. Workflow fails at precheck if DRS is not in this state. Certificate Import for vCenter (Infra-LCM)
Via Script (certificate_management_lcm.sh)
# Download vCenter cert
curl -k "https://[SERVER]/certs/download.zip" > certs.zip
# Unzip; use: certs/lin/<file-name.0>
# Replace newlines with \n in cert content
# Script location on TCA-M (reference only - run from external client)
/opt/vmware/scripts/certificate_management_lcm.sh
# Script prompts:
# 1. TCA-CP server address
# 2. Password (username 'tca' is pre-set)
# 3. Path to JSON cert file
# JSON format:
[{"vcenter-1.example.com":{"certificate":"<cert_value>"}},
{"vcenter-2.example.com":{"certificate":"<cert_value>"}}]
# Note: Re-running with same cert overwrites DB entry
Via TCA-CP Admin Console
# Download cert
curl -k "https://[SERVER]/certs/download.zip" > certs.zip
# Upload path in TCA-CP UI:
Administration → Trusted CA Certificate → Import
# Upload: certs/lin/<file-name.0>
# Multi-vCenter on same TCA-CP - enable via configmap:
# tca-infra-lcm-config-override
# property: ALLOW_MULTIPLE_VCENTERS_ON_SAME_TCA_CP
# agentDetails in spec payload (when using multi-vCenter):
{
"agentDetails": {
"agentURL": "https://tcacp-1.example.vmware.com"
}
}
CaaS Infrastructure - Architecture & Cluster Provisioning
▸ CaaS Stack Architecture - TCA-M → Management Cluster → Workload Clusters → CNFs
BYOI Template Import Process
- Download OVA: support.broadcom.com → Software Defined Edge → My Downloads → TCA → release → Drivers & Tools → BYOI template
- Deploy via vSphere Client: Deploy OVF Template → Local file → follow wizard
- Post-deploy: Right-click VM → Template → Convert to Template
- Repeat for each K8s version OVA needed (management + workload)
- Photon OS 5 base; cgroupv2 is default in TCA 3.5 for all new templates
- FIPS builds:
vmware.1-fipsfor LTS versions;vmware.1/vmware.4for non-LTS
Management Cluster Health Components
| Component | Type | Cert Validity | Auto-Renew Trigger |
|---|---|---|---|
| ep-apiserver-* | apiserver | 1 year | 90d before expiry |
| <cluster-name>-certs | kubeconfig | 1 year | 180d before expiry |
| kubernetes CA | apiserver | 10 years | Manual |
| antrea | addon | 1 year | 90d before expiry |
| cert-manager CA | addon | 1 year | 120d before expiry |
| cert-manager server | addon | 7 days | 2d before expiry |
| capi / capv | addon | 90 days | 30d before expiry |
| kapp-controller | addon | 1 year | 30d before expiry |
| metrics-server | addon | 1 year | 30d before expiry |
| ep-vcenter-* | vcenter | User-managed | Manual renewal |
ℹ Alert Thresholds
Warning triggered when cert expiry ≤30 days. Unhealthy when cert expired OR pods not all ready. Cluster Upgrade Key Rules
- Cert renewal: Auto-enabled when upgrading; defaults to 90-day renewal schedule
- Customization preserved: CNF instantiate/upgrade node pool customizations are preserved across cluster upgrade
- Manual changes lost: Direct node-level manual changes are NOT preserved
- IP change: Master node and worker node IP addresses change after upgrade
- App downtime: Applications may face downtime during K8s upgrade
- Intermediate states: Mgmt cluster at 1.30.13 or 1.31.9 → only Upgrade and Delete operations allowed; no other cluster ops
- Upgrade path (Mgmt): 1.29.15 → 1.30.13 → 1.31.9 → 1.32.10
- Failure recovery: Correct config and retry upgrade; cannot skip steps
Cluster Operations Matrix - Backward Compatibility (TCA 3.5)
Management Cluster Operations - TCA 3.5
| Operation | MC v1.32.10 (TKG 2.5.7) | MC v1.29.15/1.30.13/1.31.9 |
|---|---|---|
| Deploy New Cluster | ✓ | ✗ |
| Copy Spec & Deploy | ✓ | ✗ |
| Upgrade Cluster | N/A (at latest) | ✓ (→1.30.13→1.31.9→1.32.10) |
| Edit Config / Add-Ons | ✓ | ✗ |
| Upgrade Add-Ons | ✓ | ✗ |
| Change Password | ✓ | ✗ |
| Delete Cluster | ✓ | ✓ |
| Cancel Cluster Creation | ✓ | ✗ |
| Run Diagnosis | ✓ | ✓ |
| Share / Change Ownership | ✓ | ✓ |
| Edit Control Plane Replicas | ✓ | ✗ |
| Add/Edit/Delete IP Pools | ✓ | ✗ |
| Edit Node Pool Replicas | ✓ | ✗ |
| Collect Log Support Bundle | ✓ | ✓ |
Workload Cluster Operations - MC v1.32.10 + TCA 3.5
| Operation | Legacy WC (1.30.2/1.30.13/1.33.1) | Old WC (1.31.9/1.32.5) | Current WC (1.30.14 - 1.36.1) |
|---|---|---|---|
| Deploy New Cluster | ✗ | ✗ | ✓ |
| Copy Spec & Deploy | ✗ | ✗ | ✓ |
| Upgrade Cluster | ✓ | ✓ | ✓ |
| Edit Config Audit / Pod Security | ✓ | ✓ | ✓ |
| Edit Topology Variables | ✓ | ✓ | ✓ |
| Move to (rehome) | ✗ | ✗ | ✓ |
| Delete Cluster | ✓ | ✓ | ✓ |
| Run Diagnosis | ✓ | ✓ | ✓ |
| Share / Change Ownership | ✓ | ✓ | ✓ |
| Edit Control Plane Replicas / Labels / MHC | ✓ | ✓ | ✓ |
ℹ V1 Workload Clusters
V1 workload clusters were deprecated in TCA 2.3.0. All workload clusters in TCA 3.5 are V2 clusters.
Kubernetes Policies - RBAC, PSA & CNF Permission Enforcement
Policy Types
RBAC Policy (KUBERNETES_RBAC) ▼
- Regulates access to K8s resources based on user/service account roles
- Applied only to CNFs in restricted isolation mode
- Defines ClusterRoles and Roles providing access BEYOND namespaced CNF resources
- Uses service accounts created during VIM registration / workload cluster creation
- K8s prevents privilege escalation: service accounts cannot create higher-privilege accounts
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
purpose: istioCRDs
rules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
resourceNames: ["istiooperators.install.istio.io"]
verbs: ["get","create","update","patch","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: SomeOtherAppNamespace
purpose: GrantAccessForOtherAppServices
rules:
- apiGroups: [""]
resources: ["services"]
verbs: ["get","list"]
PSA Policy (KUBERNETES_PSA) ▼
- Pod Security Admission - regulates pod security standards at cluster or namespace level using namespace labels
- Applied only to CNFs in podSecurity or restricted isolation mode
- Three levels: Privileged Baseline Restricted
- If multiple PSA policies applied to a CNF → most permissive standard wins
- Isolation mode can come from VIM isolation mode or set manually post-CNF creation
RBAC Policy Lifecycle
CREATE
→
DRAFT Auto-expiry set; editable; extended on each edit
FINALIZE
→
FINALIZED No more edits; ready for granting
GRANT
→
ACTIVE (GRANTED) Policy Grant links policy + VIM + CNF package. Cannot edit or delete once granted.
CNF Permission Enforcement - LCM Flow
- Step 1: TCA communicates with target VIM; preconfigures if required
- Step 2: TCA creates service account with required permissions (Roles + ClusterRoles + RoleBindings)
- Step 3: TCA triggers HELM with the created service account (not the unrestricted default account)
- Service Acct Labeling: Labeled with policy grant ID or CNF instance ID → enables clean update/delete
- Access Levels: CNF LCM/READ (instance ops), VIM (deployment target), Namespace (which K8s namespaces usable)
- Auto-generate: Policy can be auto-generated from CNF package descriptor (Authorization → Kubernetes Policies → Generate from CNF Package)
ℹ Policy Template vs Policy Grant
Policy template defines the permission requirement (Role/ClusterRole definitions). Policy Grant links the template to a specific VIM + CNF package/instance/LCM operation, created by Virtual Infrastructure Admin.
OPA Gatekeeper - Security Policy Governance (New in TCA 3.5)
OPA Gatekeeper Architecture
- Engine: OPA Gatekeeper - K8s-native policy controller via admission webhooks
- Policy Basis: 23 built-in hardening policies based on NSA and CISA K8s security best practices
- CRDs:
ConstraintTemplate(reusable Rego logic) +Constraint(specific rules + target resources) - Components: OPA engine, Gatekeeper Controller (admission webhook), CRDs (ConstraintTemplate + Constraint)
- GitOps compatible: Supports GitOps-based workflows for policy management
- UI navigation: Fleet Management → Security Policies → Open Policy Agent (OPA)
- Violations view: Fleet Management → Security Policies → All Violations OR Inventory → Network Functions → expand instance
Enforcement Actions
| Action | Admission-Time | Audit-Time | Effect on Running Workloads |
|---|---|---|---|
| DENY | Blocks pod creation if violating | Flagged as audit violation | Pod not evicted; continues running |
| WARN | No block; violation flagged only | Flagged as audit violation | No disruption; compliance monitoring only |
Violation Types
| Type | When Triggered | Effect |
|---|---|---|
| Admission-Time | New CNF deployed on cluster with existing deny policy; CNF pods violate the deny policy | Pod creation denied; deployment fails unless resolved. WARN policies never trigger this. |
| Audit-Time | CNF already running when new policy applied, OR when warn policy triggered | Pod continues running; flagged for compliance. No eviction. |
OPA Gatekeeper - Deploy & Enforce Workflow
NSA/CISA 23 Built-in Policies
- Deploy via: Fleet Management → Security Policies → Security Policies → filter → Manage Policy
- Edit Defaults: parameters, exempt images, namespace inclusion/exclusion (Include takes priority over Exclude)
- Post-deploy customization: Modify default parameters after policy is active on cluster
- View deployed policies: CaaS Infrastructure → cluster instance → Policies → Security Policies
- OPA version visible per cluster in Deployment Status column
Remote Cluster Access - kubeconfig, SSH & Recovery
kubeconfig Access
- Navigation: Infrastructure → Virtual Infrastructure → VIM → ⋮ → Download Kube Config
- File:
kubeconfig.yaml- contains server endpoint + user token - Server port:
https://<ip>:8500 - Usage:
kubectl --kubeconfig ./kubeconfig.yaml get pods
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: <cert>
server: https://<ip>:8500
name: target
contexts:
- context: {cluster: target, user: target}
name: target
current-context: target
users:
- name: target
user:
token: VIM_<token>
SSH Access (External Client)
- Navigation: Infrastructure → Virtual Infrastructure → VIM → ⋮ → Show Login Credentials
- TCA generates one-time: token, username, password
- Token expiry: 8 hours
- SSH port: 8501
ssh <username>@<tcaIp> -p 8501
Embedded SSH Terminal
- Infrastructure → Virtual Infrastructure → VIM → ⋮ → Open Terminal
- Browser-based terminal connects to K8s cluster
- May fail if pods unscheduled or nodes have untolerated taints
🆘 Recovery Access (TCA Down)
- Download recovery kubeconfig BEFORE TCA becomes unavailable
- Infrastructure → Virtual Infrastructure → VIM → ⋮ → (Download Recovery Kubeconfig)
- Store securely - provides cluster access independent of TCA-M/TCA-CP availability
- Use with
kubectl --kubeconfig recovery-kubeconfig.yaml
Pre-emptive Action Required
Recovery kubeconfig must be downloaded and stored before TCA goes down. Cannot be generated retroactively when TCA is unavailable.Port Reference
| Access Method | Port |
|---|---|
| kubeconfig API (kubectl) | 8500 |
| SSH External Client | 8501 |
| TCA Web UI | 443 |
| TCA Appliance Mgmt | 9443 |
Backup & Restore - Management & Workload Clusters
Management Cluster Backup & Restore
- Method: Backup/restore entire TKG management cluster node VMs
- Scope: Full backup only - partial backup NOT supported
- Constraint: Must backup ALL cluster nodes; restore ALL together
- Infrastructure: Source and restored VMs must use same vCenter + networking + datastore
- TCA-CP: Restored cluster must be associated with same TCA-CP appliance
- Persistent Volumes: Backup of K8s PVs in TKG mgmt cluster NOT supported
Pre-Restore Procedure
Before restoring: (1) Power off all old node VMs (2) Remove from vCenter inventory OR delete from disk. Failure to do so causes old VMs to power on and join cluster, causing split-brain. Keep restored VMs powered off until ALL nodes are restored, then power on together.Workload Cluster - Velero Backup & Restore
- Tool: Velero add-on (installed via workload cluster add-on configuration)
- Storage: Requires S3-compatible object storage (e.g., MinIO) with sufficient space
- Install: During cluster creation OR by editing existing cluster → Add-Ons tab → Velero → Edit
- Prerequisite: Workload cluster must have at least 1 node pool; otherwise Velero pod stays Pending
- Cross-cluster restore: Source and target clusters must be under same vCenter + managed by same mgmt cluster
- Restricted resources: Certain K8s resources cannot be backed up; backup/restore marked "Partially Failed"
- Post-restore: Remedy CNFs from TCA to the new workload cluster
Velero Capabilities
Backup entire workload cluster → restore to new cluster. Backup/restore within same cluster. Manage backup schedules, retention, and deletion. Supports S3-compatible MinIO or cloud object stores.