0

我正在使用https://haproxy-ingress.github.io/ haproxy ingress

当我在 k8s 中部署所有内容时,quay.io/jcmoraisjr/haproxy-ingress容器启动错误,

下面的日志打印:

I0512 09:31:19.876527       6 launch.go:151] 

Name:       HAProxy

Release:    v0.8.3

Build:      git-ae30511

Repository: https://github.com/jcmoraisjr/haproxy-ingress

I0512 09:31:19.876936       6 launch.go:154] Watching for ingress class: haproxy

I0512 09:31:19.878217       6 launch.go:364] Creating API client for https://10.0.0.1:443

I0512 09:31:42.274632       6 main.go:45] Shutting down with signal terminated

panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x1036b9b]


goroutine 37 [running]:

github.com/jcmoraisjr/haproxy-ingress/pkg/controller.(*HAProxyController).Stop(0xc4203bc0e0, 0x1c, 0xc42001f790)

    /home/travis/gopath/src/github.com/jcmoraisjr/haproxy-ingress/pkg/controller/controller.go:186 +0x3b
main.handleSignal(0xc4203bc0e0, 0xc4204361e0)

    /home/travis/gopath/src/github.com/jcmoraisjr/haproxy-ingress/pkg/main.go:46 +0x163

created by main.main

    /home/travis/gopath/src/github.com/jcmoraisjr/haproxy-ingress/pkg/main.go:30 +0x88

有人可以帮我吗,非常感谢;

4

0 回答 0