openkruise / kruise-tools

Tools to use with the Kruise libraries
Apache License 2.0
47 stars 25 forks source link

Support kubectl kruise expose cmd #54

Closed hantmac closed 2 years ago

hantmac commented 2 years ago

Such as kubectl expose deployment nginx --port=80 --target-port=8000 , kurise plugin support this cmd for CloneSet, AdvancedStatefulSet.

Reference kubectl docs: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#expose