Created
July 13, 2017 08:15
-
-
Save gianrubio/6dab4f753972e2a0f4bd1575b3cf3066 to your computer and use it in GitHub Desktop.
debug ingress on vstudio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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