Skip to content

Commit

Permalink
Merge pull request #9638 from hashicorp/je.mdx-remote
Browse files Browse the repository at this point in the history
implement mdx remote
  • Loading branch information
jescalan authored Jan 6, 2021
2 parents 789225d + 1510360 commit caa21c2
Show file tree
Hide file tree
Showing 414 changed files with 2,939 additions and 3,393 deletions.
1 change: 0 additions & 1 deletion website/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
NEXT_PUBLIC_ALGOLIA_APP_ID=YY0FFNI7MF
NEXT_PUBLIC_ALGOLIA_INDEX=product_NOMAD
NEXT_PUBLIC_ALGOLIA_SEARCH_ONLY_API_KEY=5037da4824714676226913c65e961ca0
HASHI_ENV=production
1 change: 1 addition & 0 deletions website/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HASHI_ENV=production
4 changes: 0 additions & 4 deletions website/babel.config.js

This file was deleted.

28 changes: 0 additions & 28 deletions website/components/search-bar/index.jsx

This file was deleted.

8 changes: 0 additions & 8 deletions website/components/search-bar/style.css

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The stream will be kept alive until the connection is closed.
| ------ | ------------------ | ------------------ |
| `GET` | `/v1/event/stream` | `application/json` |


The table below shows this endpoint's [required ACLs](/api-docs#acls). Due to
the nature of this endpoint individual topics require specific policies.

Expand Down Expand Up @@ -55,21 +54,21 @@ by default, requiring a management token.
`Deployment` events for a job redis. an additional topic
`&topic=Deployment:web` would include deployment events for redis and web. To
only subscribe to `Node` events a topic parameter of `?topic=Node` without a
separator value would be used. `?topic=Node:*` is also valid.
separator value would be used. `?topic=Node:*` is also valid.

### Event Topics

| Topic | Output |
| ------------ | ------------------------------- |
| ACLToken | ACLToken |
| ACLPolicy | ACLPolicy |
| ACLPolicy | Allocation (no job information) |
| Allocation | Allocation (no job information) |
| Job | Job |
| Evaluation | Evaluation |
| Deployment | Deployment |
| Node | Node |
| NodeDrain | Node |
| Topic | Output |
| ---------- | ------------------------------- |
| ACLToken | ACLToken |
| ACLPolicy | ACLPolicy |
| ACLPolicy | Allocation (no job information) |
| Allocation | Allocation (no job information) |
| Job | Job |
| Evaluation | Evaluation |
| Deployment | Deployment |
| Node | Node |
| NodeDrain | Node |

