...

/

Declarative vs. Imperative

Declarative vs. Imperative

Understand the difference between the declarative and the imperative method of performing updates.

We’ve seen the following two ways to perform updates:

  • Declaratively: The declarative method is the preferred method and requires all updates to be performed through YAML configuration files.

  • Imperatively: The imperativemethod uses kubectl commands to ...