Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Peeler jpeeler

View GitHub Profile
View apply-containerized-controller-patches.sh
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
View apply-containerized-controller-patches.sh
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
View apply-containerized-controller-patches.sh
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
View apply-containerized-controller-patches.sh
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1
fi
TMPDIR=$(mktemp -d /tmp/tripleo-docker-patches.XXXXXXXXXX) || exit 1
INSTACK_UNDERCLOUD_PATCHES=(
View main.go
package main
import (
"fmt"
"gopkg.in/yaml.v2"
"github.com/davecgh/go-spew/spew"
)
func main() {
View system.go
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
View origin.log
This file has been truncated, but you can view the full file.
I1209 18:15:33.877080 20134 start_master.go:207] Generating master configuration
I1209 18:15:33.879274 20134 create_mastercerts.go:165] Creating all certs with: admin.CreateMasterCertsOptions{CertDir:"openshift.local.config/master", SignerName:"openshift-signer@1481307333", APIServerCAFiles:[]string(nil), CABundleFile:"openshift.local.config/master/ca-bundle.crt", Hostnames:[]string{"127.0.0.1", "172.17.0.1", "172.30.0.1", "192.168.121.18", "kubernetes", "kubernetes.default", "kubernetes.default.svc", "kubernetes.default.svc.cluster.local", "localhost", "openshift", "openshift.default", "openshift.default.svc", "openshift.default.svc.cluster.local"}, APIServerURL:"https://192.168.121.18:8443", PublicAPIServerURL:"https://192.168.121.18:8443", Overwrite:false, Output:(*util.gLogWriter)(0xc82049868c)}
View kubectl-describe.log
Name: deployment-example-1-deploy
Namespace: test
Security Policy: restricted
Node: localhost/192.168.121.18
Start Time: Fri, 09 Dec 2016 18:17:46 +0000
Labels: openshift.io/deployer-pod-for.name=deployment-example-1
Status: Failed
IP:
Controllers: <none>
Containers:
View serialization_test.go
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
View gist:64a6b95dc77d6d1cef3fb6fcbd67d5cc
=== RUN TestSpecificKind
servicecatalog.BrokerList
v1.ExportOptions
servicecatalog.Binding
servicecatalog.InstanceList
api.DeleteOptions
v1.GetOptions
servicecatalog.ServiceClass
versioned.InternalEvent
api.ListOptions