Welcome to the Linux Foundation Forum!

Chapter 5: Deployment Configuration

Options

Does anyone know what to put under readinessProbe command below?

My "try1" containers are 0/6 still and I won't be able to exec -it on one of the 6.

Comments

  • chrispokorni
    Options

    Hi @katsloko,

    In the code snippet above you can see a comment with an arrow pointing at one command to be added, and indicating that the next line should be added as well.

    ...
      command:
      - ls
      - /etc/cars
    ...
    

    The exec command of the readinessProbe: works successfully assuming that the fast-car configMap has been properly defined and mounted as a Volume in step 12 (review the volumes: and the volumeMounts: stanzas of the simpleapp.yaml file).

    Regards,
    -Chris

  • katsloko
    Options

    Thank you Chris for your expertise.

Categories

Upcoming Training