All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m23s
38 lines
585 B
YAML
38 lines
585 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nats
|
|
labels:
|
|
app: nats
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nats
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nats
|
|
spec:
|
|
containers:
|
|
- name: nats
|
|
image: nats:alpine
|
|
ports:
|
|
- containerPort: 4222
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "50m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nats
|
|
spec:
|
|
ports:
|
|
- port: 4222
|
|
selector:
|
|
app: nats
|