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

drenv macOS: your configuration file uses a deprecated API spec #1567

Open
2 tasks
nirs opened this issue Sep 20, 2024 · 0 comments
Open
2 tasks

drenv macOS: your configuration file uses a deprecated API spec #1567

nirs opened this issue Sep 20, 2024 · 0 comments
Labels
good first issue Good for newcomers test Testing related issue

Comments

@nirs
Copy link
Member

nirs commented Sep 20, 2024

We see these warnings in kubeadm output:

W0921 02:35:39.590435    3837 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config
 new.yaml', which will write the new, similar spec using a newer API version.
W0921 02:35:39.590806    3837 common.go:101] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "InitConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config ne
w.yaml', which will write the new, similar spec using a newer API version.

Fix:

  • Use kubeadm on a linux vm to create new yaml
  • Replace the deprecated APIs in test/drenv/providers/lima/k8s.yaml
@nirs nirs added good first issue Good for newcomers test Testing related issue labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers test Testing related issue
Projects
None yet
Development

No branches or pull requests

1 participant