kakao / network-node-manager

network-node-manager is a kubernetes controller that controls the network configuration of a node to resolve network issues of kubernetes.
Apache License 2.0
107 stars 20 forks source link

Build for arm64 possible? #2

Closed Trackhe closed 4 years ago

Trackhe commented 4 years ago

Dear Dev, is it possible that you can build a arm64 image please?

Best regarts M.N(Trackhe)

ssup2 commented 4 years ago

@Trackhe Sure, I will try this.

ssup2 commented 4 years ago

@Trackhe I uploaded the arm64 docker image. I verified that iptables rules are well set on my jetson nano. But I can't verify that it really works well because the kernel of jetson nano doesn't fully support IPVS. Please try it and give me feedback thanks.

Trackhe commented 4 years ago

@ssup2 So maybe it is a new issue?! If i use metallb.universe.tf/allow-shared-ip and externalTrafficPolicy: Local. metallb.universe.tf/allow-shared-ip dosnt have a effekt anymore

For one Service with a unique ip seem it working.

ipvs-node-controller log

2020-09-05T16:51:31.078Z    INFO    controllers.Service create rules    {"service": "default/piholev6tcp", "externalIP": "fd11:1111:1111:1111::1"}
2020-09-05T16:51:31.163Z    ERROR   controllers.Service iptables v1.8.3 (legacy): host/network `fd11:1111:1111:1111::1' not found
Try `iptables -h' or 'iptables --help' for more information.
    {"service": "default/piholev6tcp", "error": "exit status 2"}
github.com/go-logr/zapr.(*zapLogger).Error
    /go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
github.com/kakao/ipvs-node-controller/controllers.(*ServiceReconciler).Reconcile
    /workspace/controllers/service_controller.go:159
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:256
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:88
2020-09-05T16:51:31.164Z    ERROR   controller-runtime.controller   Reconciler error    {"controller": "service", "request": "default/piholev6tcp", "error": "exit status 2"}
github.com/go-logr/zapr.(*zapLogger).Error
    /go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:258
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
    /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
    /go/pkg/mod/k8s.io/apimachinery@v0.17.2/pkg/util/wait/wait.go:88
ssup2 commented 4 years ago

@Trackhe I think that ipv6 IP causes an issue. Please show your service information at the new issue thread. Thanks