From 61891fec2be2a574d7abd99a527a667daba3b934 Mon Sep 17 00:00:00 2001 From: Heiko Braun Date: Thu, 22 Feb 2024 13:25:25 +0100 Subject: [PATCH 1/3] Update vcluster_to_host.mdx Provide a an example that shows how to apply config changes. --- .../networking/internal_traffic/vcluster_to_host.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/pages/networking/internal_traffic/vcluster_to_host.mdx b/docs/pages/networking/internal_traffic/vcluster_to_host.mdx index 5c6e2def3..c1b0d3138 100644 --- a/docs/pages/networking/internal_traffic/vcluster_to_host.mdx +++ b/docs/pages/networking/internal_traffic/vcluster_to_host.mdx @@ -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`. \ No newline at end of file +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, simple run the following command: + +``` +vcluster create -f values.yaml --upgrade +``` From 861bb18b12395e07305960cc0d09e8abf9890f1d Mon Sep 17 00:00:00 2001 From: Heiko Braun Date: Thu, 22 Feb 2024 13:30:08 +0100 Subject: [PATCH 2/3] Update docs/pages/networking/internal_traffic/vcluster_to_host.mdx Fixes typo Co-authored-by: Jeremy Facchetti --- docs/pages/networking/internal_traffic/vcluster_to_host.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/networking/internal_traffic/vcluster_to_host.mdx b/docs/pages/networking/internal_traffic/vcluster_to_host.mdx index c1b0d3138..33eeaf21f 100644 --- a/docs/pages/networking/internal_traffic/vcluster_to_host.mdx +++ b/docs/pages/networking/internal_traffic/vcluster_to_host.mdx @@ -15,7 +15,7 @@ mapServices: 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, simple run the following command: +To apply this change to an existing vcluster instance, simply run the following command: ``` vcluster create -f values.yaml --upgrade From ea246da6fe2939f83d0f907d72243374b5f36c2f Mon Sep 17 00:00:00 2001 From: Heiko Braun Date: Thu, 22 Feb 2024 14:22:52 +0100 Subject: [PATCH 3/3] Update host_to_vcluster.mdx Added instructions for applying changes --- .../networking/internal_traffic/host_to_vcluster.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/pages/networking/internal_traffic/host_to_vcluster.mdx b/docs/pages/networking/internal_traffic/host_to_vcluster.mdx index 9348f4ee2..5335ff35b 100644 --- a/docs/pages/networking/internal_traffic/host_to_vcluster.mdx +++ b/docs/pages/networking/internal_traffic/host_to_vcluster.mdx @@ -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`. \ No newline at end of file +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 -f values.yaml --upgrade +```