1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: kafka2rmq
- namespace: data
- labels:
- app.kubernetes.io/name: kafka2rmq
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: kafka2rmq
- replicas: 1
- template:
- metadata:
- labels:
- app.kubernetes.io/name: kafka2rmq
- spec:
- containers:
- - name: kafka2rmq
- image: reg.cestong.com.cn/cecf/kafka2rmq:latest
- imagePullPolicy: Always
- resources:
- limits:
- cpu: "2"
- memory: "4Gi"
- requests:
- cpu: "1"
- memory: "2Gi"
- securityContext:
- allowPrivilegeEscalation: false
- env:
- - name: TZ
- value: "Asia/Shanghai"
- - name: K2R_AK
- value: ak123
- - name: K2R_SK
- value: sk123
- - name: K2R_RMQ_NS
- value: http://sab.def.com:9876
- - name: K2R_KBS
- value: kafka-headless.observe.svc.cluster.local:9092
- - name: K2R_KT
- value: i6000send
|