Skip to main content
Solved

IFC Cloud Kubernete installation"main.ps1 -resource 'KUBERNETES"

  • October 27, 2023
  • 3 replies
  • 336 views

Forum|alt.badge.img+8

Hello Experts,

We are facing issue while we trying to run the command “main.ps1 -resource 'KUBERNETES” in order to install the IFSCloud 23R1 and getting below errors.

 

Any clue please ..

 

****************************


             sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
             install-k8s.sh: line 65: microk8s: command not found
            install-k8s.sh: line 76: microk8s: command not found
            install-k8s.sh: line 83: /etc/cron.hourly/microk8s-extend-autoupdate: Permission denied
             install-k8s.sh: line 84: /etc/cron.hourly/microk8s-extend-autoupdate: Permission denied
Host       : xyz-03
Duration   : 00:02:14.1243697
2023-10-27 04:15:14.97   xyz-01 Stop Install-Kubernetes
>>> Finalize Script Execution <<<
Clean up Scripts in Linux Box.
Output     : {}
ExitStatus : 1
Error      : sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Host       : xyz-03
Duration   : 00:00:00.4980989

Close Open Connections with Linux Box.
2023-10-27 04:15:15.48   xyz--01 Start Close-ConnectionsWithLinuxBox
2023-10-27 04:15:15.48   xyz-01 Close Connections with Linux Box(gmuvdifs-coe-03)...
True
True
Close-ConnectionsWithLinuxBox
2023-10-27 04:15:15.49   xyz-01 Stop Close-ConnectionsWithLinuxBox

 

*************************************

 

Best answer by Sujeet Saxena

We got the solution for this issue ,

  1. Disable the firewall.
  2. Enable the Internet

3.kubernet files were not copied under bin folder of ifsroot , that was the reason its not able to find the kubctl in error logs.

 

that 3 steps  resolved the issue

3 replies

Forum|alt.badge.img+8
  • Author
  • Hero (Partner)
  • 13 replies
  • Answer
  • November 7, 2023

We got the solution for this issue ,

  1. Disable the firewall.
  2. Enable the Internet

3.kubernet files were not copied under bin folder of ifsroot , that was the reason its not able to find the kubctl in error logs.

 

that 3 steps  resolved the issue


Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • 8 replies
  • June 3, 2024

Hi @Sujeet Saxena 

Are you referring the Firewall from Windows Management Server or the Linux Server. Internet is enabled from the Windows Management Server.

Regards,
Kanishka


Forum|alt.badge.img+8
  • Author
  • Hero (Partner)
  • 13 replies
  • June 3, 2024

Hello Kanishkatw, this issue is resolved after we restarted the VM windows box...its seems like there was some resource not allocated properly.

 

Thanks for your reply.