Solved

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

  • 27 October 2023
  • 1 reply
  • 89 views

Userlevel 3
Badge +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

 

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

 

icon

Best answer by Sujeet Saxena 7 November 2023, 06:41

View original

1 reply

Userlevel 3
Badge +8

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

Reply