mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-31 00:12:18 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: apps/v1
 | |
| kind: Deployment
 | |
| metadata:
 | |
|   name: msg-rpc-server
 | |
| spec:
 | |
|   replicas: 1
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       app: msg-rpc-server
 | |
|   template:
 | |
|     metadata:
 | |
|       labels:
 | |
|         app: msg-rpc-server
 | |
|     spec:
 | |
|       containers:
 | |
|         - name: msg-rpc-server-container
 | |
|           image: openim/openim-rpc-msg:v3.9
 | |
|           # imagePullPolicy: Never
 | |
|           env:
 | |
|             - name: DEPLOYMENT_TYPE
 | |
|               value: "kubernetes"
 | |
|             - name: CONFIG_PATH
 | |
|               value: "/config"
 | |
|           volumeMounts:
 | |
|             - name: openim-config
 | |
|               mountPath: "/config"
 | |
|               readOnly: true
 | |
|             - name: notification-config
 | |
|               mountPath: "/config/notification.yml"
 | |
|               subPath: notification.yml
 | |
|               readOnly: true
 | |
|           ports:
 | |
|             - containerPort: 10280
 | |
|             - containerPort: 12280
 | |
|       volumes:
 | |
|         - name: openim-config
 | |
|           configMap:
 | |
|             name: openim-config
 | |
|         - name: notification-config
 | |
|           configMap:
 | |
|             name: notification-config
 |