Giter Club home page Giter Club logo

Comments (2)

cppforlife avatar cppforlife commented on July 20, 2024

help mesage updated:

$ kapp deploy -h
Deploy app

Usage:
  kapp deploy [flags]

Aliases:
  deploy, d, dep

Examples:

  # Deploy app 'app1' based on config files in config/
  kapp deploy -a app1 -f config/

  # Deploy app 'app1' while showing full text diff
  kapp deploy -a app1 -f config/ --diff-changes

  # Deploy app 'app1' based on remote file
  kapp deploy -a app1 \
    -f https://github.com/...download/v0.6.0/crds.yaml \
    -f https://github.com/...download/v0.6.0/release.yaml

Common Flags:
  -a, --app string                                           Set app name (or label selector) (format: name, key=val, !key)
  -c, --diff-changes                                         Show changes
  -f, --file strings                                         Set file (format: /tmp/foo, https://..., -) (can repeat)
  -n, --namespace string                                     Specified namespace ($KAPP_NAMESPACE or default from kubeconfig)

Diff Flags:
      --diff-against-last-applied                            Show changes against last applied copy when possible (default true)
  -c, --diff-changes                                         Show changes
      --diff-context int                                     Show number of lines around changed lines (default 2)
      --diff-run                                             Show diff and exit successfully without any further action
      --diff-summary                                         Show diff summary (default true)

Apply Flags:
      --apply-concurrency int                                Maximum number of concurrent apply operations (default 5)
      --apply-default-update-strategy string                 Change default update strategy
      --apply-ignored                                        Set to apply ignored changes
      --dangerous-allow-empty-list-of-resources              Allow to apply empty set of resources (same as running kapp delete)
      --dangerous-override-ownership-of-existing-resources   Steal existing resources from another app

Wait Flags:
      --wait                                                 Set to wait for changes to be applied (default true)
      --wait-check-interval duration                         Amount of time to sleep between checks while waiting (default 1s)
      --wait-ignored                                         Set to wait for ignored changes to be applied
      --wait-timeout duration                                Maximum amount of time to wait (default 15m0s)

Resource Filter Flags:
      --filter string                                        Set filter (example: {"and":[{"not":{"resource":{"kind":"foo%"}}},{"resource":{"kind":"!foo"}}]})
      --filter-age string                                    Set age filter (example: 5m, 500h+, 10m-)
      --filter-kind strings                                  Set kinds filter (example: Pod) (can repeat)
      --filter-kind-ns strings                               Set kind-namespace filter (example: Pod/, Pod/knative-serving) (can repeat)
      --filter-kind-ns-name strings                          Set kind-namespace-name filter (example: Deployment/knative-serving/controller) (can repeat)
      --filter-name strings                                  Set name filter (example: controller) (can repeat)
      --filter-ns strings                                    Set namespace filter (example: knative-serving) (can repeat)

Resource Validation Flags:
      --allow-all-ns                                         Set to allow all namespaces for resources (does not apply to the app itself)
      --allow-check                                          Enable client-side allowing
      --allow-cluster                                        Set to allow cluster level for resources (does not apply to the app itself)
      --allow-ns strings                                     Set allowed namespace for resources (does not apply to the app itself)

Resource Mangling Flags:
      --into-ns string                                       Place resources into namespace
      --map-ns strings                                       Map resources from one namespace into another (could be specified multiple times)

Logs Flags:
      --logs                                                 Show logs from Pods annotated as 'kapp.k14s.io/deploy-logs' (default true)
      --logs-all                                             Show logs from all Pods

Available/Other Flags:
  -h, --help                                                 help for deploy
      --labels strings                                       Set app label (format: key=val, key=) (can repeat)
  -p, --patch                                                Add or update provided resources
      --sort                                                 Sort by namespace, name, etc. (default true)

Global Flags:
      --color                       Set color output (default true)
      --column strings              Filter to show only given columns
      --json                        Output as JSON
      --kubeconfig string           Path to the kubeconfig file ($KAPP_KUBECONFIG)
      --kubeconfig-context string   Kubeconfig context override ($KAPP_KUBECONFIG_CONTEXT)
      --tty                         Force TTY-like output (default true)
  -y, --yes                         Assume yes for any prompt

Succeeded

from kapp.

cppforlife avatar cppforlife commented on July 20, 2024

released in https://github.com/k14s/kapp/releases/tag/v0.13.0

/cc @jbeda

from kapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.