vault backup: 2024-10-07 14:43:40
This commit is contained in:
parent
5c6fb3911e
commit
287a95e479
@ -25,6 +25,11 @@ Running a task is generally done by:
|
||||
1. *Define a job specification for your task(s):* it'll contain info like where the workload artifact is located, ports used by the service, the number of instances desired, and more.
|
||||
2. *Deploying the job*: The jobspec is submitted to Nomad and it schedules an allocation for the job on one or more clients.
|
||||
3. Updating and redploying the job.
|
||||
|
||||
# Deployment
|
||||
## Installing the CLI
|
||||
https://developer.hashicorp.com/nomad/tutorials/get-started/gs-install#install-the-nomad-cli
|
||||
|
||||
# Resources
|
||||
- https://developer.hashicorp.com/nomad/tutorials/get-started/gs-overview
|
||||
- https://developer.hashicorp.com/nomad/docs/drivers
|
@ -38,6 +38,16 @@ In C, a `char` denotes a single byte of arbitrary encoding.
|
||||
## Variables
|
||||
A variable must be declared before it is assigned.
|
||||
|
||||
## Arrays
|
||||
### Finding the size of an array
|
||||
```c
|
||||
int arr[10];
|
||||
// The size of an array can be found by
|
||||
// determining the number of bytes allocated total and dividing that by the size of each element in the array.
|
||||
int arr_size = sizeof(arr) / sizeof(arr[0]);
|
||||
|
||||
```
|
||||
|
||||
|
||||
# Formatting specifiers
|
||||
# Standard library
|
||||
|
Loading…
Reference in New Issue
Block a user