Comments (2)
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.
released in https://github.com/k14s/kapp/releases/tag/v0.13.0
/cc @jbeda
from kapp.
Related Issues (20)
- Update `--preflight` flag to no longer follow the `Check=true` format HOT 3
- Version checker errors when consumed as library
- Add configuration support to kapp for preflight checks HOT 1
- Update copyright headers
- v0.60.0 app-group deploy suddenly also deletes after deploying HOT 1
- Add a basic `CRDUpgradeSafety` preflight check
- Add no new required field validation to `CRDUpgradeSafety` preflight check
- Add validation to `CRDUpgradeSafety` preflight check to prevent removal of existing fields HOT 1
- Add validation to `CRDUpgradeSafety` preflight check to allow decreasing minimum values on existing fields
- Add validation to `CRDUpgradeSafety` preflight check to allow increasing maximum values on existing fields HOT 1
- Add validation to `CRDUpgradeSafety` preflight check to allow changing an existing required field to be optional
- Add validation to `CRDUpgradeSafety` preflight check to allow adding more enum values to existing field
- kapp flip flops betweek gk scoping and non scoping while using `--dangerous-allow-empty-list-of-resources`
- Add ability to configure API used for permission validation when using the permission validation pre-flight check
- Cleanup: preflight checks HOT 3
- kapp reports incorrect diff for a resource having no annotation and spec updated by a webhook
- Add validation to CRDUpgradeSafety preflight check to ensure default values for a field are not changed during an upgrade HOT 1
- Add a typeMatcher for Secrets
- hasAnnotationMatcher not working HOT 2
- kapp has yaml Norway issues HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kapp.