当前位置:网站首页>Kubevera deploys applications through cli
Kubevera deploys applications through cli
2022-07-27 23:14:00 【Learn programming notes】
adopt CLI You can also complete the deployment of business application examples , By executing the following commands :
cat <<EOF | vela up -f -
# YAML begins
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: webservice-app
spec:
components:
- name: frontend
type: webservice
properties:
image: oamdev/testapp:v1
cmd: ["node", "server.js"]
ports:
- port: 8080
expose: true
exposeType: LoadBalancer
cpu: "0.5"
memory: "512Mi"
traits:
- type: scaler
properties:
replicas: 1
# YAML ends
EOF
Reference link :
http://static.kubevela.net/zh/docs/v1.3/tutorials/webservice
边栏推荐
- Redis网红高频面试题三连:缓存穿透?缓存击穿?缓存雪崩?
- Deploy dolphin scheduler high availability cluster based on rainbow
- Another fire broke out in Samsung storage factory!
- Six employees have been confirmed! Samsung closed the turtle tail mobile phone factory for the third time!
- 初中三年回忆录
- [NOI2018]归程(Kruskal重构树/可持久化并查集)
- Preparation of peptide kc2s modified albumin nanoparticles / targeting peptide GX1 modified human serum albumin nanoparticles probe
- Shuffle, partition and read of tfrecord
- MySQL basic installation and startup
- 图论的小技巧以及扩展
猜你喜欢
随机推荐
kubevela通过CLI部署应用
Cy3 fluorescent labeling antibody / protein Kit (10~100mg labeling amount)
图论的小技巧以及扩展
catch all in one draft! Introduction to 10 data visualization software
Exam summary on May 31, 2022
[idea] fluency optimization
Solve the problem that the last bit of IP address access is odd and even, or even and odd (the problem encountered when the cloud encryption machine connects to the cloud server, the whole process is
Complete Guide to IOT architecture
2022/4/11 考试总结
Five network management trends in 2022
Gstore weekly gstore source code analysis (V): log tracking of security mechanism
The security dilemma of software supply chain faced by enterprises
组件的传参
Node-RED系列(三十):使用持久化ui-table 刷新页面不清空上一次的table数据
2022年五大网络管理趋势
Main security risks and Countermeasures of cloud computing services
In depth analysis - file operation
物联网架构完全指南
Analysis of cloud native application security organization structure
It is said that Huawei will cut the order again! Supply chain manufacturers are more difficult









