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
package main | |
import ( | |
"bytes" | |
"encoding/xml" | |
"os" | |
"text/template" | |
) | |
var tmpl = ` |
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
ts=2019-01-02T14:32:09.335548784Z caller=main.go:130 msg="Starting Prometheus Operator version '0.23.2'." | |
level=info ts=2019-01-02T14:32:09.396327183Z caller=operator.go:176 component=alertmanageroperator msg="connection established" cluster-version=v1.11.0+d4cacc0 | |
level=info ts=2019-01-02T14:32:09.401050498Z caller=operator.go:320 component=prometheusoperator msg="connection established" cluster-version=v1.11.0+d4cacc0 | |
level=info ts=2019-01-02T14:32:09.509153252Z caller=operator.go:559 component=alertmanageroperator msg="CRD created" crd=Alertmanager | |
level=info ts=2019-01-02T14:32:09.516055775Z caller=operator.go:1351 component=prometheusoperator msg="CRD created" crd=Prometheus | |
level=info ts=2019-01-02T14:32:09.605917069Z caller=operator.go:1351 component=prometheusoperator msg="CRD created" crd=ServiceMonitor | |
level=info ts=2019-01-02T14:32:09.864429916Z caller=operator.go:1351 component=prometheusoperator msg="CRD created" crd=PrometheusRule | |
level=info ts=2019-01-02T14:32:12.54020268Z caller=operator.go:19 |
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % |
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
package common | |
import ( | |
"crypto" | |
"crypto/ecdsa" | |
"crypto/rsa" | |
"crypto/tls" | |
"crypto/x509" | |
"encoding/pem" | |
"fmt" |
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
az vmss extension set \ | |
--vmss-name <vmss-name> \ | |
-g <resource-group> \ | |
-n VMAccessForLinux \ | |
--publisher Microsoft.OSTCExtensions \ | |
--version 1.4 \ | |
--protected-settings "{\"username\":\"deploy_user\", \"ssh_key\":\"$(cat ~/.ssh/id_rsa.pub)\"}" | |
# Upgrade ALL instances in the scale set with the new key | |
az vmss update-instances --instance-ids '*' | |
-n <vmss-name> |
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: v1 | |
kind: Template | |
metadata: | |
creationTimestamp: null | |
name: project-request | |
objects: | |
- apiVersion: project.openshift.io/v1 | |
kind: Project | |
metadata: | |
annotations: |
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
masterConfig, err := Asset("master-config/master-config.yaml") | |
if err != nil { | |
panic(err) | |
} | |
log.Debug(string(masterConfig)) | |
var o unstructured.Unstructured | |
err = yaml.Unmarshal(masterConfig, &o) | |
if err != nil { | |
panic(err) |
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
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/264/pull-ci-openshift-azure/423/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/268/pull-ci-openshift-azure/439/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/268/pull-ci-openshift-azure/443/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/276/pull-ci-openshift-azure/442/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/283/pull-ci-openshift-azure/506/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/291/pull-ci-openshift-azure/487/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/323/pull-ci-openshift-azure/647/build-log.txt | |
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/323/pull-ci-openshift- |
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 -e | |
for i in `seq 1 50`; do | |
echo "Create pod $i" | |
echo "" | |
oc new-project storage-stress | |
cat <<EOF | oc create -f - | |
apiVersion: apps/v1 |
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
[mjudeiki@redhat origin]$ oc get is -n ci-op-l1fxyi0f | |
NAME DOCKER REPO TAGS UPDATED | |
pipeline registry.svc.ci.openshift.org/ci-op-l1fxyi0f/pipeline prometheus-sidecar,purge,bin + 3 more... 12 minutes ago | |
stable registry.svc.ci.openshift.org/ci-op-l1fxyi0f/stable prometheus-sidecar,purge,logging-fluentd + 36 more... 12 minutes ago |