Tim Gross
f32f8a773d
docs: fix markdown syntax in job stop page ( #8401 )
2020-07-09 08:45:25 -04:00
Rémi Lapeyre
f7a3e9e0a3
Fix typo in volume HTTP API documentation ( #8396 )
2020-07-09 08:33:45 -04:00
Chris Baker
d54ba5f75b
Merge pull request #8400 from hashicorp/cgbaker-patch-1
...
[docs] more specific link in enterprise docs
2020-07-09 06:37:00 -05:00
Chris Baker
9675a8e13b
[docs] more specific link in enterprise docs
2020-07-09 06:25:44 -05:00
Gale Fagan
f354054851
Merge pull request #8399 from hashicorp/c-update-ent325
...
Update Enterprise docs page, add new features
2020-07-08 19:55:55 -07:00
Gale Fagan
301d291c4f
Update website/pages/docs/enterprise/index.mdx
...
Those pesky caps
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com >
2020-07-08 17:56:44 -07:00
Gale Fagan
40c2b2ff07
Update Enterprise docs page, add new features
2020-07-08 16:19:12 -07:00
Luiz Aoqui
475867a45a
Merge pull request #8398 from hashicorp/docs-autoscaler-touchups
...
docs: fix broken links and formatting of the autoscaler docs
2020-07-08 18:57:57 -04:00
Luiz Aoqui
6479150c45
docs: fix broken links and formatting of the autoscaler docs
2020-07-08 18:42:41 -04:00
Seth Hoenig
3b59bc78ef
Merge pull request #8394 from hashicorp/docs-some-cl-entries
...
docs: some additional CL entries
2020-07-08 14:57:12 -05:00
Seth Hoenig
f6ac3e2806
docs: update changelog with note for go modules switch
2020-07-08 14:49:39 -05:00
Seth Hoenig
46bef38482
docs: update changelog with some connect fixes
2020-07-08 14:46:45 -05:00
Nick Ethier
3367f6d94a
docs: add CNI and host_network docs ( #8391 )
...
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com >
2020-07-08 15:45:04 -04:00
Seth Hoenig
03d4804a32
Merge pull request #8392 from hashicorp/f-infer-cn-taskname
...
consul/connect: infer task name for native service if possible
2020-07-08 14:17:25 -05:00
Seth Hoenig
acb44ba9aa
Merge pull request #8338 from jorgemarey/b-fix-sidecar-task
...
Change connectDriverConfig to be a func
2020-07-08 14:00:27 -05:00
Seth Hoenig
44df264452
consul/connect: infer task name in service if possible
...
Before, the service definition for a Connect Native service would always
require setting the `service.task` parameter. Now, that parameter is
automatically inferred when there is only one task in the task group.
Fixes #8274
2020-07-08 13:31:44 -05:00
Tim Gross
a7d7992bd6
fix swapped old/new multiregion plan diffs ( #8378 )
...
The multiregion plan diffs swap the old and new versions for each region when
they're edited (rather than added/removed). The `multiregionRegionDiff`
function call incorrectly reversed its arguments for existing regions.
2020-07-08 10:10:50 -04:00
Tim Gross
37d6db6db3
fix multiregion plan output flags ( #8375 )
...
The call to render the output diff swapped the `diff` and `verbose` bool
parameters, resulting in dropping the diff output in multi-region plans but
not single-region plans.
2020-07-08 10:10:08 -04:00
Tim Gross
8f98ff2da6
fix volume deregister -force params in API ( #8380 )
...
The CSI `volume deregister -force` flag was using the documented parameter
`force` everywhere except in the API, where it was incorrectly passing `purge`
as the query parameter.
2020-07-08 10:08:22 -04:00
Chris Baker
089fa13210
Merge pull request #8384 from hashicorp/docs-csi-api
...
correcting CSI Plugins API sample response
2020-07-07 16:22:46 -05:00
Chris Baker
dbafdc3889
correcting CSI Plugins API sample response
...
neither `structs.CSIPlugin` nor `api.CSIPlugin` contain `topologies`
2020-07-07 16:17:23 -05:00
James Rasell
6969e6c57d
Merge pull request #8315 from hashicorp/autoscaler-docs-migration
...
docs: migration of Nomad Autoscaler docs with cluster updates.
2020-07-07 15:20:11 +02:00
Jorge Marey
46584b9cf1
Change connectDriverConfig to be a func
2020-07-07 08:59:59 +02:00
Chris Baker
438fec972a
Merge pull request #8372 from hashicorp/b-make-lint-happy
...
fix spelling error to make linter happy
2020-07-06 21:18:49 -05:00
Chris Baker
94d4a49250
fix spelling error to make linter happy
2020-07-07 02:02:19 +00:00
Nick Ethier
e94690decb
ar: support opting into binding host ports to default network IP ( #8321 )
...
* ar: support opting into binding host ports to default network IP
* fix config plumbing
* plumb node address into network resource
* struct: only handle network resource upgrade path once
2020-07-06 18:51:46 -04:00
Jeff Escalante
31978394ed
learn -> tutorials in subnav
2020-07-06 18:43:54 -04:00
Mahmood Ali
1dfbb1a5f5
Merge pull request #8369 from hashicorp/docs-security-model
...
Add security model document
2020-07-06 17:37:05 -04:00
Tim Gross
f87d278d01
docs: note MRD is beta and removing regions doesn't work ( #8370 )
2020-07-06 16:02:10 -04:00
Tim Gross
144f8b88ff
fix region flag vs job region handling in plan/submit ( #8347 )
2020-07-06 15:46:09 -04:00
Mahmood Ali
344e1319cb
Add security model document
2020-07-06 14:54:49 -04:00
Chris Baker
1fbe58fcd8
Merge pull request #8360 from hashicorp/b-8355-better-scaling-validation
...
better error handling around Scaling->Max
2020-07-06 11:32:02 -05:00
Tim Gross
114881c2aa
reconcile should not overwrite unblocking state ( #8349 )
...
Pre-0.12.0 beta, a deployment was considered "complete" if it was
successful. But with MRD we have "blocked" and "unblocking" states as well. We
did not consider the case where a concurrent alloc health status update
triggers a `Compute` call on a deployment that's moved from "blocked" to
"unblocking" (it's a small window), which caused an extra pass thru the
`nextRegion` logic in `deploymentwatcher` and triggered an error when later
transitioning to "successful".
This changeset makes sure we don't overwrite that status.
2020-07-06 11:31:33 -04:00
Chris Baker
e2831c5ecd
Merge pull request #8364 from hashicorp/b-326-multiregion-version-sync
...
allow version skipping in Job.Register to support version syncing for MRD
2020-07-06 10:06:32 -05:00
Chris Baker
6d3ea38aa4
modified state store to allow version skipping, to support multiregion version syncing also, passing existing version into multiregionRegister to support this
2020-07-06 14:16:55 +00:00
Lars Lehtonen
ea905fa4a7
nomad: fix dropped test error ( #8356 )
2020-07-06 08:46:54 -04:00
Chris Baker
7836dfa6e0
Merge pull request #8363 from hashicorp/cgbaker-patch-1
...
Update plugins.mdx
2020-07-06 07:35:31 -05:00
Chris Baker
c231267fa8
Update plugins.mdx
...
bad example JSON response
2020-07-05 16:46:44 -05:00
Chris Baker
b5f595a054
better testing of scaling parsing, fixed some broken tests by api
...
changes
2020-07-04 19:32:37 +00:00
Chris Baker
15a66e60a8
fixed api tests for changes
2020-07-04 19:23:58 +00:00
Chris Baker
a05f3af419
added changelog entry for #8360
2020-07-04 19:10:24 +00:00
Chris Baker
7f8176a188
changes to make sure that Max is present and valid, to improve error messages
...
* made api.Scaling.Max a pointer, so we can detect (and complain) when it is neglected
* added checks to HCL parsing that it is present
* when Scaling.Max is absent/invalid, don't return extraneous error messages during validation
* tweak to multiregion handling to ensure that the count is valid on the interpolated regional jobs
resolves #8355
2020-07-04 19:05:50 +00:00
Chris Baker
f015e02002
added scaling->min default discussion to group->count documentation
2020-07-04 18:33:19 +00:00
Mahmood Ali
9d2b5e6607
Merge pull request #8352 from hashicorp/tests-deflake-freeport
...
deflake some commands package tests
2020-07-03 10:20:40 -04:00
Mahmood Ali
49a2c65d6a
tests: make testagent shutdown idempotent
...
Avoid double freeing ports if an agent.Shutdown() is called multiple
times.
2020-07-03 09:16:01 -04:00
Jonathan Neal
39eb9412b1
Patch bump internal hashicorp dependencies ( #8300 )
...
* Bump internal hashicorp dependencies
* Trigger CI
* Add pointless changes to trigger CI
* Use next@canary
* Fixer upper
* Update package-lock.json
* Bump dependencies to resolve issues with mdx permalink styles
2020-07-02 17:56:09 -04:00
Lang Martin
44c6727c61
CHANGELOG agent host ( #8346 )
2020-07-02 14:09:33 -04:00
Seth Hoenig
e4950e243e
Merge pull request #8342 from hashicorp/rm-externalised-demos
...
demos: remove externalized demo files
2020-07-02 12:21:27 -05:00
Seth Hoenig
70a07c41af
demos: remove externalized demo files
...
These have been moved into github.com/hashicorp/nomad-connect-demos
2020-07-02 11:30:59 -05:00
Mahmood Ali
1959214ec4
Merge pull request #8341 from hashicorp/docs-changelog-GH-8311
...
changelog for sidecar bug
2020-07-02 12:22:18 -04:00