Skip to content

Commit

Permalink
Merge pull request #4151 from reactiveops/note-kops-get
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Added a clarification/warning note about exporting full specs

Quickie note for docs based on clarification in slack.
  • Loading branch information
Kubernetes Submit Queue authored Dec 27, 2017
2 parents 4876009 + 6239a9e commit d2ac1b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/manifests_and_customizing_via_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ kops get $NAME -o yaml > $NAME.yaml

The above command exports a YAML document which contains the definition of the cluster, `kind: Cluster`, and the definitions of the instance groups, `kind: InstanceGroup`.

NOTE: If you run `kops get cluster $NAME -o yaml > $NAME.yaml`, you will only get a cluster spec. Use the command above (`kops get $NAME ...`)for both the cluster spec and all instance groups.

The following is the contents of the exported YAML file.

```yaml
Expand Down

0 comments on commit d2ac1b4

Please sign in to comment.