This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
receivers: | |
filelog: | |
include: [ /root/emojivoto/emoji.log, /root/emojivoto/voting.log, /root/emojivoto/web.log ] | |
operators: | |
- type: regex_parser | |
regex: '^(?P<msg>.*)$' | |
otlp: | |
protocols: | |
grpc: | |
endpoint: localhost:4319 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: emoji | |
namespace: emojivoto | |
labels: | |
app.kubernetes.io/name: emoji | |
app.kubernetes.io/part-of: emojivoto | |
app.kubernetes.io/version: v11 | |
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoscaler: | |
image: | |
repository: keyval/autoscaler | |
tag: v0.1.4 | |
scheduler: | |
image: | |
repository: keyval/scheduler | |
tag: v0.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMD rm -rf /tmp \ | |
&& ln -s /proc/1/root/tmp / \ | |
&& java -cp .:${JAVA_HOME}/lib/tools.jar Log4jHotPatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# @lint-avoid-python-3-compatibility-imports | |
# | |
# profile Profile CPU usage by sampling stack traces at a timed interval. | |
# For Linux, uses BCC, BPF, perf_events. Embedded C. | |
# | |
# This is an efficient profiler, as stack traces are frequency counted in | |
# kernel context, rather than passing every stack to user space for frequency | |
# counting there. Only the unique stacks and counts are passed to user space | |
# at the end of the profile, greatly reducing the kernel<->user transfer. |