Skip to content

Instantly share code, notes, and snippets.

@gianrubio
Created July 13, 2017 08:15
Show Gist options
  • Save gianrubio/6dab4f753972e2a0f4bd1575b3cf3066 to your computer and use it in GitHub Desktop.
Save gianrubio/6dab4f753972e2a0f4bd1575b3cf3066 to your computer and use it in GitHub Desktop.
debug ingress on vstudio
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}/controllers/nginx/pkg/cmd/controller/main.go",
"env": {
"KUBERNETES_SERVICE_HOST": "192.168.99.100",
"KUBERNETES_SERVICE_PORT": "8443",
"POD_NAMESPACE": "kube-ingress",
"POD_NAME": "nginx-ingress"
},
"args": ["--default-backend-service=kube-ingress/nginx-default-backend",
"--configmap=nginx-ingress/nginx" ,
"--kubeconfig=/Users/grubio/.kube/config"
],
"showLog": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment