You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/explanations/nkp-architecture.mdx
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ NKP is a stack of layers, each doing one job. Because the layers connect through
32
32
33
33
**Where it all runs**
34
34
35
-
-**Managed Kubernetes cluster**: hosts every container above. EKS, GKE, AKS, or K3s for local development.
36
-
-**Cloud or bare-metal provider**: the physical infrastructure underneath. AWS, GCP, Azure, dedicated servers (Hetzner, Equinix Metal), or your own machine for development.
35
+
-**Managed Kubernetes cluster**: hosts every container above. EKS for AWS, K3s for Hetzner and local development.
36
+
-**Cloud or bare-metal provider**: the physical infrastructure underneath. AWS, Hetzner, or your own machine for development.
37
37
38
38
<details>
39
39
<summary>**What's in the foundational layer**</summary>
@@ -82,16 +82,9 @@ A few properties follow from this:
82
82
83
83
## State and locking
84
84
85
-
`nic` keeps a record of everything it has built. For providers that use Terraform under the hood (AWS, GCP, Azure, local), the state file lives in cloud storage that matches the provider. For other providers, the underlying tool handles state in its own way.
85
+
For the AWS provider, `nic` runs Terraform under the hood and stores the state file in an S3 bucket with native locking enabled. Other providers (Hetzner via `hetzner-k3s`, local via Kind) manage their own state.
86
86
87
-
| Provider | Backend |
88
-
| --- | --- |
89
-
| AWS | S3 |
90
-
| GCP | Cloud Storage |
91
-
| Azure | Blob Storage |
92
-
| Local (dev only) | Local file |
93
-
94
-
This shared record gives `nic` two abilities:
87
+
On AWS, this shared record gives `nic` two abilities:
95
88
96
89
-**Locking:** If two engineers run `nic deploy` at the same time, the second one waits until the first one finishes, so they can't make conflicting changes.
0 commit comments