Skip to content

Conversation

@hecomlilong
Copy link

如果执行kubectl expose deploy nginx --selector run=nginx --port=80 --type=NodePort
会报错,deployment not found
因为kubectl run 默认创建的是pod,不是deploy
kubernetes 1.23.1 测试通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant