Skip to content

Commit

Permalink
Update and cleanup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mtneug committed Dec 18, 2024
1 parent 5081f53 commit 9bfc713
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 579 deletions.
2 changes: 0 additions & 2 deletions config/deployment-gateway-nbmp/gateway-nbmp_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ metadata:
app.kubernetes.io/created-by: nagare-media-engine
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
webserver:
bindAddress: :8080
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ metadata:
app.kubernetes.io/created-by: nagare-media-engine
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: :8080
webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: a3df9e9e.engine.nagare.media
nats:
url: nats://nats.nats.svc.cluster.local:4222
5 changes: 0 additions & 5 deletions config/output-skaffold/gateway-nbmp_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ metadata:
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
webserver:
bindAddress: :8080
publicBaseURL: http://engine.nagare.localtest.me
workflow:
kubernetes:
namespace: default
gpuResourceName: nvidia.com/gpu
1 change: 1 addition & 0 deletions config/output-skaffold/gateway-nbmp_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
# Don't fail requests when debugging.
nginx.ingress.kubernetes.io/proxy-read-timeout: "999999"
labels:
app.kubernetes.io/name: ingress
Expand Down
7 changes: 0 additions & 7 deletions config/output-skaffold/workflow-manager_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ metadata:
app.kubernetes.io/created-by: nagare-media-engine
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: :8080
webhook:
port: 9443
leaderElection:
leaderElect: false
resourceName: a3df9e9e.engine.nagare.media
nats:
url: nats://nats.nats.svc.cluster.local:4222
42 changes: 0 additions & 42 deletions config/samples/docker/compose.yaml

This file was deleted.

8 changes: 1 addition & 7 deletions config/samples/engine/gateway-nbmp-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,4 @@ metadata:
app.kubernetes.io/created-by: nagare-media-engine
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
webserver:
bindAddress: :8080
publicBaseURL: http://engine.nagare.localtest.me
workflow:
kubernetes:
namespace: default
gpuResourceName: nvidia.com/gpu
# TODO: add all options with defaults
14 changes: 1 addition & 13 deletions config/samples/engine/workflow-manager-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,4 @@ metadata:
app.kubernetes.io/created-by: nagare-media-engine
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/managed-by: kustomize
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: :8080
webhook:
port: 9443
leaderElection:
leaderElect: false
resourceName: a3df9e9e.engine.nagare.media
nats:
url: nats://nats:4222
username: nagare-media-engine
password: nagare-media-engine
# TODO: add all options with defaults
1 change: 1 addition & 0 deletions config/samples/engine/workflow-manager-helper-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: WorkflowManagerHelperConfig
task:
# assume task is a sidecar
taskAPI: http://127.0.0.1:8888/v2/tasks
# TODO: add all options with defaults

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
---
apiVersion: engine.nagare.media/v1alpha1
kind: MediaProcessingEntity
metadata:
annotations:
engine.nagare.media/is-default-media-processing-entity: "true"
labels:
app.kubernetes.io/name: mediaprocessingentity
app.kubernetes.io/instance: local-cluster
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/created-by: nagare-media-engine
name: local-cluster
namespace: default
spec:
local:
namespace: default
---
apiVersion: engine.nagare.media/v1alpha1
kind: ClusterMediaProcessingEntity
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: engine.nagare.media/v1alpha1
kind: ClusterMediaProcessingEntity
metadata:
annotations:
engine.nagare.media/is-default-media-processing-entity: "true"
labels:
app.kubernetes.io/name: mediaprocessingentity
app.kubernetes.io/instance: local-cluster
app.kubernetes.io/part-of: nagare-media-engine
app.kubernetes.io/created-by: nagare-media-engine
name: local-cluster
spec:
local:
namespace: default
125 changes: 0 additions & 125 deletions config/samples/nbmp/v2_nbmp_live.wdd

This file was deleted.

Loading

0 comments on commit 9bfc713

Please sign in to comment.