This file contains hidden or 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
| {{- $podValues := .Values.unsealedJob.pod -}} | |
| {{- $jobValues := .Values.unsealedJob.job -}} | |
| {{- $containerValues := .Values.unsealedJob.container -}} | |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: vault-unsealed-{{ $jobValues.version }} | |
| spec: | |
| template: | |
| spec: |
This file contains hidden or 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
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": { | |
| "type": "grafana", | |
| "uid": "-- Grafana --" | |
| }, | |
| "enable": true, |
This file contains hidden or 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
| #!/bin/bash | |
| ## | |
| # Requirements: jq, jd, curl | |
| # Variables: | |
| # - ES_AUTH --> elasticsearch auth | |
| ## | |
| alias es_curl="curl -H "application/json" -u $ES_AUTH" |
This file contains hidden or 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
| POST apm-*-span/_search | |
| { | |
| "size": 0, | |
| "query": { | |
| "bool": { | |
| "must": [ | |
| { | |
| "range": { | |
| "@timestamp": { | |
| "gte": "2023-02-16T13:00:00.540Z" |
This file contains hidden or 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: argoproj.io/v1alpha1 | |
| kind: Workflow | |
| metadata: | |
| generateName: djobi-workflow- | |
| spec: | |
| entrypoint: djobi | |
| serviceAccountName: workflow | |
| ttlStrategy: |
This file contains hidden or 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: argoproj.io/v1alpha1 | |
| kind: Workflow | |
| metadata: | |
| generateName: pyspark- | |
| spec: | |
| entrypoint: pyspark | |
| templates: | |
| - name: pyspark | |
| inputs: |
This file contains hidden or 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
| public async deleteKeys(keys: string[]): Promise<any[]> { | |
| function spliceIntoChunks(arr: any[], chunkSize: number) { | |
| const res = []; | |
| while (arr.length > 0) { | |
| const chunk = arr.splice(0, chunkSize); | |
| res.push(chunk); | |
| } | |
| return res; | |
| } |
This file contains hidden or 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
| spark.executor.extraJavaOptions: -Dorg.xerial.snappy.use.systemlib=true -Dorg.xerial.snappy.lib.path=/usr/lib/libsnappyjava.so |
This file contains hidden or 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
| PUT _transform/test | |
| { | |
| "source": { | |
| "index": [ | |
| "apm-*-span" | |
| ], | |
| "query": { | |
| "bool": { | |
| "filter": [ | |
| { |
This file contains hidden or 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
| POST _aliases | |
| { | |
| "actions": [ | |
| { | |
| "remove": { | |
| "index": "consolidation-ctr-v1", | |
| "alias": "consolidation-ctr" | |
| } | |
| }, | |
| { |