krateoplatformops / krateo-v2-docs

Website content for docs.krateo.io
1 stars 1 forks source link

Wait command for frontend availability fails if no pod is running #43

Closed ghost closed 6 months ago

ghost commented 6 months ago

Describe the bug The Krateo installation page indicates a command to wait for frontend after helm chart has been installed.

If frontend pods are not already started the command breaks instead of waiting for pods.

The behaviour is the following:

$ kubectl wait --for=condition=Ready $(kubectl get pods --field-selector=status.phase!=Succeeded,status.phase!=Failed --output=name -n krateo-system | grep '^pod/krateo-frontend') -n krateo-system
error: You must provide one or more resources by argument or filename.
Example resource specifications include:
   '-f rsrc.yaml'
   '--filename=rsrc.json'
   '<resource> <name>'
   '<resource>'

To Reproduce Steps to reproduce the behavior:

  1. Install Krateo with helm
  2. Just after the helm chart is installed run the frontend wait command
  3. See error

Expected behavior Wait command should wait until the frontend is available

Screenshots Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

braghettos commented 6 months ago

Please try with updated info: https://docs.krateo.io/how-to-guides/installing-krateo/#basic-installation