Skip to content

Activity

ke services activity

Run the activities defined for the services section

ke services activity [number] [flags]

Examples

  # Run the first activity
    ke services activity 1

    # Puede traducir los mensajes al Castellano
    ke services activity 1 --lang es

    # Check the answer provided
    ke services activity 1 --check

    # Remove objects before starting a new activity
    ke services activity 1 --clean

    # Know the correct answer for the activity
    ## the --answer flag invalidates the --check option
    ke services activity 1 --answer

    # Use the answer as input to see the result
    ## the --raw-answer flag invalidates --check and --answer flags
    ke services activity 1 --raw-answer | kubectl apply --filename -
    or
    ke services activity 2 --raw-answer | sh

Options

      --answer       Show the command needed to answer the exercise.
      --check        Check if the answer meets the requirements.
      --clean        Clean namespaces before runs the activity.
  -h, --help         help for activity
      --raw-answer   Show the raw command needed to answer the exercise.

Options inherited from parent commands

      --lang string   Language used to print application messages. Availables languages are: en and es (default "en")

SEE ALSO