![](https://s3.sre.ink/img/2021/01/16/ef53751ba6d1886b15a0c06bcb9a9ca2.png) # configmap ```yaml apiVersion: v1 kind: ConfigMap metadata: name: binance-config-qy-xrp namespace: sre data: config.json: | { "platform": "binance_spot", "symbol": "XRPUSDT", "api_key": "your api_ky 1111111111111111111111111111111111111", "api_secret": "your api_secret 222222222222222222222222222222", "gap_percent": 0.005, "quantity": 40, "min_price": 0.00001, "min_qty": 40, "max_orders": 5, "proxy_host": "", "proxy_port": 0 } ``` # k8s Deployment api-wechat ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: binance-trader-xrp namespace: sre spec: replicas: 1 selector: matchLabels: binance: trader template: metadata: labels: binance: trader spec: imagePullSecrets: - name: wzaqqqaliyunsecret containers: - name: binance-trader image: mmmmmmmmmmmmmmmm/binance_grid_trader:6 imagePullPolicy: IfNotPresent volumeMounts: - name: binance-config mountPath: /app/conf/ volumes: - name: binance-config configMap: name: binance-config-qy-xrp ```