Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

Could someone tell me what is kubectl proxy?

1 Answer

0 votes
by (99k points)

The Kubernetes commands are used for interacting with Kubernetes containers, within a cluster. The “kubectl proxy” command is used for running a proxy to the Kubernetes API server.

With this command, you have the control to proxy only the Kubernetes API, with part Kubernetes API’s and some static files, and to the proxy the whole Kubernetes API at a different root.

The syntax for the kubectl proxy command is:

kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-prefix=prefix]

Aiming to add Kubernetes to your profile? Then have a look at Kubernetes course from Intellipaat which offer separate modules for learning and practicing with guided projects to help you maximize your hands-on experience.

Also, check out our YouTube video on Kubectl Basic Command from our experts to help you get started.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer
asked Dec 21, 2020 in DevOps and Agile by chandra (29.3k points)
0 votes
1 answer

Browse Categories

...