mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 13:50:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			725 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			725 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: extensions/v1beta1
 | |
| kind: Deployment
 | |
| metadata:
 | |
|   labels:
 | |
|     name: openshift
 | |
|   name: openshift
 | |
| spec:
 | |
|   replicas: 1
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       name: openshift
 | |
|   template:
 | |
|     metadata:
 | |
|       labels:
 | |
|         name: openshift
 | |
|     spec:
 | |
|       containers:
 | |
|         - args:
 | |
|             - start
 | |
|             - master
 | |
|             - --config=/config/master-config.yaml
 | |
|           image: "openshift/origin"
 | |
|           name: origin
 | |
|           ports:
 | |
|             - containerPort: 8443
 | |
|               name: openshift
 | |
|           volumeMounts:
 | |
|             - mountPath: /config
 | |
|               name: config
 | |
|               readOnly: true
 | |
|       volumes:
 | |
|         - name: config
 | |
|           secret:
 | |
|             secretName: openshift-config |