-
Change
apiVersion
from:- apiVersion: v1
(or
apiVersion: apps.openshift.io/v1
)to:
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
grep -rnoP '(?<= indent )[0-9]+' > /tmp/11 | |
cat /tmp/11 | awk -F: '{print $1 " " $2 " " $3}' | while read file line indent; do echo "file=$file line=$line indent=$indent"; sed -i -e "$line s/^ *{{-\?/$(printf '%0.s ' $(seq 1 $indent)){{-/" -e "$line s/ indent \([0-9]\+\)/ nindent \1/g " $file; done |
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
// +build darwin linux | |
package main | |
import ( | |
"os" | |
"syscall" | |
"unsafe" | |
) |
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
// Import our library | |
local jobs = import 'lib/jobs.libsonnet'; | |
// Define override functions | |
local ref(x) = { only+: { refs: [x] } }; | |
local tag(x) = { tags: [x] }; | |
local submodule(x) = { variables+: { GIT_SUBMODULE_STRATEGY: x } }; | |
{ | |
// Building docker-images |
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
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 10000 } | |
filter_chains: | |
- filters: | |
- name: envoy.filters.network.http_connection_manager | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager |
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
#!/bin/bash | |
print_value() { | |
case "$1" in | |
string:*) echo ' <param><value><string>'${1##string:}'</string></value></param>' ;; | |
i4:*) echo ' <param><value><i4>'${1##i4:}'</i4></value></param>' ;; | |
int:*) echo ' <param><value><int>'${1##int:}'</int></value></param>' ;; | |
boolean:*) echo ' <param><value><boolean>'${1##boolean:}'</boolean></value></param>' ;; | |
array:*) | |
echo ' <param><value><array><data>' |
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
# fio -ioengine=libaio -name=test -bs=4k -direct=1 -numjobs=1 -iodepth=1 -randrepeat=0 -rw=randwrite -filename=/dev/mapper/mpathc -runtime=60 | |
test: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1 | |
fio-3.16 | |
Starting 1 process | |
Jobs: 1 (f=1): [w(1)][0.6%][w=176KiB/s][w=44 IOPS][eta 02h:57m:30s] | |
test: (groupid=0, jobs=1): err= 0: pid=4129882: Thu Nov 12 16:02:14 2020 | |
write: IOPS=2448, BW=9796KiB/s (10.0MB/s)(583MiB/60958msec); 0 zone resets | |
slat (usec): min=4, max=685, avg=36.64, stdev=19.01 | |
clat (usec): min=198, max=1012.8k, avg=366.08, stdev=3744.08 | |
lat (usec): min=208, max=1012.8k, avg=403.32, stdev=3744.27 |
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/env python3 | |
from xmlrpc.server import SimpleXMLRPCServer | |
import xmlrpc.client | |
import xmltodict | |
import re | |
import os | |
import argparse | |
import logging | |
from socketserver import ThreadingMixIn |