Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Not working in k8s 1.30.5 in AKS #715

Description

@CalleB3

After upgrading some clusters to 1.30.5 issues appear in the proxy.

Starts fine and runs OK for ~20-30min, then errors are thrown.

{"level":"error","ts":1730378101.6257863,"caller":"proxy/handlers.go:61","msg":"Ready check failed","error":"Unauthorized","stacktrace":"github.com/xenitab/azad-kube-proxy/internal/proxy.(*handler).readiness.func1\n\t/workspace/internal/proxy/handlers.go:61\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"}

It manages sometimes to sync the ad-groups, not sure if that is still expected or not

{"level":"error","ts":1730378101.6257863,"caller":"proxy/handlers.go:61","msg":"Ready check failed","error":"Unauthorized","stacktrace":"github.com/xenitab/azad-kube-proxy/internal/proxy.(*handler).readiness.func1\n\t/workspace/internal/proxy/handlers.go:61\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"}
{"level":"info","ts":1730378105.4999404,"caller":"proxy/azure_groups.go:60","msg":"Synchronized Azure AD groups to cache","groupCount":12,"syncReason":"ticker"}
{"level":"error","ts":1730378111.6246645,"caller":"proxy/handlers.go:61","msg":"Ready check failed","error":"Unauthorized","stacktrace":"github.com/xenitab/azad-kube-proxy/internal/proxy.(*handler).readiness.func1\n\t/workspace/internal/proxy/handlers.go:61\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions