This commit is contained in:
		
							
								
								
									
										28
									
								
								k8s/deployment.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								k8s/deployment.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
---
 | 
			
		||||
apiVersion: apps/v1
 | 
			
		||||
kind: Deployment
 | 
			
		||||
metadata:
 | 
			
		||||
  name: birbcontrol
 | 
			
		||||
  namespace: birbnetes
 | 
			
		||||
  labels:
 | 
			
		||||
    app: birbcontrol
 | 
			
		||||
spec:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      app: birbcontrol
 | 
			
		||||
  strategy:
 | 
			
		||||
    type: Recreate
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        app: birbcontrol
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
        - name: frontend
 | 
			
		||||
          image: registry.kmlabz.com/birbnetes/birbcontrol
 | 
			
		||||
          imagePullPolicy: Always
 | 
			
		||||
          ports:
 | 
			
		||||
            - containerPort: 80
 | 
			
		||||
      imagePullSecrets:
 | 
			
		||||
        - name: regcred
 | 
			
		||||
							
								
								
									
										17
									
								
								k8s/service.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								k8s/service.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
---
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Service
 | 
			
		||||
metadata:
 | 
			
		||||
  name: birbcontrol-svc
 | 
			
		||||
  namespace: birbnetes
 | 
			
		||||
  labels:
 | 
			
		||||
    app: birbcontrol
 | 
			
		||||
spec:
 | 
			
		||||
  ports:
 | 
			
		||||
    - name: birbcontrol
 | 
			
		||||
      port: 80
 | 
			
		||||
      targetPort: 80
 | 
			
		||||
      protocol: TCP
 | 
			
		||||
  selector:
 | 
			
		||||
    app: birbcontrol
 | 
			
		||||
  type: ClusterIP
 | 
			
		||||
		Reference in New Issue
	
	Block a user