From 0d316e0520afb20cdd8dc7b48b03e805d076f8a8 Mon Sep 17 00:00:00 2001 From: Morten Torkildsen Date: Fri, 4 Jun 2021 16:09:46 -0700 Subject: [PATCH] Remove references to kpt live preview in the book (#2143) * Remove references to kpt live preview in the book * Addressed comments --- site/book/02-concepts/00.md | 2 +- site/book/02-concepts/02-workflows.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/site/book/02-concepts/00.md b/site/book/02-concepts/00.md index bf146235cd..24025ecf86 100644 --- a/site/book/02-concepts/00.md +++ b/site/book/02-concepts/00.md @@ -46,6 +46,6 @@ That's a pretty terse description, so let's break it down: - **Applying**: When it comes to deploying a package to a Kubernetes cluster, kpt complements `kubectl`. By keeping an inventory of deployed resources, kpt enables resource pruning, aggregated - status and observability, and an improved preview experience. + status and observability, and an improved dry-run experience. The two fundamental concepts in kpt are packages and functions. Let's define them. diff --git a/site/book/02-concepts/02-workflows.md b/site/book/02-concepts/02-workflows.md index f426c754d9..b2cf320c43 100644 --- a/site/book/02-concepts/02-workflows.md +++ b/site/book/02-concepts/02-workflows.md @@ -46,12 +46,13 @@ may look like this: ![img](/static/images/lifecycle/flow3.svg) - **Initialize**: One-time process using `kpt live init` -- **Preview**: Using `kpt live preview` +- **Preview**: Using `kpt live apply --dry-run` - **Apply**: Using `kpt live apply` - **Observe**: Using `kpt live status` -First, you preview deployment of the package to the cluster. Then if the preview looks good, -you apply the package. Afterwards, you may observe the status of the package on the cluster. +First, you use dry-run to validate the resources in your package and verify that the expected +resources will be applied and pruned. Then if that looks good, you apply the package. Afterwards, +you may observe the status of the package on the cluster. You typically want to store the package on Git: