Skip to content

Commit

Permalink
update snippets
Browse files Browse the repository at this point in the history
Signed-off-by: Will Tsai <[email protected]>
  • Loading branch information
willtsai committed Sep 22, 2023
1 parent 2cedddb commit e345f2e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ resource frontend 'Applications.Core/containers@2022-03-15-privatepreview' = {
}
}
]
runtimes: {
kubernetes: {
base: loadTextContent('sidecar.yaml')
pod: {
containers: [
{
name: 'log-collector'
image: 'radiusdev.azurecr.io/fluent/fluent-bit:2.1.8'
}
]
hostNetwork: true
}
}
}
}
}
//CONTAINER
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ctnr-sidecar
labels:
app: ctnr-sidecar
spec:
replicas: 1
selector:
matchLabels:
app: ctnr-sidecar
template:
metadata:
labels:
app: ctnr-sidecar
spec:
containers:
- name: ctnr-sidecar
image: radiusdev.azurecr.io/magpie:latest

0 comments on commit e345f2e

Please sign in to comment.