Last active
March 11, 2019 08:08
-
-
Save kunalkushwaha/43ec99f4d8b849f1abbaad32fa3b0fb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ virtctl expose virtualmachineinstance vmi-trac --name trac --type NodePort --target-port 22 | |
Service trac successfully exposed for virtualmachineinstance vmi-trac | |
$ kubectl get service | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 3d2h | |
trac NodePort 10.108.30.13 <none> 80:30322/TCP,22:31358/TCP 2s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment