kapp

kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label

APACHE-2.0 License

Stars
859
Committers
74

Bot releases are hidden (Show)

kapp - v0.53.0

Published by praveenrewar about 2 years ago

✨ What's new

  • ❗ Breaking Change Go module renamed from github.com/k14s/kapp to github.com/vmware-tanzu/carvel-kapp (#567)
  • Added exit-early-on-apply-error flag that can be used to exit as soon as an error is encountered while applying changes (default true) (#532)
  • Added exit-early-on-wait-error flag that can be used to exit as soon as an error is encountered while waiting for changes (default true) (#532)
  • Resource namespaces saved in kapp metadata configmap during kapp deploy will now be added to fallback allowed namespaces. (#533)
    • The fallback allowed namespaces are used to list resources when limited scoping is used.
    • Previously only the namespace provided via --namespace flag was used.
  • Added change rule to delete ServiceAccounts before Namespaces. (#593)
  • Fixed bash completion by removing extra output from help command. (#592)

Full Changelog: https://github.com/vmware-tanzu/carvel-kapp/compare/v0.52.0...v0.53.0

📂 Files Checksum

2b466b9f8bbc8719334cadf917769b27affc10c95c9ded3e76be283cfd3d4721  ./kapp-darwin-amd64
d5e9d0d6817a85bb3a2e247092f7153fa2a57209351fe575dbb6ecd3dfbd9ac0  ./kapp-darwin-arm64
c2c7381a152216c8600408b4dee26aee48390f1e23d8ef209af8d9eb1edd60fc  ./kapp-linux-amd64
b4ec066f491c687218eca7e986bdedda6e2680d2bcc3ae1495eb34597aeb2bd1  ./kapp-linux-arm64
7d4e80223f826bc2583d576e3b40057d2163c1f393f6aa6ca5b62e11444b67a2  ./kapp-windows-amd64.exe
kapp - v0.43.0

Published by rohitagg2020 almost 3 years ago

✨ What's new

  • Added kapp.k14s.io/exists annotation
    • kapp will ensure that resource exists in Kubernetes (+ check appropriate wait rules) before considering it as successfully reconciled. It will not be considered to be part of the app (not labeled).(#194)
  • Added kapp.k14s.io/noop annotation
    • kapp will use the noop operation for the resource. It will not be considered to be part of the app (not labeled).

📂 Files Checksum

c5c7f34399293ccda62dc7b809535a8e2f2afb9901147429281c0f4884b13483  ./kapp-darwin-amd64
212946c222cb39cc9a0bba74ed8a5ac073f194354464e1677090f3bc98e7f14f  ./kapp-darwin-arm64
f8669039dfba001081c94576c898d10aba28ecceffcd98708e8f2c87c13109e4  ./kapp-linux-amd64
b28d1f6de79b03308806c5be5bfe121d578d10c35b530eb3f311f7c69e20d168  ./kapp-linux-arm64
1efc538ac9450175bad00d7100e2cfc725d2fe55323dd448adf6ebce6c81c502  ./kapp-windows-amd64.exe
kapp - v0.40.0

Published by rohitagg2020 about 3 years ago

✨ What's new

  • Reenabled showing Kubernetes API warnings (#299)
    • Warnings are now shown as part of progress log
  • Adding new flag 'new-namespace' for renaming apps (#165)
  • Adding resource filter for labels (#272)
    • Example: kapp deploy ... --filter-labels foo=bar
  • Checking the UID to confirm the deletion of resource (#296)
    • Previously kapp would continue waiting for resources that were already deleted but were recreated even though their UID has changed. Now kapp will stop waiting after the deletion to be more consistent with kubectl.
  • Resource wait timeout (#208)
    • It's now possible to use --wait-resource-timeout flag to cap individual resource wait times
  • Updating the dependency to fix goprotobuf issue (#308)

📂 Files Checksum

d667c5cd05eb20df74763b59f31203569f7c89f185c5b7945d74a1235c15040d  ./kapp-darwin-amd64
1632b8365e9392c08425e9ff8003fe5ff616b622c6e0255ef69bc87db0349afe  ./kapp-darwin-arm64
94cfdcf8a3aec521a68c4c2c569434684e71914d42296bc9fee8bfe912f63984  ./kapp-linux-amd64
5a79561d07d6ef37fec795b9956d250cf9a1e4b245bd14bc154a21d9ab811a4c  ./kapp-linux-arm64
addcd942895f12f15dfe77ddeec91ad256c5abf2118b7959c55eb617c0f7b2eb  ./kapp-windows-amd64.exe
kapp - v0.39.0

Published by cppforlife about 3 years ago

✨ What's new

  • Allows to adopt resource with kapp.k14s.io/versioned annotation
    • Useful when resource was initially deployed with kubectl and then switched to be managed by kapp
  • Disable --warnings by default for now
    • Warnings were being excessively shown due to kapp querying k8s APIs that might be removed later. We will revisit in future releases how to show warnings only for submitted configuration.

📂 Files Checksum

43d79433d3d4dad4ffde7c775ea99f5c6b10c8949d54fd2a048ba66aaea89a6b  ./kapp-darwin-amd64
dfd5d32c845b62fd2617342424fb4376ce9a5a6fe644a9bbdf4b9f31856533aa  ./kapp-darwin-arm64
2120a627a867e04840d6e0e473097894a3b74b54b62f231b8df3f8670c4e80a3  ./kapp-linux-amd64
e89b2bcdf42edf04b33bf57f3c033b146ecd763a52d3d7ec99d501fa2f0ae423  ./kapp-linux-arm64
407c7703a6403ea4543d7f92399f6b2ef8fa7144e3b37ab1ab1d837725973f3b  ./kapp-windows-amd64.exe
kapp - v0.38.0

Published by cppforlife about 3 years ago

✨ What's new

  • Add --warnings flag to show Kubernetes provided warnings (enabled by default) (#266)
  • Add kapp.k14s.io/versioned-keep-original annotation to keep originally named resource (#119)
    • This might be useful for cases when some configuration refers to a static name of a versioned resource
  • Retry Kubernetes internal errors (#278)
  • Improve ServiceAccount rebase behaviour to avoid overriding token secret
    • Previously ServiceAccount's secret would keep on dropping token secret (to be immediately added back by K8s controllers)
  • Add ytt rebase rule type. Docs coming.
  • Add default waiting behavior for kapp-controller PackageRepository and PackageInstall
  • Add --managed-fields flag for kapp inspect command (#247)
  • Make --diff-exit-status flag work for app-group deployments (#238)
  • Add default secretgen controller rebase rule for image pull secrets secrets (#284)
    • For secrets annotated with secretgen.carvel.dev/image-pull-secret

📂 Files Checksum

2c7c9faf6b5bc564ee6a9450c1e21c16aa97c138ea59629441f8f28876bed6ad  ./kapp-darwin-amd64
22e3d694745d5f48863018e26ecd7f3d0b8ec475adc40e081a1a39dc4d8f01bf  ./kapp-linux-amd64
e594417b8dfe4f5fd4d26c313c64000df1f7259e57f79bbb34ac3c771f5f1422  ./kapp-linux-arm64
c1bd500776b36931dd91a364006007036606c6fc8ea13c77a649032510646c3b  ./kapp-windows-amd64.exe
kapp - v0.37.0

Published by cppforlife over 3 years ago

✨ What's new

  • Retry requests when we're being rate limited or resource quotas have conflicts (#213)
    • Thanks @dprotaso
  • Check UpdatedNumberScheduled on DaemonSet apply (#211)
    • Thanks @acosta11 @davewalter
  • Expose --kube-api-qps and --kube-api-burst flags

📂 Files Checksum

da6411b79c66138cd7437beb268675edf2df3c0a4a8be07fb140dd4ebde758c1  ./kapp-darwin-amd64
f845233deb6c87feac7c82d9b3f5e03ced9a4672abb1a14d4e5b74fe53bc4538  ./kapp-linux-amd64
d4ae2a9f8fc67f19ee4327e7ef34c274fbe50f2f1770b9bdab6446ad871589f2  ./kapp-linux-arm64
ced626c9e73f1acfd3486dd0a86653f8e82e346d760faebe011b5405cb7adf7c  ./kapp-windows-amd64.exe
kapp - v0.36.0

Published by cari-lynn over 3 years ago

✨ What's new

🐛 Bug Fixes

  • Fix bash and zsh command completion, #175, #187

📂 Files Checksum

1076da52c7291a7b9c7c0169b59fa18ef5248dee1e060676f8f5af325826d508  ./kapp-darwin-amd64
22fe308f1d9ebbb829a6ea10ca80d9468ff4b9aa911b0c33788fe67d04ccb383  ./kapp-linux-amd64
35645feb0b10e61b2dfd01fb578a6654b47b19260b82d0a06df2a8f380ce9731  ./kapp-linux-arm64
7478692ad70de93ac060c928d9be7de68f8aa8d28440f67fd6ca73e7078fdbf6  ./kapp-windows-amd64.exe
kapp - v0.35.0

Published by cppforlife almost 4 years ago

2f7b37c9cf5a8fd46e7b5da181c93ac3c16fba21664e3c5e413e38fca3510cc2  ./kapp-darwin-amd64
0f9d4daa8c833a8e245362c77e72f4ed06d4f0a12eed6c09813c87a992201676  ./kapp-linux-amd64
fafdc975bf1750d69e1dd135c2a4c22edf8a417deb544867473c228fa0416748  ./kapp-linux-arm64
1d83f6abeda6c4ff4c397e31d1eda5b1371d0d4bb9abe6ee671893eb8a6e6f90  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.34.0

Published by cppforlife about 4 years ago

  • Support emptyFieldMatcher (doc)
  • Support kapp config within wrapped as a ConfigMap (doc)
  • Use the correct path for default config's CustomResourceDefinition rebase rule
    • Thanks to @andrew-su
61795970d69c530c134711e35fca35ef143176c9a32bf8dce9ef39b1bd0d3b75  ./kapp-darwin-amd64
e170193c40ff5dff9f9274c25048de1f50e23c69e8406df274fbb416d5862d7f  ./kapp-linux-amd64
df66e0345cbd4fc861fdcbc6cda22f3562680e9749fcdb56b6c0603366e45f08  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.33.0

Published by cppforlife about 4 years ago

  • Add kapp.k14s.io/disable-default-ownership-label-rules annotation (doc)
  • Add kapp.k14s.io/disable-default-label-scoping-rules annotation
    • It was added for naming consistency; behaves same as kapp.k14s.io/disable-label-scoping annotation
  • Add default StatefulSet waiting rule (doc)
  • Add kapp.k14s.io/update-strategy=skip annotation (doc)
  • Add default template rules for CronJob when referencing Secret/ConfigMaps
04883a0b40f0a52843288ae5316e3fd4053dcdcd3a566b4daaa3f4b0f64e4807  ./kapp-darwin-amd64
2a3328c9eca9f43fe639afb524501d9d119feeea52c8a913639cfb96e38e93d1  ./kapp-linux-amd64
24a49e59aafe0c881f5d2814e982494aea25f1741184a8caf4912b5717488cf4  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.31.0

Published by cppforlife over 4 years ago

  • Present apply strategy as part of change summary in Op strategy column (shortened to Op st.)
    • This is useful to fully understand how change will be applied to the cluster
  • Change kapp.k14s.io/deploy-logs to support filtering new/existing pods (docs)
    • By new default only new pods will tailed
  • Disassociate resource from the app when kapp.k14s.io/delete-strategy=orphan is involved
  • Improve apply retry behaviour for certain errors
    • Thanks to @kramerul
  • Update example workflow on https://get-kapp.io
081f8428236ecd2c432819b6cf606f3284ab77f9636cbe9df4c3b2b852595dab  ./kapp-darwin-amd64
9039157695a2c6a6c768b21fe2550a64668251340cc17cf648d918be65ac73bd  ./kapp-linux-amd64
049be0b1a815ee4e45844a6a9dba5718b18c5715d1a04d4698de829b8c60dc7e  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.30.0

Published by cppforlife over 4 years ago

  • Support replacing ${KAPP_KUBERNETES_SERVICE_HOST_PORT} with k8s host/port pair based on in-cluster config in --kubeconfig-yaml flag
    • Useful for specifying kubeconfig populated with local service accounts (used in kapp-controller)
  • Short circuit retry logic for Exists() when access is forbidden
39efaf9be55571852db01ab59f436a28b1e2e74052be61a98e8205e0b85791ac  ./kapp-darwin-amd64
031020e3cd83883900695959f067d8afc64369c09d127a0ed34eeee3e264e422  ./kapp-linux-amd64
59a4be6bb8ca0e84344c8f9ef81aa46ca45681087741106e3ff34039827cdfab  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.29.0

Published by cppforlife over 4 years ago

  • Provide a way to specify custom waiting rules (doc)
  • Add default ordering rules to prefer to delete CRs, then CRDs, then other resources during delete phase (default rules)
  • Add default rule for rebasing conversion webhook caBundle
  • Consider certain apply operations as retryable
32239ec4684a61b07148a7613402ae5fdb139f02e84dc1e8ba8082190bc6e9d8  ./kapp-darwin-amd64
24b235f9929c7ce700b53682264793c3f977dc6475e4d9c8566419400cf6cb27  ./kapp-linux-amd64
e96a6292f34456a0ac92f8e151ac7eff796ca3b5a63fe4261b676344c9961ffa  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.28.0

Published by cppforlife over 4 years ago

  • Add kapp.k14s.io/disable-original annotation to skip saving last applied state (doc)
b345f30d349682694c51b86a4cd14e37deabcd7b2f008132865a32d667fa55e6  ./kapp-darwin-amd64
68af97af76fd3dfb94ec8c2e98e00b8fec3d8d2dc17487601ab00692a358a479  ./kapp-linux-amd64
0d53692b223b520748b7ecc6ee59e3062787344359c8bd5e8e127d79f97ef5f5  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.27.0

Published by cppforlife over 4 years ago

  • Basic support for API group transition
    • For example: extensions/v1beta1.Deployment to apps/v1.Deployment)
    • Still not supported for kapp.k14s.io/versioned resources
  • Allow combining multiple rebase rules into one
  • Add --diff-line-numbers to toggle showing diff line numbers
    • Makes diff output friendly to GitHub highlighting
4d7c81ddab0fe336db4bb52986e5550d84d3eb180a8175b14d06799401f6178c  ./kapp-darwin-amd64
01487d351bd1e0aac8961ab28a27bd3cb7239b587154e2bb4a10a2bdafa2b9bb  ./kapp-linux-amd64
c33f0ca58fd4f450f834ca843c6cb2f42beae6762d4f65066df602ac01188287  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.26.0

Published by cppforlife over 4 years ago

  • Default configuration updates
    • Rebase spec.healthCheckNodePort for Services
    • Add templating rules for secret refs in imagePullSecrets, ServiceAccount, projected volumes
      • thanks @acosta11, @Birdrock, @davewalter
    • Add PriorityClass and RuntimeClass to pod related resources for better ordering
  • Optimistically format k8s API server errors
  • Add hint that the app may be in a different namespace
41104f4b402906046a493463b4363aa3e8cf3e6477e00d85f85333b88e52c2b2  ./kapp-darwin-amd64
7c4d525b02e0241dab13fd729735875ea2b15e2f504bd94d1480edd3072ccf96  ./kapp-linux-amd64
a136ebf835093108bb774d4f2f0e45a3ed42de4bb0f38214f3d52c8e70ff9a00  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.25.0

Published by cppforlife over 4 years ago

  • Add additional default ordering to be more friendly to common cases
    • Specifically order pod related resources (ServiceAccount, ConfigMap, Secret, etc) to be applied before other resources (updated documentation)
  • Retry on conflict even with kapp.k14s.io/update-strategy: fallback-on-replace annotation
    • thanks @computeracer
  • Support filtering logs by container names
    • thanks @eLco
  • Add several common PV/PVC rebase rules
    • thanks @yujunz
  • In case of limited permissions fall back to tailing Pod logs within given namespace
    • thanks @jessehu
  • Hide label column in kapp ls since it's rarely useful to see
    • Use kapp -a app1 label to retrieve app label
  • [breaking] Renamed allResourceMatcher to allMatcher used in kapp config
de558603a95fdc42b73d337ecef0b6bf41c2c098dba9b71524feda734b857cf7  ./kapp-darwin-amd64
9b760e6dfb8e8ed4886141affb99d6b4ab7e80178f3991cbb68f44a5bc1353de  ./kapp-linux-amd64
70ff5d5113644b2c55ae53c09a19622b2f0d8d96be402904dbf76be676c49ff0  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.24.0

Published by cppforlife over 4 years ago

  • Improve help message of kapp logs command
  • Add batch/v1/Job for default templateRules
e021f9ba9a1398b502e8e4146d695fb79c1f1f975136a9c3ec0a2b29a2bfcaf5  ./kapp-darwin-amd64
044a8355c1a3aa4c9e427fc64f7074b80cb759e539771d70d38933886dbd2df4  ./kapp-linux-amd64
6710ee9b478956cb74047ab7252a08edf3ab01441eea68fdd461e520b392cd1b  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.23.0

Published by cppforlife over 4 years ago

  • Fix order cycle detection to be more exhaustive
  • Support FORCE_COLOR=int (where 0 is disable, 1, 2, 3 is enable) to force color preference
  • Support specifying minimumRequiredVersion in config for kapp
1736e0a2cf8f25e2a26de344f8ea7c36e8d0215b2112b830923b5fb0b8c5d498  ./kapp-darwin-amd64
8e163878cf985c93df3fff594d63a6b1104e66a02d35745f4217efc05eacdad1  ./kapp-linux-amd64
6fda99262a21f2770d80690e3fa5b7abe7e2cfb1f28ac0452ece11f9aa5b1892  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)

kapp - v0.22.0

Published by cppforlife over 4 years ago

  • Add --apply-exit-status (doc)
  • Add kapp.k14s.io/create-strategy annotation (doc)
  • Show all uniqueness errors in bulk
  • Improve resource ownership check error message
  • Mask stringData fields for v1/Secret by default (previously only masking data)
ea96e31135a125514f92f28576f4dcbf51e6fac4089f32eac7b352a35fad8e0d  ./kapp-darwin-amd64
620fe978c40260f1742134648f50c637f86c27c9097dc4b1cd4126989c49602b  ./kapp-linux-amd64
abaad10d85dd30fbe19685ce6d0529fc28a4a18c133e55c5ea16fcd51b3f3e9e  ./kapp-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)