mirror of
				https://github.com/cunnie/sslip.io.git
				synced 2025-10-31 02:46:35 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			643 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			643 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: apps/v1
 | |
| kind: Deployment
 | |
| metadata:
 | |
|   name: sslip.io-nginx
 | |
| spec:
 | |
|   replicas: 2
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       app: sslip.io-nginx
 | |
|   template:
 | |
|     metadata:
 | |
|       name: sslip.io-nginx-pod
 | |
|       labels:
 | |
|         app: sslip.io-nginx
 | |
|     spec:
 | |
|       containers:
 | |
|       - name: sslip-nginx-container
 | |
|         image: cunnie/sslip.io-nginx
 | |
|         ports:
 | |
|         - containerPort: 80
 | |
|           protocol: TCP
 | |
|         resources:
 | |
|           requests:
 | |
|             memory: 32Mi
 | |
|         livenessProbe:
 | |
|           httpGet:
 | |
|             path: /
 | |
|             port: 80
 | |
|         readinessProbe:
 | |
|           httpGet:
 | |
|             path: /
 | |
|             port: 80
 | 
