Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build/taskmon/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ARG BASE_IMAGE
FROM 389791687681.dkr.ecr.eu-west-1.amazonaws.com/taskmon:$BASE_IMAGE AS taskmon

FROM alpine:3.20.3
COPY --link --from=taskmon / /taskmon
COPY --link --from=taskmon /configs /configs
COPY --link entrypoint.sh /entrypoint.sh
ENTRYPOINT "/entrypoint.sh"
6 changes: 6 additions & 0 deletions build/taskmon/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

set -e

env | grep -i TASKMON || true
exec /taskmon/taskmon start
12 changes: 12 additions & 0 deletions build/taskmon/manual_buildx_push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/zsh

set -e

BASE_IMAGE=f8a10f04603cfddb_x86_64
VERSION=0.0.18

TARGET_IMAGE=quay.io/weka.io/taskmon:$VERSION-$BASE_IMAGE

docker buildx build --build-arg BASE_IMAGE=$BASE_IMAGE --push --platform linux/amd64 -t $TARGET_IMAGE .

echo $TARGET_IMAGE is built
1 change: 1 addition & 0 deletions build/taskmon/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# intended for manual bump
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,27 @@ spec:
type: string
type: object
type: object
remoteTracesSessionPayload:
properties:
cluster:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
duration:
type: string
nodeSelector:
additionalProperties:
type: string
type: object
wekahomeEndpointOverride:
type: string
type: object
signDrivesPayload:
properties:
devicePaths:
Expand Down
16 changes: 16 additions & 0 deletions examples/incluster-taskmon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: weka.weka.io/v1alpha1
kind: WekaManualOperation
metadata:
name: remote-traces-session
namespace: weka-operator-system
spec:
action: "remote-traces-session"
image: quay.io/weka.io/taskmon:0.0.17-b39e025c393f60f3_x86_64
imagePullSecret: "quay-io-robot-secret"
payload:
remoteTracesSessionPayload:
cluster:
name: cluster-dev
namespace: default
duration: 5m
wekahomeEndpointOverride: weka-home-wekahome-grpc-api.weka-home:50052 # direct port of nodeport service, TBD to wrap via envoy and then ALB ingress
Loading
Loading