A Technical Support Engineer or Customer Operator may need to verify specific versions of:
bosh CLItkgi CLI
NOTE: Refer to the "Product Snapshot" section of your TKGI version. Contains a list of some of the components you may want to validate in an environment:
bosh CLI) or the Opsmanager Support bundle
Examples:
bosh CLI: Download the TKGI Deployment Manifestbosh CLI: Download a Kubernetes cluster deployment manifest.tkgi CLI: To show the TKGI Tile version
TKGI: Tile version 1.14 and later
VMware NSX
NSX Container Plugin (NCP)
Antrea Networking
Harbor Registry: Tile version 2.5.0 and later
tkgi CLI when accessing the TKGI environment
Below are different methods for locating the running TKGI version and component versions running within a TKGI foundation.
deployed_manifest_and_configs directorycd support_bundle_XXXXXXXXXXXXXX/deployed_manifest_and_configs/pivotal-container-service-XXXXXXXXXXXXXXXXXXXX
NOTES:
and
Below command obtains the Tile build version from the pivotal-container-service instance_group under properties.service_catalog.maintenance_info:
yq '.instance_groups[1].properties.service_catalog.maintenance_info.public.pks' manifest_last_successful_XXXXXXXXXXXXXX.yml
Example output:
1.20.0-build.52
bosh deployments --column=name | grep pivotal-container-service
Example output:
pivotal-container-service-XXXXXXXXXXXXXXXXXXXX
bosh -d pivotal-container-service-XXXXXXXXXXXXXXXXXXXX manifest > pivotal-container-service_manifest.yaml
yq CLI installedyq '.instance_groups[1].properties.service_catalog.maintenance_info.public.pks' pivotal-container-service_manifest.yaml
Example output:
1.20.0-build.52
tkgi CLI while accessing environmenttkgi clusters | awk '{print $1}'
Example output with 2 Kubernetes clusters running:$ tkgi clusters | awk '{print $1}'
PKS
1.20.0-build.52
1.20.0-build.52
NOTE: These run as bosh jobs in TKGI.
Obtain the TKGI (pivotal-container-service) manifest:
cd support_bundle_XXXXXXXXXXXXXX/deployed_manifest_and_configs/pivotal-container-service-XXXXXXXXXXXXXXXXXXXX
Manifest file name:
manifest_last_successful_XXXXXXXXXXXXXX.yml
bosh CLIbosh deployments --column=name | grep pivotal-container-service
Example output:
bosh -d pivotal-container-service-XXXXXXXXXXXXXXXXXXXX manifest > pivotal-container-service_manifest.yaml
NOTE: This is the Kubernetes version provided with the current TKGI Tile.
yq '.instance_groups[1].properties.service_catalog.maintenance_info.public.kubernetes' pivotal-container-service_manifest.yaml
Example output:
1.29.6
yq '.instance_groups[1].properties.service_deployment.releases | filter(.name == "nsx-cf-cni")' manifest_last_successful_XXXXXXXXXXXXXX.yml
Example output showing version 4.2.0.0 for the ncp job:
- name: nsx-cf-cni version: 4.2.0.0.24016753 jobs: - ncp - nsx-node-agent - openvswitch - nsx-cni - nsx-kube-proxy
yq '.instance_groups[1].properties.service_deployment.releases | filter(.name == "vsphere-csi")' manifest_last_successful_XXXXXXXXXXXXXX.yml
Example output showing version 3.3.0 for the vsphere-csi job:
- name: vsphere-csi version: 3.3.0-build.1 jobs: - csi-controller - csi-images - csi-node-service
yq '.instance_groups[1].properties.service_deployment.releases | filter(.name == "antrea")' manifest_last_successful_XXXXXXXXXXXXXX.yml
Example output showing version 1.13.3 for the antrea CNI bosh process:
- name: antrea version: 1.13.3-build.2 jobs: - deploy-antrea - deploy-proxy-agent - load-antrea-images - prepare-antrea-nodes - proxy-server
yq '.instance_groups[1].properties.service_deployment.releases' manifest_last_successful_XXXXXXXXXXXXXX.yml
NOTE: This runs as a bosh deployment within TKGI.
Obtain the Harbor manifest:
cd support_bundle_XXXXXXXXXXXXXX/deployed_manifest_and_configs/harbor-container-registry-XXXXXXXXXXXXXXXXXXXX
Manifest file name:
manifest_last_successful_XXXXXXXXXXXXXX.yml
bosh CLIbosh deployments --column=name | grep harbor-container-registry
Manifest file name:
bosh -d harbor-container-registry-XXXXXXXXXXXXXXXXXXXX manifest > harbor-container-registry_manifest.yaml
yq '.releases | filter(.name == "harbor-container-registry")' HARBOR_MANIFEST_FILE.yml
Example output showing version 2.11.0 for the harbor-container-registry bosh deployment:
- name: harbor-container-registry
version: 2.11.0-build.2
url: file:///var/tempest/releases/harbor-container-registry-2.11.0.tgz