add local cluster config
This commit is contained in:
29
ctrl/k8s/base/lambda.yaml
Normal file
29
ctrl/k8s/base/lambda.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lambda
|
||||
namespace: eth
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lambda
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lambda
|
||||
spec:
|
||||
containers:
|
||||
- name: lambda
|
||||
image: eth-lambda
|
||||
command: ["sleep", "infinity"]
|
||||
workingDir: /app
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: eth-config
|
||||
resources:
|
||||
requests:
|
||||
memory: 128Mi
|
||||
cpu: 100m
|
||||
limits:
|
||||
memory: 512Mi
|
||||
Reference in New Issue
Block a user