kubectl run --generator=job/v1 is DEPRECATED and will be removed in a future version.

Bug #1882977 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes E2E Test Charm
Invalid
Undecided
Unassigned

Bug Description

When running e2e with 1.17 the following is seen:

Jun 10 15:24:21.526: INFO: Running '/snap/bin/kubectl --server=https://172.27.248.119:6443 --kubeconfig=/home/ubuntu/.kube/config run e2e-test-httpd-job --restart=OnFailure --generator=job/v1 --image=docker.io/library/httpd:2.4.38-alpine --namespace=kubectl-7432'
Jun 10 15:24:21.672: INFO: stderr: "kubectl run --generator=job/v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.\n"

Revision history for this message
George Kraft (cynerva) wrote :

This is an issue with upstream e2e that was fixed in Kubernetes 1.18.

https://github.com/kubernetes/kubernetes/pull/87077

Changed in charm-kubernetes-e2e:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.