Skip to content

Commit 7592aff

Browse files
committed
Show the Kubernetes API server demo for Uplink
Rework the Uplink tab of How it works to tunnel a customer's Kubernetes API server back to the control plane for central kubectl and ArgoCD management, and link the ArgoCD tutorial.
1 parent 55aaff9 commit 7592aff

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

_includes/cli.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -156,33 +156,34 @@ <h4 class="text-2xl font-extrabold text-white">Get a managed HTTPS tunnel</h4>
156156
</div>
157157
<div class="px-6 py-5 border-b border-gray-700 bg-gray-900">
158158
<div>
159-
<h4 class="text-2xl font-extrabold text-white">Connect a customer environment to your SaaS</h4>
160-
<p class="mt-2 text-base leading-7 text-gray-300">Create a tenant-scoped tunnel, hand the customer a command, then consume the service privately from inside your cluster.</p>
159+
<h4 class="text-2xl font-extrabold text-white">Manage a customer's Kubernetes cluster centrally</h4>
160+
<p class="mt-2 text-base leading-7 text-gray-300">Tunnel a customer's API server back to your control plane, then drive it with kubectl or ArgoCD like any other cluster.</p>
161161
</div>
162162
</div>
163-
<pre class="px-6 py-6 overflow-x-auto font-mono text-[13px] leading-7 text-gray-100 whitespace-pre-wrap"><code># tunnel resource
163+
<pre class="px-6 py-6 overflow-x-auto font-mono text-[13px] leading-7 text-gray-100 whitespace-pre-wrap"><code># A tunnel for the customer's Kubernetes API server
164164
apiVersion: uplink.inlets.dev/v1alpha1
165165
kind: Tunnel
166166
metadata:
167-
name: acmeco
168-
namespace: tunnels
167+
name: kubernetes
168+
namespace: customer1
169169
spec:
170170
tcpPorts:
171-
- 8080
171+
- 6443
172172

173-
# customer connects to the router
173+
# The customer runs a client inside their cluster
174174
inlets-pro uplink client \
175-
--url wss://uplink.example.com/tunnels/acmeco \
176-
--upstream http://127.0.0.1:8080 \
175+
--url wss://uplink.example.com/customer1/kubernetes \
176+
--upstream 6443=kubernetes.default.svc:443 \
177177
--token-file ./token.txt
178178

179-
# private access from inside the cluster
180-
kubectl run -t -i curl --rm \
181-
--image ghcr.io/openfaas/curl:latest /bin/sh
179+
# Reach the API privately from your control plane
180+
$ kubectl --server https://kubernetes.customer1:6443 get nodes
181+
NAME STATUS ROLES AGE VERSION
182+
kube-1 Ready control-plane 40d v1.31.2
182183

183-
curl -i http://acmeco.tunnels:8000</code></pre>
184+
# ArgoCD can now manage it like any other cluster</code></pre>
184185
<div class="px-6 py-4 border-t border-gray-700 bg-gray-800">
185-
<a href="https://docs.inlets.dev/uplink/become-a-provider/" class="text-sm font-medium text-indigo-300 hover:text-white">Read the Uplink docs</a>
186+
<a href="https://docs.inlets.dev/uplink/tutorials/argo-cd/" class="text-sm font-medium text-indigo-300 hover:text-white">ArgoCD with Uplink →</a>
186187
</div>
187188
</section>
188189
</div>

0 commit comments

Comments
 (0)