added updates
This commit is contained in:
17
systemd/.config/systemd/user/cloudflared-k8s.service
Normal file
17
systemd/.config/systemd/user/cloudflared-k8s.service
Normal file
@@ -0,0 +1,17 @@
|
||||
# If this is being put on a new machine or OS install ensure you do the following:
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user enable --now cloudflared-k8s.service
|
||||
# systemctl --user status cloudflared-k8s.service
|
||||
|
||||
[Unit]
|
||||
Description=Cloudflare Tunnel to K8s API
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/cloudflared access tcp --hostname k8s.samoneal.io --url localhost:6443
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user