### Event Types

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ The table below shows this endpoint's support for
[blocking queries](/api-docs#blocking-queries) and
[required ACLs](/api-docs#acls).

| Blocking Queries | ACL Required |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Blocking Queries | ACL Required |
| ---------------- | --------------------------------------------------------------------------------- |
| `NO` | `namespace:submit-job` with `namespace:sentinel-override` if `PolicyOverride` set |

### Parameters
Expand All @@ -225,7 +225,7 @@ The table below shows this endpoint's support for

```json
{
"Apply": ["cb80a13d-20d8-fb05-db3f-4ea0fe667b1b"]
"Apply": ["cb80a13d-20d8-fb05-db3f-4ea0fe667b1b"]
}
```

Expand All @@ -252,9 +252,7 @@ $ curl \
"JobID": "example",
"JobModifyIndex": 51,
"Namespace": "default",
"Recommendations": [
"cb80a13d-20d8-fb05-db3f-4ea0fe667b1b"
],
"Recommendations": ["cb80a13d-20d8-fb05-db3f-4ea0fe667b1b"],
"Warnings": ""
}
]
Expand Down Expand Up @@ -325,7 +323,7 @@ The table below shows this endpoint's support for
"Resource": "MemoryMB",
"Value": 512,
"Meta": {
"nomad_policy_id": "c355d0ec-7aa1-2604-449d-4ec79c813d2c"
"nomad_policy_id": "c355d0ec-7aa1-2604-449d-4ec79c813d2c"
},
"Stats": {
"min": 2.6640625,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ The table below shows this endpoint's support for
path.

- `node` `(string: <required>)`- The node to detach the volume from.
This is specified as a query string parameter.
This is specified as a query string parameter.

### Sample Request

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ target plugins support the `dry-run` policy config parameter which allows a poli
to be evaluated, but will noop any suggested changes.

Below is a list of plugins you can use with the Nomad Autoscaler:

- [Nomad Task Group][nomad_task_group_target]
- [Dynamic Application Sizing Nomad Task][das_task_target]
- [AWS AutoScaling Group][aws_asg_target]
Expand Down Expand Up @@ -237,7 +238,6 @@ To use the Azure VMSS target plugin, the agent configuration needs to be populat
with the appropriate target block. Authentication to the Azure API can be supplied
in a number of ways.


#### Virtual Machine Identities

When using [virtual machine identities][vm_identity] you will need to provide a
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nomad alloc fs [options] <allocation> <path>

This command accepts a single allocation ID (unless the `-job` flag is
specified, in which case an allocation is chosen from the given job) and a
path. The path is optional and relative to the root of the [allocation working
path. The path is optional and relative to the root of the [allocation working
directory].

When ACLs are enabled, this command requires a token with the `read-fs`,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Evaluation ID: b754d6b3-8960-5652-60d8-d47df6eaed13
```

Scale the job with ID "job1" and the task group "group1" to a count of 8:

```shell-session
$ nomad job scale job1 group1 8
==> Monitoring evaluation "529cc88e"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |
The `namespace apply` command is used create or update a namespace.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |
The `namespace delete` command is used delete a namespace.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |
The `namespace` command is used to interact with namespaces.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The `namespace inspect` command is used to view raw information about a particul
namespace.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |
The `namespace list` command is used list available namespaces.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The `namespace status` command is used to view the status of a particular
namespace.

~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
when introduced in Nomad 0.7.

## Usage

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ testing.
provide an anonymous signature for de-duplication with the update check.

- `disable_update_check` `(bool: false)` - Specifies if Nomad should not check
for updates and security bulletins. *This defaults to `true` in Nomad Enterprise.*
for updates and security bulletins. _This defaults to `true` in Nomad Enterprise._

- `enable_debug` `(bool: false)` - Specifies if the debugging HTTP endpoints
should be enabled. These endpoints can be used with profiling tools to dump
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ vertical [scaling policies], a new API and UI for reviewing recommended job
changes, and a collection of Nomad Autoscaler plugins informed by best-practice
statistical measures.


## Try Nomad Enterprise

Click [here](https://www.hashicorp.com/go/nomad-enterprise) to set up a demo or
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ operating systems. You can also [build Nomad from source](#from-source).
<Tabs>
<Tab heading="Manual installation">


You can download a [precompiled binary](/downloads) and
run it on your machine locally. You can also verify the binary using the
available SHA-256 sums. After downloading Nomad, unzip the package. Make sure
Expand Down Expand Up @@ -51,12 +52,14 @@ Nomad binary's location to that list and then launch a new console window.
</Tab>
<Tab heading="Linux Packages">


HashiCorp officially maintains and signs packages for the following Linux
distributions.

<Tabs>
<Tab heading="Ubuntu/Debian">


Add the HashiCorp [GPG key][gpg-key].

```shell-session
Expand All @@ -78,6 +81,7 @@ $ sudo apt-get update && sudo apt-get install nomad
</Tab>
<Tab heading="CentOS/RHEL">


Install `yum-config-manager` to manage your repositories.

```shell-session
Expand All @@ -99,6 +103,7 @@ $ sudo yum -y install nomad
</Tab>
<Tab heading="Fedora">


Install `dnf config-manager` to manage your repositories.

```shell-session
Expand All @@ -120,6 +125,7 @@ $ sudo dnf -y install nomad
</Tab>
<Tab heading="Amazon Linux">


Install `yum-config-manager` to manage your repositories.

```shell-session
Expand All @@ -141,13 +147,15 @@ $ sudo yum -y install nomad
</Tab>
</Tabs>


-> **TIP:** Now that you have added the HashiCorp repository, you can install
[Consul](https://learn.hashicorp.com/consul) and
[Vault](https://learn.hashicorp.com/vault) with the same command.

</Tab>
<Tab heading="Homebrew (macOS)">


[Homebrew](https://brew.sh) is a free and open-source package management system
for macOS. Install the [Nomad formula](https://formulae.brew.sh/formula/nomad)
from the terminal.
Expand All @@ -167,6 +175,7 @@ GitHub issue has workarounds for this issue.
</Tab>
<Tab heading="Chocolatey (Windows)">


[Chocolatey](https://chocolatey.org/) is a free and open-source package
management system for Windows. Install the [Nomad
package](https://chocolatey.org/packages/nomad) from the command-line.
Expand All @@ -182,6 +191,7 @@ installation.
</Tab>
</Tabs>


---

## Verify the Installation
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit caa21c2

Please sign in to comment.