Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static-egressip-controller is getting CrashLoopBackOff #60

Open
alvynabranches opened this issue Apr 1, 2023 · 0 comments
Open

static-egressip-controller is getting CrashLoopBackOff #60

alvynabranches opened this issue Apr 1, 2023 · 0 comments

Comments

@alvynabranches
Copy link

alvynabranches commented Apr 1, 2023

kubectl get pods -o wide -n kube-system -l k8s-app=static-egressip-controller
NAME                               READY   STATUS             RESTARTS      AGE   IP              NODE                                NOMINATED NODE   READINESS GATES
static-egressip-controller-rh6hd   0/1     CrashLoopBackOff   2 (20s ago)   38s   10.194.205.15   preprod-pool-1-468a8c918adf48b4b7   <none>           <none>
static-egressip-controller-sm5sg   0/1     CrashLoopBackOff   2 (21s ago)   38s   10.75.12.9      preprod-pool-1-78acfc47c1734c329a   <none>           <none>
kubectl logs -p static-egressip-controller-sm5sg -n kube-system
I0401 09:08:40.272551       1 main.go:45] Running Nirmata static egress ip controller version: 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1a0 pc=0xed62aa]

goroutine 1 [running]:
github.com/nirmata/kube-static-egress-ip/pkg/utils.GetNodeIP(0x0, 0xc42034a120, 0x0, 0x0, 0x0, 0x136c1e0)
        /workspace/golang/src/github.com/nirmata/kube-static-egress-ip/pkg/utils/node.go:47 +0x3a
github.com/nirmata/kube-static-egress-ip/pkg/controller.NewEgressIPController(0x13a7dc0, 0xc42034a120, 0x137bda0, 0xc4203fd340, 0x13759e0, 0xc42042c600, 0x136fce0, 0xc42042c690, 0x12)
        /workspace/golang/src/github.com/nirmata/kube-static-egress-ip/pkg/controller/controller.go:81 +0x63
main.main()
        /workspace/golang/src/github.com/nirmata/kube-static-egress-ip/cmd/static-egressip-controller/main.go:68 +0x30b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant