3.clymene-gateway
configuration for clymene gateway
configuration for clymene gateway
apiVersion: apps/v1
kind: Deployment
metadata:
name: clymene-gateway
namespace: clymene
labels:
app: clymene-gateway
spec:
selector:
matchLabels:
app: clymene-gateway
replicas: 1
template:
metadata:
labels:
app: clymene-gateway
spec:
containers:
- name: gateway
image: bourbonkk/clymene-gateway:latest
imagePullPolicy: Always
ports:
- containerPort: 15694
args:
- --kafka.producer.brokers=kafka.kafka:9092
- --log-level=info
env:
- name: STORAGE_TYPE
value: kafka
securityContext:
runAsUser: 1000
---
apiVersion: v1
kind: Service
metadata:
name: clymene-gateway
namespace: clymene
labels:
app: clymene-gateway
spec:
type: NodePort
ports:
- name: grpc
port: 15610
targetPort: 15610
nodePort: 30610
selector:
app: clymene-gateway
Last modified August 1, 2022: update k8s example (013645e)