Skip to content

Commit 98cf87d

Browse files
[v0.30] docs(vcluster): use distinct diagrams for private-nodes and standalone (#1616) (#1619)
* Backport: Copy vcluster/_fragments/private-nodes.mdx to vcluster_versioned_docs/version-0.30.0/_fragments/private-nodes.mdx * Backport: Copy vcluster/_fragments/standalone.mdx to vcluster_versioned_docs/version-0.30.0/_fragments/standalone.mdx --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7593047 commit 98cf87d

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

vcluster_versioned_docs/version-0.30.0/_fragments/private-nodes.mdx

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import PrivateNodeLimitations from './private-nodes-limitations.mdx'
22

33
Using private nodes is a tenancy model for vCluster where, instead of sharing the host cluster’s worker nodes, individual worker nodes are joined to a vCluster.
4-
These private nodes act as the vCluster’s worker nodes and are treated as worker nodes for the vCluster.
4+
These private nodes act as the vCluster’s worker nodes and are treated as worker nodes for the vCluster.
55

66
Because these nodes are real Kubernetes nodes, vCluster does not sync any resources to the host cluster as no host cluster worker nodes are used. All workloads run directly on the attached nodes as if they were native to the virtual cluster.
77

@@ -17,9 +17,9 @@ To allow nodes to join the virtual cluster, the cluster must be exposed and acce
1717
<center>
1818

1919
<img
20-
src="/docs/media/private-nodes/architecture.png"
20+
src="/docs/media/diagrams/private-nodes.png"
2121
width='800'
22-
alt="Overview"
22+
alt="Private nodes architecture showing dedicated worker nodes per vCluster"
2323
/>
2424
</center>
2525

@@ -28,10 +28,10 @@ alt="Overview"
2828

2929
## How private nodes can be provisioned
3030

31-
Private nodes can be provisioned in two different ways:
31+
Private nodes can be provisioned in two different ways:
3232

33-
* **[Manually provisioned](../../../deploy/worker-nodes/private-nodes/join)** - Nodes that were provisioned outside of vCluster. These nodes are joined to vCluster using a vCluster CLI command.
34-
* **[Automatically provisioned](./auto-nodes)** - Nodes that are provisioned on-demand based on the vCluster configuration and resource requirements. vCluster is connected to vCluster Platform and references a node provider defined in
33+
* **[Manually provisioned](../../../deploy/worker-nodes/private-nodes/join)** - Nodes that were provisioned outside of vCluster. These nodes are joined to vCluster using a vCluster CLI command.
34+
* **[Automatically provisioned](./auto-nodes)** - Nodes that are provisioned on-demand based on the vCluster configuration and resource requirements. vCluster is connected to vCluster Platform and references a node provider defined in
3535
vCluster Platform.
3636

3737

@@ -75,4 +75,28 @@ controlPlane:
7575
enabled: true
7676
```
7777

78-
<PrivateNodeLimitations />
78+
<PrivateNodeLimitations />
79+
80+
### Network policies
81+
If you are using [network policies](../configure/vcluster-yaml/policies/network-policy.mdx), private nodes traffic into the virtual cluster control plane must be allowed.
82+
83+
```yaml title="vcluster.yaml"
84+
privateNodes:
85+
enabled: true
86+
87+
controlPlane:
88+
service:
89+
spec:
90+
type: LoadBalancer
91+
92+
policies:
93+
networkPolicy:
94+
enabled: true
95+
controlPlane:
96+
ingress:
97+
- from:
98+
# Allow incoming traffic from the load balancer internal IP address.
99+
# This example is allowing incoming traffic from any address. Load balancer internal CIDR should be used.
100+
- ipBlock:
101+
cidr: 0.0.0.0/0
102+
```

vcluster_versioned_docs/version-0.30.0/_fragments/standalone.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ nodes must be private nodes.
1111
<center>
1212
<img
1313
src="/docs/media/private-nodes/architecture.png"
14-
alt="vCluster Standalone Architecture"
14+
alt="Comparison of traditional vCluster (control plane as pod) versus vCluster Standalone (control plane as binary on dedicated nodes)"
1515
/>
1616
</center>

0 commit comments

Comments
 (0)