Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-bergstein committed Apr 16, 2023
1 parent cc15b2b commit 3ade627
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cam/manifests/cam-sim-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
source:
contextDir: cam
git:
uri: https://github.com/sa-mw-dach/manuela-visual-inspection.git
uri: https://github.com/stefan-bergstein/manuela-visual-inspection.git
type: Git
output:
to:
Expand Down
4 changes: 2 additions & 2 deletions image-processor/manifests/image-processor-bc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ spec:
source:
contextDir: image-processor
git:
uri: https://github.com/sa-mw-dach/manuela-visual-inspection.git
uri: https://github.com/stefan-bergstein/manuela-visual-inspection.git
type: Git
output:
to:
kind: ImageStreamTag
name: image-processor:latest
name: image-processor:cpu
runPolicy: Serial
triggers:
- type: ConfigChange
Expand Down
13 changes: 8 additions & 5 deletions image-processor/manifests/image-processor-kn-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ spec:
template:
metadata:
annotations:
autoscaling.knative.dev/target: '100'
autoscaling.knative.dev/targetUtilizationPercentage: '70'
autoscaling.knative.dev/window: 60s
autoscaling.knative.dev/minScale: "1"
# autoscaling.knative.dev/target: '100'
# autoscaling.knative.dev/targetUtilizationPercentage: '70'
# autoscaling.knative.dev/window: 60s
labels:
app.kubernetes.io/component: image-processor
app.kubernetes.io/instance: image-processor
Expand All @@ -31,14 +32,16 @@ spec:
containerConcurrency: 0
containers:
- name: image-processor
image: image-registry.openshift-image-registry.svc:5000/manuela-visual-inspection/image-processor:latest
image: image-registry.openshift-image-registry.svc:5000/manuela-visual-inspection/image-processor:cpu
imagePullPolicy: Always
ports:
- containerPort: 8080
envFrom:
- configMapRef:
name: image-processor-conf
resources: {}
enableServiceLinks: false
timeoutSeconds: 300
timeoutSeconds: 30
traffic:
- latestRevision: true
percent: 100

0 comments on commit 3ade627

Please sign in to comment.