Back to articles
NewsDevOps

Kubernetes v1.34: User preferences (kuberc) are available for testing in kubectl 1.34

via Kubernetes Blog

Have you ever wished you could enable interactive delete , by default, in kubectl ? Or maybe, you'd like to have custom aliases defined, but not necessarily generate hundreds of them manually ? Look no further. SIG-CLI has been working hard to add user preferences to kubectl , and we are happy to announce that this functionality is reaching beta as part of the Kubernetes v1.34 release. How it works A full description of this functionality is available in our official documentation , but this blog post will answer both of the questions from the beginning of this article. Before we dive into details, let's quickly cover what the user preferences file looks like and where to place it. By default, kubectl will look for kuberc file in your default kubeconfig directory, which is $HOME/.kube . Alternatively, you can specify this location using --kuberc option or the KUBERC environment variable. Just like every Kubernetes manifest, kuberc file will start with an apiVersion and kind : apiVersio

Continue reading on Kubernetes Blog

Opens in a new tab

Read Full Article
5 views

Related Articles