Skip to content

Instantly share code, notes, and snippets.

@patdowney
Last active September 6, 2024 17:02
Show Gist options
  • Save patdowney/9219219b03a181f22f01fa38d4e5976c to your computer and use it in GitHub Desktop.
Save patdowney/9219219b03a181f22f01fa38d4e5976c to your computer and use it in GitHub Desktop.
launchd plist file for minkube
<?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>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<!-- needs path to hyperkit and hdiutil -->
<string>/usr/local/bin:/usr/bin</string>
</dict>
<key>Label</key>
<string>io.k8s.minikube</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/minikube</string>
<string>start</string>
<string>--mount</string>
<string>--mount-string</string>
<string>/Users:/Users</string>
</array>
<key>UserName</key>
<string>minikube</string>
<key>WorkingDirectory</key>
<string>/Users/minikube</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
<key>AbandonProcessGroup</key>
<true/>
<key>StandardErrorPath</key>
<string>/Users/minikube/stderr.log</string>
<key>StandardOutPath</key>
<string>/Users/minikube/stdout.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment