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
{ | |
"executionRequest": { | |
"lifetimeDurationMins": 10, | |
"analysisIntervalMins": 1, | |
"scopes": [ | |
{ | |
"controlScope": "host:gke-panera-shared-ser-devops-gke-test-96cd73b4-zr3q.c.shared-services-pb.internal", | |
"controlOffset": 0, | |
"experimentScope": "host:gke-panera-shared-ser-devops-gke-test-96cd73b4-10cz.c.shared-services-pb.internal", | |
"extendedScopeParams": { |
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 unicodecsv as csv | |
import urllib | |
import sys | |
import json | |
import requests | |
users_url = "https://api.github.com/users/%s" | |
# Use the following query to export all the user logins |
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
[ | |
{ | |
"type": "RECORD", | |
"name": "details", | |
"mode": "NULLABLE", | |
"fields": [ | |
{ | |
"type": "STRING", | |
"name": "source", |
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
[ | |
{ | |
type: "RECORD", | |
name: "details", | |
mode: "NULLABLE", | |
fields: [ | |
{ | |
type: "STRING", | |
name: "source", | |
mode: "NULLABLE" |
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
[ | |
{ | |
type: "RECORD", | |
name: "details", | |
mode: "NULLABLE", | |
fields: [ | |
{ | |
type: "STRING", | |
name: "source", | |
mode: "NULLABLE" |
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: armory-halyard | |
namespace: {some-namespace} | |
labels: | |
app: armory-halyard | |
spec: | |
replicas: 1 | |
selector: |
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
# serviceaccount.yml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: spinnaker-service-account | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 |
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 | |
set -e | |
set -o pipefail | |
# Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
echo "usage: $0 <service_account_name> <namespace>" | |
exit 1 | |
fi |
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
ailed to load resource: net::ERR_CONNECTION_REFUSED | |
vendors~app.js:186825 Warning: a promise was rejected with a non-error: [object Object] | |
at ConfigFileService.cacheFileVersions (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/app.js:6625:16) | |
at new ConfigFileService (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/app.js:6516:14) | |
at new RealSettings (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/app.js:2737:35) | |
at constructClassInstance (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/vendors~app.js:409510:354) | |
at beginWork (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/vendors~app.js:409534:440) | |
at d (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazonaws.com/vendors~app.js:409562:93) | |
at f (http://internal-a676f0bd5759211e8a13202862bb50b0-8776447.us-west-2.elb.amazona |
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
server: | |
port: 8084 | |
services: | |
barometer: | |
baseUrl: http://localhost:9092 | |
deck: | |
baseUrl: http://localhost:9000 | |
lighthouse: | |
baseUrl: http://localhost:5000 |
NewerOlder