39 lines
		
	
	
		
			859 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			859 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: apps/v1
 | 
						|
kind: Deployment
 | 
						|
metadata:
 | 
						|
  name: argus
 | 
						|
  namespace: argus
 | 
						|
  labels:
 | 
						|
    app: argus
 | 
						|
spec:
 | 
						|
  replicas: 1
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app: argus
 | 
						|
  template:
 | 
						|
    metadata:
 | 
						|
      labels:
 | 
						|
        app: argus
 | 
						|
    spec:
 | 
						|
      serviceAccountName: argus
 | 
						|
      containers:
 | 
						|
      - name: argus
 | 
						|
        image: releaseargus/argus:0.21.0
 | 
						|
        args:
 | 
						|
        - -config.file=/app/config/config.yml
 | 
						|
        ports:
 | 
						|
          - name: web
 | 
						|
            containerPort: 8080
 | 
						|
        volumeMounts:
 | 
						|
        - name: csismb-argus-config
 | 
						|
          mountPath: /app/config
 | 
						|
        - name: csismb-argus-data
 | 
						|
          mountPath: /app/data
 | 
						|
      volumes:
 | 
						|
      - name: csismb-argus-config
 | 
						|
        persistentVolumeClaim:
 | 
						|
          claimName: csismb-argus-config
 | 
						|
      - name: csismb-argus-data
 | 
						|
        persistentVolumeClaim:
 | 
						|
          claimName: csismb-argus-data
 |