build(deployment): 添加 http-bin 应用的 Deployment 配置
- 新增 deployment-2.yaml 文件 - 定义了一个名为 http-bin 的 Deployment - 设置 replicas 为 1 - 使用 kennethreitz/httpbin 镜像创建容器
This commit is contained in:
		
							parent
							
								
									33828c7105
								
							
						
					
					
						commit
						f1a3f3269d
					
				
							
								
								
									
										24
									
								
								deployment-2.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								deployment-2.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
			
		||||
apiVersion: apps/v1
 | 
			
		||||
kind: Deployment
 | 
			
		||||
metadata:
 | 
			
		||||
  creationTimestamp: null
 | 
			
		||||
  labels:
 | 
			
		||||
    app: http-bin
 | 
			
		||||
  name: http-bin
 | 
			
		||||
spec:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      app: http-bin
 | 
			
		||||
  strategy: {}
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      creationTimestamp: null
 | 
			
		||||
      labels:
 | 
			
		||||
        app: http-bin
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
      - image: kennethreitz/httpbin
 | 
			
		||||
        name: httpbin
 | 
			
		||||
        resources: {}
 | 
			
		||||
status: {}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user