mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-07 10:19:47 +08:00
update yml
This commit is contained in:
parent
1242b8cde8
commit
5a7232254f
@ -6,11 +6,13 @@ spec:
|
||||
containers:
|
||||
- name: server
|
||||
image: cheneyyu/shm-demo
|
||||
env:
|
||||
- name: ROLE
|
||||
value: s
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1G"
|
||||
- name: function-1
|
||||
image: cheneyyu/shm-demo
|
||||
env:
|
||||
- name: ROLE
|
||||
value: c
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1G"
|
||||
@ -6,18 +6,20 @@ spec:
|
||||
containers:
|
||||
- name: server
|
||||
image: cheneyyu/shm-demo
|
||||
env:
|
||||
- name: ROLE
|
||||
value: s
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1G"
|
||||
volumeMounts:
|
||||
- name: cache-volume
|
||||
mountPath: /dev/shm
|
||||
|
||||
- name: function-1
|
||||
image: cheneyyu/shm-demo
|
||||
env:
|
||||
- name: ROLE
|
||||
value: c
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1G"
|
||||
volumeMounts:
|
||||
- name: cache-volume
|
||||
mountPath: /dev/shm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user