mirror of
https://github.com/outbackdingo/xmidt.git
synced 2026-08-25 14:53:55 +00:00
* Added k8s deployment * Make helm chart dependent on xmidt-* helm charts * Change repo user to xmidt * Update Readme
38 lines
937 B
YAML
38 lines
937 B
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: rdkb-simulator
|
|
labels:
|
|
app: xmidt-app-rdkb-simulator
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: xmidt-app-rdkb-simulator
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
replicas: 1
|
|
serviceName: xmidt-app
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: xmidt-app-rdkb-simulator
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- topologyKey: "kubernetes.io/hostname"
|
|
labelSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- xmidt-app-rdkb-simulator
|
|
containers:
|
|
- image: {{ .Values.simulator.image }}
|
|
name: rdkb-simulator
|
|
command:
|
|
- /usr/bin/simulate
|
|
env:
|
|
- name: URL
|
|
value: "http://petasos:6400"
|