How to fix kubectl exec plugin invalid apiVersion

error: exec plugin: invalid apiVersion ""
 kubectl version
cd /tmp
sudo rm -f /usr/local/bin/kubectl
curl -LO ""
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
sudo chown root: /usr/local/bin/kubectl
kubectl version




Software Engineer @ London []

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Malformed Lambda Proxy Response — What causes it and how to fix?

S_wallet platform is a platform for all..

Use case: AWS Cloud Map vs App Mesh

How to choose network protocol for live encoding

How To Receive Data From REST API In Elm — Tentamen Software Testing Blog

Simple Machine Learning App Using Apple’s Core ML Models

Elastic Snapshots: backups vs analytics

Linux, Netlink, and Go — Part 1: netlink

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elvis Ciotti

Elvis Ciotti

Software Engineer @ London []

More from Medium

Getting Started with Minikube Kubernetes

Add kubernetes metadata to fluentd/ sidecar

Going the extra mile with our k8s setup

Kubernetes logo over network of interconnected light nodes

Rolling updates & rollbacks in Deployments (Kubernetes)