Skip to content

Instantly share code, notes, and snippets.

View ashwnacharya's full-sized avatar
🎯
Focusing

ashwin ashwnacharya

🎯
Focusing
View GitHub Profile
@Machy8
Machy8 / readme.md
Last active August 6, 2023 13:38
Start Kubernetes proxy server automatically
  1. Create an empty file and paste the content bellow into it /lib/systemd/system/kubectlproxy.service
[Unit]
Description=kubectl proxy 8080
After=network.target

[Service]
User=root
ExecStart=/bin/bash -c "/usr/bin/kubectl proxy --address=127.0.0.1 --port=8080"