-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
What happened:
root@ubuntu24:/data/code# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7de571619489 kindest/node:v1.33.1 "/usr/local/bin/entr…" 19 minutes ago Up 19 minutes 127.0.0.1:43895->6443/tcp kubegateway-control-plane
root@ubuntu24:/data/code# kubectl get no
NAME STATUS ROLES AGE VERSION
kubegateway-control-plane Ready control-plane 19m v1.33.1
root@ubuntu24:/data/code# kubectl get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default kubegateway-0 0/1 CrashLoopBackOff 5 (51s ago) 3m53s
kube-system coredns-674b8bbfcf-7tw8k 0/1 Running 0 21m
kube-system coredns-674b8bbfcf-d7nxk 0/1 Running 0 21m
kube-system etcd-kubegateway-control-plane 1/1 Running 0 21m
kube-system kindnet-rgvwb 1/1 Running 0 21m
kube-system kube-apiserver-kubegateway-control-plane 1/1 Running 0 21m
kube-system kube-controller-manager-kubegateway-control-plane 1/1 Running 0 21m
kube-system kube-proxy-kldjh 0/1 CrashLoopBackOff 8 (4m55s ago) 21m
kube-system kube-scheduler-kubegateway-control-plane 1/1 Running 0 21m
local-path-storage local-path-provisioner-7dc846544d-ql8lw 0/1 CrashLoopBackOff 7 (66s ago) 21m
root@ubuntu24:/data/code# kubectl logs -n default kubegateway-0
panic: version string "local-up" doesn't match expected regular expression: "^v(\d+\.\d+\.\d+)"
goroutine 1 [running]:
k8s.io/component-base/metrics.parseVersion({{0x0, 0x0}, {0x0, 0x0}, {0x2535938, 0x8}, {0x20bb8cc, 0xb}, {0x0, 0x0}, ...})
/go/pkg/mod/k8s.io/component-base@v0.18.10/metrics/version_parser.go:47 +0x27e
k8s.io/component-base/metrics.newKubeRegistry({{0x0, 0x0}, {0x0, 0x0}, {0x2535938, 0x8}, {0x20bb8cc, 0xb}, {0x0, 0x0}, ...})
/go/pkg/mod/k8s.io/component-base@v0.18.10/metrics/registry.go:288 +0x118
k8s.io/component-base/metrics.NewKubeRegistry()
/go/pkg/mod/k8s.io/component-base@v0.18.10/metrics/registry.go:302 +0x78
k8s.io/component-base/metrics/legacyregistry.init()
/go/pkg/mod/k8s.io/component-base@v0.18.10/metrics/legacyregistry/registry.go:29 +0x1dWhat you expected to happen:
run ok
How to reproduce it (as minimally and precisely as possible):
bash hack/local-up.sh
=> [stage-1 1/2] FROM docker.io/library/debian:stable@sha256:680c8021ec3a3fc534113c31e5cf850a47df43ae0618e2fadad888a61692c43a 79.4s
=> => resolve docker.io/library/debian:stable@sha256:680c8021ec3a3fc534113c31e5cf850a47df43ae0618e2fadad888a61692c43a 0.0s
=> => sha256:678d881964f79a47a3fee619b32942e45f3fa62d5251ebcb49427949487c6fe8 451B / 451B 0.0s
=> => sha256:680c8021ec3a3fc534113c31e5cf850a47df43ae0618e2fadad888a61692c43a 8.93kB / 8.93kB 0.0s
=> => sha256:49240a3a9799ec8b192f6dff33f2359d52437fd4846396357a02cbe6c3566e52 1.02kB / 1.02kB 0.0s
=> => sha256:a1d865bc2cbc03af4eecb96149727facea254a73137e774f5041eecb07a31f52 49.28MB / 49.28MB 72.6s
=> => extracting sha256:a1d865bc2cbc03af4eecb96149727facea254a73137e774f5041eecb07a31f52 6.4s
=> [builder 2/4] ADD . /build 2.0s
=> [builder 3/4] WORKDIR /build/ 0.1s
=> [builder 4/4] RUN VERSION=local-up make build WHAT=cmd/kube-gateway GO_BUILD_PLATFORMS=linux/amd64 311.3s
=> [stage-1 2/2] COPY --from=builder /build/bin/linux_amd64/kube-gateway /usr/local/bin/kube-gateway 0.4s
=> exporting to image 0.3s
=> => exporting layers 0.2s
=> => writing image sha256:ef0d7c1a831b02eb5832f245a52a3c9577983dfac6213b1d3a7065adf25bb757 0.0s
=> => naming to docker.io/library/kube-gateway:local-up 0.0s
2 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 15)
- RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 21)
Image: "kube-gateway:local-up" with ID "sha256:ef0d7c1a831b02eb5832f245a52a3c9577983dfac6213b1d3a7065adf25bb757" not yet present on node "kubegateway-control-plane", loading...
statefulset.apps/kubegateway created
service/kubegateway created
clusterrole.rbac.authorization.k8s.io/kubegateway created
clusterrolebinding.rbac.authorization.k8s.io/kubegateway created
>> waiting for kubegateway server running, sleep 5s
>> waiting for kubegateway server running, sleep 5s
>> waiting for kubegateway server running, sleep 5s
>> waiting for kubegateway server running, sleep 5sAnything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version):v1.33.1 - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): ubuntu24 - Kernel (e.g.
uname -a):Linux ubuntu24 6.8.0-85-generic - Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels