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
➜ kubernetes git:(api_tweak) ✗ git diff | |
diff --git a/cmd/kube-apiserver/app/server.go b/cmd/kube-apiserver/app/server.go | |
index 2660130f1d0..c9d4eb3d46c 100644 | |
--- a/cmd/kube-apiserver/app/server.go | |
+++ b/cmd/kube-apiserver/app/server.go | |
@@ -147,6 +147,7 @@ cluster's shared state through which all other components interact.`, | |
func Run(completeOptions completedServerRunOptions, stopCh <-chan struct{}) error { | |
// To help debugging, immediately log version | |
klog.Infof("Version: %+v", version.Get()) | |
+ klog.Infof("Friday Mode Activated: %+v", version.Get()) |
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/python | |
from __future__ import absolute_import, division, print_function | |
import sys | |
__metaclass__ = type | |
import copy | |
import shlex | |
from ansible.module_utils.k8s.common import KubernetesAnsibleModule | |
from ansible.module_utils.k8s.common import AUTH_ARG_SPEC |
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/python | |
from __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type | |
from ansible.module_utils.basic import * | |
from ansible.module_utils.facts.utils import get_file_content, get_file_lines | |
import openshift |
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
https://github.com/openshift/origin/blob/master/HACKING.md#performance-debugging |
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: DaemonSet | |
metadata: | |
name: logger | |
labels: | |
app: logger | |
spec: | |
selector: | |
matchLabels: | |
name: logger |
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 | |
EXEC="$1" | |
TYPE=$2 | |
MKTEMP=$(dirname $(realpath $0)) | |
function containers { | |
case $1 in | |
--check) |
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
## Create Red Hat Container Catalog | |
### Helper Function | |
``` | |
sync_container_repos () { | |
REPOS_LIST=$1 | |
CONTAINER_REPOS="$(mktemp)" |
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
Projects: | |
- id : 1 | |
app-id : container-examples | |
job-id : starter-arbitrary-uid | |
git-url : https://github.com/RHsyseng/container-rhel-examples | |
git-path : starter-arbitrary-uid | |
git-branch : master | |
target-file : Dockerfile.centos7 | |
notify-email: rlourenc@redhat.com |
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
provider: local | |
LoggingSoak: | |
Scale: 2 | |
ClusterLoader: | |
delete: true | |
projects: | |
- num: 1 | |
basename: clusterproject | |
tuning: default | |
pods: |
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 bash | |
# | |
# Ignore warnings/errors about already existing API types or resources (roles/templates etc...) | |
T=20 | |
MASTER_URL=${1:-'https://:10.1.236.13.xip.io:8443'} | |
KIBANA_HOST=${2:-'10.1.236.17.xip.io'} | |
CLUSTER_SIZE=${3:-'1'} | |
echo "MASTER_URL: $MASTER_URL" |