-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
As described here I would like to use KNE and deploy a topology into a specific namespace. Unfortunately, it seems that KNE lacks some convenience features such taking into account the current context set in the kubeconfig files or allowing the definition of the target namespace similar to kubectl create -n ... and always deploys the topology in the namespace defined by the name parameter in the topology file.
So far, the only workaround I have found seems to be modifying in the topology file at runtime as shown below.
namespace=3-node-ceos-with-traffic
kubectl create namespace $namespace
echo "name: \"$namespace\"" >> topology.pb.txt
kne create topology.pb.txt --kubecfg $KUBECONFIGMetadata
Metadata
Assignees
Labels
No labels