Skip to content

Commit

Permalink
add argus-eye configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bfowle committed Jan 30, 2019
1 parent 0e07446 commit 6a36794
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 0 deletions.
55 changes: 55 additions & 0 deletions configs/tools/argus-eye-k8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: argus-eye
namespace: argus
labels:
app: argus-eye
spec:
replicas: 1
selector:
matchLabels:
app: argus-eye
template:
metadata:
labels:
app: argus-eye
spec:
containers:
- name: argus-eye
image: clustergarage/argus-eye:v0.1.0
ports:
- name: node
containerPort: 3000
volumeMounts:
- name: dockersock
mountPath: /var/run/docker.sock
securityContext:
capabilities:
add:
- SYS_ADMIN
- SYS_PTRACE
hostPID: true
serviceAccountName: argus-admin
volumes:
- name: dockersock
hostPath:
path: /var/run/docker.sock
---
apiVersion: v1
kind: Service
metadata:
name: argus-eye
namespace: argus
labels:
app: argus-eye
spec:
selector:
app: argus-eye
clusterIP: None
ports:
- name: node
protocol: TCP
port: 3000
targetPort: node
83 changes: 83 additions & 0 deletions configs/tools/argus-eye-openshift.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
apiVersion: v1
kind: ImageStream
metadata:
labels:
app: argus-eye
name: argus-eye
namespace: argus
spec:
tags:
- name: v0.1.0
from:
kind: DockerImage
name: clustergarage/argus-eye:v0.1.0
- name: latest
from:
kind: DockerImage
name: clustergarage/argus-eye:latest
---
apiVersion: v1
kind: DeploymentConfig
metadata:
name: argus-eye
namespace: argus
labels:
app: argus-eye
spec:
replicas: 1
selector:
app: argus-eye
template:
metadata:
labels:
app: argus-eye
spec:
containers:
- name: argus-eye
image: clustergarage/argus-eye:v0.1.0
ports:
- name: node
containerPort: 3000
volumeMounts:
- name: dockersock
mountPath: /var/run/docker.sock
securityContext:
capabilities:
add:
- SYS_ADMIN
- SYS_PTRACE
hostPID: true
qosClass: Guaranteed
serviceAccountName: argus-admin
volumes:
- name: dockersock
hostPath:
path: /var/run/docker.sock
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- argus-eye
from:
kind: ImageStreamTag
name: argus-eye:v0.1.0
---
apiVersion: v1
kind: Service
metadata:
name: argus-eye
namespace: argus
labels:
app: argus-eye
spec:
selector:
app: argus-eye
clusterIP: None
ports:
- name: node
protocol: TCP
port: 3000
targetPort: node

0 comments on commit 6a36794

Please sign in to comment.