Skip to content

Instantly share code, notes, and snippets.

@ox
Created September 19, 2017 15:45
Show Gist options
  • Save ox/50da89069a7163f022a3925e7face9ce to your computer and use it in GitHub Desktop.
Save ox/50da89069a7163f022a3925e7face9ce to your computer and use it in GitHub Desktop.
launch agent to run kubectl proxy on port 8001 in the background without taking up a terminal. logs go to Console.app.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.artem.kubernetes-proxy</string>
<key>ProgramArguments</key>
<array>
<string>/Users/artem/code/tools/google-cloud-sdk/bin/kubectl</string>
<string>proxy</string>
<string>--port=8001</string>
</array>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment