K8s/Localtunnel: Difference between revisions
Jump to navigation
Jump to search
Created page with "==K8s » Config== {|class='wikitable' style='width:100%' !scope='col' style='text-align:left'| K8s » Config |- |valign='top'| {|class='wikitable mw-collapsible' style='width:100%;margin:3px 0 3px 0' !scope='col' style='width:50%'| Context » Available !scope='col' style='width:50%'| Context » Enabled |- |valign='top'| <syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> export KUBECONFIG=${HOME}/.kube/shahed-aa-kubeconfig.yaml export KUBECONFIG=${HOME}/.kube/shahed..." |
|||
| Line 49: | Line 49: | ||
|- | |- | ||
|valign='top'| | |valign='top'| | ||
{|class='wikitable mw-collapsible' style='width:100%;margin:3px 0 3px 0' | {|class='wikitable mw-collapsible mw-collapsed' style='width:100%;margin:3px 0 3px 0' | ||
!scope='col' style=' | !scope='col' style='text-align:left' colspan='2'| | ||
LocalTunnel » Search | LocalTunnel » Search | ||
|- | |- | ||
|valign='top'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | <syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | ||
docker search node --filter stars=3 --filter is-official=true --no-trunc | docker search node --filter stars=3 --filter is-official=true --no-trunc | ||
| Line 65: | Line 63: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|valign='top'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | <syntaxhighlight style='margin:3px 0 3px 0' lang='bash'> | ||
docker pull node:25.0-alpine | docker pull node:25.0-alpine | ||
| Line 87: | Line 85: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
{|class='wikitable mw-collapsible | {|class='wikitable mw-collapsible' style='width:100%;margin:6px 0 3px 0' | ||
!scope='col' style='text-align:left'| | !scope='col' style='text-align:left'| | ||
LocalTunnel » Config | LocalTunnel » Config | ||
| Line 190: | Line 188: | ||
tty: true | tty: true | ||
restartPolicy: Always | restartPolicy: Always | ||
YML | |||
</syntaxhighlight> | |||
|} | |||
{|class='wikitable mw-collapsible' style='width:100%;margin:6px 0 3px 0' | |||
!scope='col' style='text-align:left' colspan='2'| | |||
LocalTunnel » Reconf | |||
|- | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='yaml'> | |||
cat << YML| \ | |||
kubectl -n localtunnel patch configmap \ | |||
localtunnel --type merge --patch-file=/dev/stdin | |||
--- | |||
data: | |||
LT_SUBDOMAIN: pihole-shahed | |||
LOCAL_HOST: 192.168.49.110 | |||
YML | |||
</syntaxhighlight> | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='yaml'> | |||
cat << YML| \ | |||
kubectl -n localtunnel patch secret \ | |||
localtunnel --type merge --patch-file=/dev/stdin | |||
--- | |||
data: | |||
LT_PASSWORD: $(curl -fsSL https://ipv4.icanhazip.com | tr -d '\n' | base64) | |||
YML | |||
</syntaxhighlight> | |||
|- | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='yaml'> | |||
cat <<'YML' | \ | |||
kubectl -n localtunnel patch deploy/localtunnel --patch-file=/dev/stdin | |||
--- | |||
spec: | |||
replicas: 0 | |||
YML | |||
</syntaxhighlight> | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight style='margin:3px 0 3px 0' lang='yaml'> | |||
cat <<'YML' | \ | |||
kubectl -n localtunnel patch deploy/localtunnel --patch-file=/dev/stdin | |||
--- | |||
spec: | |||
replicas: 1 | |||
YML | YML | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 12:16, 24 October 2025
K8s » Config
|
K8s » Config | ||||||
|---|---|---|---|---|---|---|
|
K8s » Infra
|
Infra » LocalTunnel | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||