Adam Reese
845e990143
feat(*): use kubernetes 1.7
7 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
7 years ago
Taylor Thomas
d9c0a8b434
fix(tiller): Adds missing import back
...
PR #2513 was behind master when merged. Other commits were
added that required the use of the log package. This re-adds
that package.
8 years ago
Taylor Thomas
b71bd6a455
Merge pull request #2513 from thomastaylor312/feat/moar_logging
...
feat(tiller): Adds more logging
8 years ago
Taylor Thomas
119fa6537c
feat(tiller): Adds more logging
...
This builds on previous work and adds more logging to follow
the full process of installing, updating, deleting, and rolling back.
This also standardizes capitalization of logs and small formatting
fixes
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
tyrannasaurusbanks
b4fc1c7cb2
Add check to ensure helm doesnt 'wait' for external services to become 'ready'
8 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
8 years ago
Adam Reese
35aabdb61a
Merge pull request #2423 from FengyunPan/add-check
...
Add check for getting kubeclient
8 years ago
Taylor Thomas
d310612526
fix(tiller): Fixes bug with `--wait` and updated deployments
...
The current methodology generated its own RS slice instead of using
a helper method that uses a `clientset`. This caused some issues where
`FindNewReplicaSet` always returned `nil`. This switches the method and
removes some unneeded API calls and code.
Closes #2426
8 years ago
fengyun.pan
7887185984
Add check for getting kubeclient
8 years ago
Kiichiro Okano
46cad97950
Return as not ready if it new RS is nil
8 years ago
Adam Reese
7a141a10b3
fix(helm): correct import for apps api
...
* cleanup named imports
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
kiich
85a91394aa
Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas
8 years ago
Kiichiro Okano
e3655bb142
Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
8 years ago
Matt Butcher
55791e227e
Merge pull request #2148 from technosophos/fix/2118-broken-status
...
fix(tiller): fix helm status failure on missing resource
8 years ago
Anubhav Mishra
76ebf20aac
fix(helm): fix typo
8 years ago
Anubhav Mishra
b208258f53
fix(helm): more quotation fixes
8 years ago
Anubhav Mishra
73fd0e4557
fix(tiller): now better formatting
8 years ago
Anubhav Mishra
c17ce5f9c1
fix(tiller): adding kind to tiller client logs
...
Closes #2162
8 years ago
Matt Butcher
27c3ff595a
fix(tiller): fix helm status failure on missing resource
...
This fixes a bug in which 'helm status' fails if any of the expected
resources are missing in Kubernetes. Now it prints a list of missing
resources at the end of the status report.
Closes #2118
8 years ago
Taylor Thomas
185fb4f43c
fix(tiller): Fixes problem with `--wait` on headless Services
...
Headless services (with `clusterIP` set to `None`) were reporting
as not being ready because they didn't have an IP address. This adds
a logic check to ignore those services.
8 years ago
Taylor Thomas
9afa04b71b
fix(tiller): Fixes `--wait` panic on upgrade
...
When manifests do not change, they didn't get populated with the
latest label info from the API server and then panic'd. This resolves
that bug
Closes #2043
8 years ago
Adam Reese
12db1f945f
fix(kube): fix wait and recreate
...
fixes #2006
8 years ago
Adam Reese
790b90b95b
fix(kube): prevent recreating pods without a selector
8 years ago
Adam Reese
67fc1a21aa
feat(kube): support upgrading ThirdPartyResources
8 years ago
Adam Reese
ae9691910d
ref(kube): code style cleanup
8 years ago
Adam Reese
0f461ba8b5
feat(kube): use jsonpatch to update ThirdPartyResources
8 years ago
Adam Reese
4cdb2ac538
feat(kube): support thirdpartyresources
8 years ago
Michelle Noorali
e95a0570ad
chore(pkg/releasetesting): add test_suite tests
...
* and comments
8 years ago
Michelle Noorali
e132191275
ref(pkg/): refactor helm test logic
...
pulled logic out in pkg/releasetesting
8 years ago
Vaughn Dice
9bd12953a9
feat(*): add kube client test
...
* for WaitAndGetCompletedPodPhase
8 years ago
Michelle Noorali
d46d63a8f7
feat(*): add helm test command mvp
...
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
8 years ago
Taylor Thomas
7ef9bb6f71
feat(*): Add --wait flag
...
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses
Closes #1805
8 years ago
Adam Reese
de64da2bb1
ref(kube): misc code cleanup
8 years ago
Adam Reese
9e37009467
fix(kube): reap deleted resources during upgrade
8 years ago
Adam Reese
b22e6fcfaa
ref(kube): add Result to abstract a collection of resources
8 years ago
Adam Reese
d10e9186dc
feat(tiller): validate objects against kube schema on dry-run
8 years ago
Matt Butcher
dbe1c970b3
ref(tiller): minor style refactor
8 years ago
Matt Butcher
b28b58ad8b
Merge pull request #1715 from mariusgrigoriu/master
...
Play nicely with roles that don't allow creating namespaces
8 years ago
Taylor Thomas
774789c79a
feat(*): Adds support for timeout flag
...
Installs, rollback, upgrade, and delete now accept a `--timeout` flag
that allows the user to specify the maximum number of seconds that
any kubernetes command can take.
Closes #1678
8 years ago
Marius Grigoriu
d87cd95112
Play nicely with roles that don't allow creating namespaces
...
It is unnecessary to create a namespace just to test that it exists.
Roles that don't have post namespace will error out even if the namespace exists
and it is possible to install the package anyway. This patch Gets a namespace and
only creates one if it doesn't exist.
8 years ago
Nikolay Mahotkin
1eaec045b2
Rename 'restart' to 'recreate'
8 years ago
Nikolay Mahotkin
44d9274df3
Fixing tests
8 years ago
Nikolay Mahotkin
ec0d104fe1
Reformatting changes
...
* Run gofmt on all changed files
so they formatted properly now
8 years ago
Nikolay Mahotkin
fdac5e8a39
Introducing flag for restarting pods during release upgrade/rollback
...
* Added pod restart for ReplicaSet
* Added --restart flag for helm CLI for upgrade/rollback commands
* By default, restart is false
8 years ago
Nikolay Mahotkin
22b206cc69
Adding pod restarting while upgrading release
...
* Added pod restarting for
- ReplicationController
- DaemonSet
- PetSet
8 years ago
Adam Reese
525df8f0d1
ref(kube): simplify encoding for creating patches
8 years ago
Adam Reese
fb9ef50bc8
test(kube): add test for upgrade
8 years ago