udpdate oam
parent
91be4a47a8
commit
8e11f1cd7a
|
@ -0,0 +1,40 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: food-trucks
|
||||
spec:
|
||||
selector:
|
||||
app: food-trucks
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 5000
|
||||
targetPort: 5000
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: food-trucks-deployment
|
||||
labels:
|
||||
app: food-trucks
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: food-trucks
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: food-trucks
|
||||
spec:
|
||||
containers:
|
||||
- name: food-trucks-web
|
||||
image: zzxwill/foodtrucks-web:0.1.1
|
||||
env:
|
||||
- name: discovery.type
|
||||
value: single-node
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
- name: es
|
||||
image: jimmysong/elasticsearch:6.3.2
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
- containerPort: 9300
|
|
@ -65,7 +65,7 @@ OAM 模型中包含以下基本对象,以本文发稿时的最新 API 版本 `
|
|||
|
||||
## Rudr
|
||||
|
||||
Rudr 是对 [OAM v1alpha1](https://github.com/oam-dev/spec/releases/tag/v1.0.0-alpha.1) 在 Kubernetes 环境下的实现,OAM 正在与 [Crossplane](https://github.com/crossplane/) 合作
|
||||
Rudr 是对 [OAM v1alpha1](https://github.com/oam-dev/spec/releases/tag/v1.0.0-alpha.1) 在 Kubernetes 环境下的实现,OAM 正在与 [Crossplane](https://github.com/crossplane/) 合作,Rudr 不建议再使用。
|
||||
|
||||
> **Crossplane**
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue