Skip to content

Commit

Permalink
Merge pull request #1552 from heiko-braun/heiko-braun-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasK33 authored Feb 22, 2024
2 parents ead598b + ea246da commit bb6fbd8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/pages/networking/internal_traffic/host_to_vcluster.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ mapServices:
to: my-virtual-namespace/my-virtual-service
```
With this configuration, vCluster will manage a service called `my-virtual-service` inside the virtual cluster that points to the host service `my-host-service` in namespace `my-host-namespace`. So pods inside the vCluster will be able to access the host service via e.g. `curl http://my-virtual-service.my-virtual-namespace`.
With this configuration, vCluster will manage a service called `my-virtual-service` inside the virtual cluster that points to the host service `my-host-service` in namespace `my-host-namespace`. So pods inside the vCluster will be able to access the host service via e.g. `curl http://my-virtual-service.my-virtual-namespace`.

To apply this change to an existing vcluster instance, simply run the following command:

```
vcluster create <CLUSTER_NAME> -f values.yaml --upgrade
```
8 changes: 7 additions & 1 deletion docs/pages/networking/internal_traffic/vcluster_to_host.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ mapServices:
to: my-host-service
```
With this configuration, vCluster will manage a service called `my-host-service` inside the namespace where the vCluster workloads are synced, which points to the virtual service `my-virtual-service` in namespace `my-virtual-namespace` inside the vCluster. So pods in the host cluster will be able to access the virtual service via e.g. `curl http://my-host-service`.
With this configuration, vCluster will manage a service called `my-host-service` inside the namespace where the vCluster workloads are synced, which points to the virtual service `my-virtual-service` in namespace `my-virtual-namespace` inside the vCluster. So pods in the host cluster will be able to access the virtual service via e.g. `curl http://my-host-service`.

To apply this change to an existing vcluster instance, simply run the following command:

```
vcluster create <CLUSTER_NAME> -f values.yaml --upgrade
```

0 comments on commit bb6fbd8

Please sign in to comment.