Comments (4)
提供执行现场截图,以及相关日志,例如kk describe po $POD_ID
的Events部分
from k8s-tutorial-cn.
如无后续,issue将在两天后关闭。
from k8s-tutorial-cn.
kubectl version: v1.28.2
根据文档中的命令: kubectl set image deploy hellok8s-go-http=leigg/hellok8s:v2
执行得到:error: resource(s) were provided, but no name was specified
切换为:kubectl set image deploy hellok8s-go-http hellok8s=leigg/hellok8s:v2
执行得到:deployment.apps/hellok8s-go-http image updated
执行kubectl rollout undo deployment hellok8s-go-http --to-revision=N
执行得到: error: invalid argument "N" for "--to-revision" flag: strconv.ParseInt: parsing "N": invalid syntax
See 'kubectl rollout undo --help' for usage.
N切换为具体版本号执行成功
from k8s-tutorial-cn.
感谢反馈,第一处应该是一个命令错误,你切换的是正确的;第二处命令中的N是个代号,执行时需要替换为具体的修订号(已追加说明)。
from k8s-tutorial-cn.
Related Issues (4)
- kk命令怎么安装 HOT 2
- 感谢分享 HOT 1
- 7.6 Service类型之ExternalName curl可以访问百度页面 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-tutorial-cn.