Description of problem: The virtctl expose cmd is not consistent with kubectl expose For kubectl expose, there is no --node-port parameter For virtctl expose, there is a --node-port parameter https://bugzilla.redhat.com/show_bug.cgi?id=1644523#c6 Version-Release number of selected component (if applicable): openshift v3.11.16 kubernetes v1.11.0+d4cacc0 CNV1.3 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: The virtctl expose cmd is not consistent with kubectl expose Expected results: --node-port parameter should be removed. Additional info:
https://github.com/kubevirt/kubevirt/pull/1716
Test on d/s build 1.4 and u/s build v0.15.0, --node-port flag have been removed. $ virtctl expose vmi vmi-fedora --port=22 --target-port=22 --type=NodePort --node-port=30001 --name=testport unknown flag: --node-port
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1850