Skip to content

Commit

Permalink
Merge pull request #1550 from mpetason/add-videos-to-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kosiewski authored Feb 22, 2024
2 parents bb6fbd8 + ec5d68e commit 87dac6b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/pages/syncer/other_resources/generic_sync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ 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.
:::

<div class="videoWrapper">
<iframe width="560" height="315" src="https://www.youtube.com/embed/6dIplR8_z38" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
5 changes: 5 additions & 0 deletions docs/pages/using-vclusters/access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,8 @@ export KUBECONFIG=./kubeconfig.yaml
# Run any kubectl command
kubectl get ns
```

<div class="videoWrapper">
<iframe width="560" height="315" src="https://www.youtube.com/embed/0ic7oe8fd4o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

7 changes: 6 additions & 1 deletion docs/pages/using-vclusters/kube-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -158,3 +158,8 @@ 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
```

<div class="videoWrapper">
<iframe width="560" height="315" src="https://www.youtube.com/embed/zI-ekVfHufI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

17 changes: 17 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}

0 comments on commit 87dac6b

Please sign in to comment.