graph TB
322[openshift/cluster-dns-operator#322] -- fixes --> 2095941[BZ#2095941]
322 -- causes --> 5943[OCPBUGS-5943]
113544[kubernetes/kubernetes#113544] -- causes --> 5943
358[openshift/cluster-dns-operator#358] -- fixes --> 5943
364[openshift/cluster-dns-operator#364] -- fixes --> 5943
358 -- causes --> 13209[OCPBUGS-13209]
15531[OCPBUGS-15531] -- causes --> 13209
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
;;; go-template-mode.el --- Major mode for Go template language | |
;;; Commentary: | |
;; 1) Copy this file somewhere in your Emacs `load-path'. To see what | |
;; your `load-path' is, run inside emacs: C-h v load-path<RET> | |
;; | |
;; 2) Add the following to your .emacs file: | |
;; | |
;; (require 'go-template-mode) |
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 -uo pipefail | |
expect_pass() { | |
rc=$? | |
if [[ $rc != 0 ]] | |
then | |
tput setaf 1 | |
echo "expected success: $*, got exit code $rc" |
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/perl | |
# This script expects an haproxy.config file on standard input and writes out a | |
# "sanitized" haproxy.config file to standard output where potentially sensitive | |
# information has been replaced with sanitized values. At the end of the | |
# output, the script lists the substitutions that it performed. | |
# | |
# Specifically, this script sanitizes the following things: | |
# | |
# • backend names, |
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
% # /msg @cluster-bot launch openshift/openshift-apiserver#254,openshift/cluster-ingress-operator#674,openshift/router#357 | |
% oc get dnses.config/cluster -o 'jsonpath={.spec.baseDomain}{"\n"}' | |
ci-ln-c9vsmcb-72292.origin-ci-int-gce.dev.rhcloud.com | |
% cat ~/tmp/ingresscontroller-custom.yaml | |
apiVersion: operator.openshift.io/v1 | |
kind: IngressController | |
metadata: | |
name: custom | |
namespace: openshift-ingress-operator | |
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
% cat ~/tmp/ingresscontroller-sharding-example/cluster-ingress-config.yaml | |
apiVersion: config.openshift.io/v1 | |
kind: Ingress | |
metadata: | |
name: cluster | |
spec: | |
domain: apps.ci-ln-c5gx03b-f76d1.origin-ci-int-gce.dev.openshift.com | |
appsDomain: custom.ci-ln-c5gx03b-f76d1.origin-ci-int-gce.dev.openshift.com | |
% cat ~/tmp/ingresscontroller-sharding-example/default-ingresscontroller.yaml | |
apiVersion: operator.openshift.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/awk | |
# This AWK script indents actions in Go templates. The script only modifies | |
# indentation for lines that begin with any amount of indentation followed by | |
# "{{". The script also normalizes blanks within the action, so that "{{if | |
# foo}}" or "{{ if foo }}" becomes "{{ if foo }}". Minus signs (as in "{{- | |
# if foo}}") are skipped over and preserved. Comment-only actions are formatted | |
# as "{{/* comment */}}" or "{{- /* command */ -}}". | |
# | |
# Shortcomings: |
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
% oc adm new-project hello-openshift | |
Created project hello-openshift | |
% oc -n hello-openshift create -f ~/src/github.com/openshift/origin/examples/hello-openshift/hello-pod.json | |
pod/hello-openshift created | |
% oc -n hello-openshift expose pod/hello-openshift | |
service/hello-openshift exposed | |
% INGRESS_DOMAIN="$(oc get ingress.config/cluster -o 'jsonpath={.spec.domain}')" | |
% oc -n hello-openshift create -f - <<EOF | |
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress |
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
# This is an example for configuring a Kubernetes deployment to provide SSH | |
# access to an OpenShift cluster. The deployment runs OpenSSH and stunnel. | |
# SSH clients connect through an OpenShift passthrough route using stunnel. | |
# | |
# Example usage: | |
# | |
# Create a host key-pair for sshd: | |
# | |
# /bin/ssh-keygen -q -t rsa -f ssh_host_rsa_key -C '' -N '' | |
# |
NewerOlder