<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deprecated :: Tag :: Kubernetes training</title><link>https://k8s-school.fr/labs/k8s/en/tags/deprecated/index.html</link><description/><generator>Hugo</generator><language>en</language><copyright>Copyright (c) 2025 Fabrice Jammes - Licensed under CC BY-SA 4.0</copyright><lastBuildDate>Mon, 30 Sep 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://k8s-school.fr/labs/k8s/en/tags/deprecated/index.xml" rel="self" type="application/rss+xml"/><item><title>Alternatives for deprecated 'kubectl run' commands</title><link>https://k8s-school.fr/labs/k8s/en/articles/kubectl-run-deprecated/index.html</link><pubDate>Mon, 30 Sep 2019 00:00:00 +0000</pubDate><guid>https://k8s-school.fr/labs/k8s/en/articles/kubectl-run-deprecated/index.html</guid><description>Written by: Karim AMMOUS (LinkedIn). Date: Sept 30, 2019 · 5 min read
kubectl run command is a convenient and useful way to quickly create kubernetes resources without dealing with yaml files. Since kubernetes v1.12, creation acknowledgment (“object created”) is preceded by a message noting that this creation command is deprecated and will no longer be available in future kubectl releases.
Indeed, we can create some “runnable” resources like Pods and Deployments (the complete list) using kubectl run command by setting the --generator flag with the appropriate value. However, those generators have been deprecated since v1.12 except ‘run-pod/v1’ generator.</description></item></channel></rss>