Skip to content

import statement metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" is throwing k8s.io/apimachinery/pkg/util/clock: module k8s.io/apimachinery@latest found (v0.25.4), but does not contain package k8s.io/apimachinery/pkg/util/clock error #602

Discussion options

You must be logged in to vote

hi,
usually, I fix this by locking dependencies versions, apimachinery in this case(maybe k8s api and client-go too):

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@pandu-bhojaraj-mf
Comment options

@denis256
Comment options

@pandu-bhojaraj-mf
Comment options

Answer selected by pandu-bhojaraj-mf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants