Forum Navigation
You need to log in to create posts and topics.

kubectl set default namespace

Problem

User wants to work in a different namespace then default  without specifying -n <<namespace>> for each command

Solution

Patch default namespace to kube/config with the following command

kubectl config set-context –current –namespace=github-actions-runner-operator

 

Note: commands with full name for example: -namespace should be changed to – – namespace ( double dash )

 

Uploaded files: