VMware Modern Apps Community
MrSnowCake
Contributor
Contributor
Jump to solution

Air Gapped TKG installation - tanzu plugin list/install

Hi, Good day!

I am new here and trying the TKG.

I was able to install TKG with internet connection but having a problem with Air Gapped approach.

I was able to follow the procedure "Prepare an Internet-Restricted Environment" and "Copy Images into an Airgapped Environment" and it was successful.

But got stuck when trying to do the "tanzu plugin list/sync" and "tanzu management-cluster create --ui"

I am sure I already set the tanzu config to use env.TKG_CUSTOM_IMAGE_REPOSITORY to my local registry but it still fetching the image from the internet.

 

unable to list plugin from discovery 'default': error while processing package: failed to get resource files from discovery: error downloading bundle: Checking if image is bundle: Fetching image: Get "https://projects.registry.vmware.com/v2/": dial tcp 104.87.96.233:443: connect: no route to host
  NAME  DESCRIPTION  SCOPE  DISCOVERY  VERSION  STATUS

 

 

Am I missing something? 

0 Kudos
1 Solution

Accepted Solutions
bdamian
Expert
Expert
Jump to solution

If I remember correctly, you should execute something like:

tanzu plugin list --local <<folder>>

 The management-cluster create command should works as it is.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian

View solution in original post

0 Kudos
2 Replies
bdamian
Expert
Expert
Jump to solution

If I remember correctly, you should execute something like:

tanzu plugin list --local <<folder>>

 The management-cluster create command should works as it is.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
MrSnowCake
Contributor
Contributor
Jump to solution

Hi, Damián.

Thank you very much!

Sharing here:

$ tar zxf tanzu-framework-plugins-standalone-linux-amd64.tar.gz

$ tanzu plugin list --local standalone-plugins

$ tanzu plugin install login -l standalone-plugins

$ tanzu plugin install management-cluster -l standalone-plugins

$ tanzu plugin install package -l standalone-plugins

$ tanzu plugin install pinniped-auth -l standalone-plugins

$ tanzu plugin install secret -l standalone-plugins

$ tanzu plugin install telemetry -l standalone-plugins