mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-25 20:52:11 +08:00 
			
		
		
		
	* docs: improve deployment docs in kubernetes. * move docs path. * format contents. * update contents. * build: update deployment env. * docs: update deploy docs. * build: add kafka secret and dependencies. * docs: update deployment docs. * Update docs contents. * update docs contents.
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: apps/v1
 | |
| kind: Deployment
 | |
| metadata:
 | |
|   name: push-rpc-server
 | |
| spec:
 | |
|   replicas: 2
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       app: push-rpc-server
 | |
|   template:
 | |
|     metadata:
 | |
|       labels:
 | |
|         app: push-rpc-server
 | |
|     spec:
 | |
|       containers:
 | |
|         - name: push-rpc-server-container
 | |
|           image: openim/openim-push:v3.8.3
 | |
|           env:
 | |
|             - name: CONFIG_PATH
 | |
|               value: "/config"
 | |
|             - name: IMENV_REDIS_PASSWORD
 | |
|               valueFrom:
 | |
|                 secretKeyRef:
 | |
|                   name: openim-redis-secret
 | |
|                   key: redis-password
 | |
|             - name: IMENV_KAFKA_PASSWORD
 | |
|               valueFrom:
 | |
|                 secretKeyRef:
 | |
|                   name: openim-kafka-secret
 | |
|                   key: kafka-password
 | |
|           volumeMounts:
 | |
|             - name: openim-config
 | |
|               mountPath: "/config"
 | |
|               readOnly: true
 | |
|           ports:
 | |
|             - containerPort: 10170
 | |
|             - containerPort: 12170
 | |
|       volumes:
 | |
|         - name: openim-config
 | |
|           configMap:
 | |
|             name: openim-config
 |