Skip to content

Activity

ke replicasets activity

Run the activities defined for the replicasets section

ke replicasets activity [number] [flags]

Examples

  # Run the first activity
  ke replicasets activity 1

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

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

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

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

  # Use the answer as input to see the result
  ## the --raw-answer flag invalidates --check and --answer flags
  ke replicasets activity 1 --raw-answer | kubectl apply --filename -
  or
  ke replicasets 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