From 9f2ad85f3a4140cec2bf7864733885329c840a03 Mon Sep 17 00:00:00 2001 From: Mike Petersen Date: Wed, 21 Feb 2024 09:54:01 -0800 Subject: [PATCH 1/2] Added vCluster Tips videos to the appropriate documentation pages --- docs/pages/syncer/other_resources/generic_sync.mdx | 2 ++ docs/pages/using-vclusters/access.mdx | 2 ++ docs/pages/using-vclusters/kube-context.mdx | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/pages/syncer/other_resources/generic_sync.mdx b/docs/pages/syncer/other_resources/generic_sync.mdx index 7cfce0d55..9846fe718 100644 --- a/docs/pages/syncer/other_resources/generic_sync.mdx +++ b/docs/pages/syncer/other_resources/generic_sync.mdx @@ -15,3 +15,5 @@ You may find configuration examples in the ["generic-sync-examples" folder in th :::warning Alpha feature Generic sync feature is currently in an alpha state. This is an advanced feature that requires more permissions in the host cluster, and as a result, it can potentially cause significant disruption in the host cluster. ::: + +[![Sync Resources from vCluster to EKS + Generic CRD Sync Plugin Demo](https://img.youtube.com/vi/6dIplR8_z38/maxresdefault.jpg)](https://youtu.be/6dIplR8_z38) diff --git a/docs/pages/using-vclusters/access.mdx b/docs/pages/using-vclusters/access.mdx index b3a86f3bf..9256685a8 100644 --- a/docs/pages/using-vclusters/access.mdx +++ b/docs/pages/using-vclusters/access.mdx @@ -302,3 +302,5 @@ export KUBECONFIG=./kubeconfig.yaml # Run any kubectl command kubectl get ns ``` + +[![vCluster on EKS with Nginx Ingress](https://img.youtube.com/vi/0ic7oe8fd4o/maxresdefault.jpg)](https://youtu.be/0ic7oe8fd4o) diff --git a/docs/pages/using-vclusters/kube-context.mdx b/docs/pages/using-vclusters/kube-context.mdx index 9ec95e428..f36ffc510 100644 --- a/docs/pages/using-vclusters/kube-context.mdx +++ b/docs/pages/using-vclusters/kube-context.mdx @@ -158,3 +158,5 @@ Wait until the vCluster has started and you can retrieve the kube config via: ``` kubectl get secret vc-my-vcluster -n my-vcluster --template={{.data.config}} | base64 -D ``` + +[![Accessing the vCluster KubeConfig](https://img.youtube.com/vi/zI-ekVfHufI/maxresdefault.jpg)](https://youtu.be/zI-ekVfHufI) From ec5d68ec6eac9b0131fd0e3166d4c0fb55a2490d Mon Sep 17 00:00:00 2001 From: Thomas Kosiewski Date: Thu, 22 Feb 2024 10:43:58 +0100 Subject: [PATCH 2/2] docs(video-embeds): Changed video links to embeds Signed-off-by: Thomas Kosiewski --- .../syncer/other_resources/generic_sync.mdx | 4 +++- docs/pages/using-vclusters/access.mdx | 5 ++++- docs/pages/using-vclusters/kube-context.mdx | 7 +++++-- docs/src/css/custom.css | 17 +++++++++++++++++ 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/docs/pages/syncer/other_resources/generic_sync.mdx b/docs/pages/syncer/other_resources/generic_sync.mdx index 9846fe718..a5a49575f 100644 --- a/docs/pages/syncer/other_resources/generic_sync.mdx +++ b/docs/pages/syncer/other_resources/generic_sync.mdx @@ -16,4 +16,6 @@ You may find configuration examples in the ["generic-sync-examples" folder in th Generic sync feature is currently in an alpha state. This is an advanced feature that requires more permissions in the host cluster, and as a result, it can potentially cause significant disruption in the host cluster. ::: -[![Sync Resources from vCluster to EKS + Generic CRD Sync Plugin Demo](https://img.youtube.com/vi/6dIplR8_z38/maxresdefault.jpg)](https://youtu.be/6dIplR8_z38) +
+ +
diff --git a/docs/pages/using-vclusters/access.mdx b/docs/pages/using-vclusters/access.mdx index 9256685a8..f23ce97e0 100644 --- a/docs/pages/using-vclusters/access.mdx +++ b/docs/pages/using-vclusters/access.mdx @@ -303,4 +303,7 @@ export KUBECONFIG=./kubeconfig.yaml kubectl get ns ``` -[![vCluster on EKS with Nginx Ingress](https://img.youtube.com/vi/0ic7oe8fd4o/maxresdefault.jpg)](https://youtu.be/0ic7oe8fd4o) +
+ +
+ diff --git a/docs/pages/using-vclusters/kube-context.mdx b/docs/pages/using-vclusters/kube-context.mdx index f36ffc510..77d01d58c 100644 --- a/docs/pages/using-vclusters/kube-context.mdx +++ b/docs/pages/using-vclusters/kube-context.mdx @@ -3,7 +3,7 @@ title: Accessing vCluster sidebar_label: Kube-Context --- -There are multiple ways how you can access a vCluster with an external application like `kubectl`. +There are multiple ways how you can access a vCluster with an external application like `kubectl`. ## Using the vCluster CLI @@ -159,4 +159,7 @@ Wait until the vCluster has started and you can retrieve the kube config via: kubectl get secret vc-my-vcluster -n my-vcluster --template={{.data.config}} | base64 -D ``` -[![Accessing the vCluster KubeConfig](https://img.youtube.com/vi/zI-ekVfHufI/maxresdefault.jpg)](https://youtu.be/zI-ekVfHufI) +
+ +
+ diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index c417eb4d8..d71a93314 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -709,3 +709,20 @@ body .markdown { visibility: visible; opacity:1; } + +/* YouTube player embed */ +.videoWrapper { + position: relative; + padding-bottom: 56.25%; + /* 16:9 */ + padding-top: 25px; + height: 0; +} + +.videoWrapper iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +}